another error to filter out. God i love (lack of) GPU standards

This commit is contained in:
Noah Santschi-Cooney 2018-08-05 22:20:00 +01:00
parent ba43f057c8
commit 4097cd63ee
2 changed files with 7 additions and 8 deletions

View file

@ -2,7 +2,7 @@
"name": "vscode-mc-shader", "name": "vscode-mc-shader",
"displayName": "Minecraft GLSL Shaders", "displayName": "Minecraft GLSL Shaders",
"description": "A Visual Studio Code extension for linting/etc Minecraft GLSL Shaders", "description": "A Visual Studio Code extension for linting/etc Minecraft GLSL Shaders",
"version": "0.8.2", "version": "0.8.3",
"publisher": "Strum355", "publisher": "Strum355",
"author": "Noah Santschi-Cooney (Strum355)", "author": "Noah Santschi-Cooney (Strum355)",
"license": "MIT", "license": "MIT",

View file

@ -1,12 +1,12 @@
import { Diagnostic, DiagnosticSeverity, Range } from 'vscode-languageserver' import { Diagnostic, DiagnosticSeverity, Range } from 'vscode-languageserver'
import { connection, documents } from './server' import { connection } from './server'
import { execSync } from 'child_process' import { execSync } from 'child_process'
import * as path from 'path' import * as path from 'path'
import { readFileSync, existsSync, statSync, Stats } from 'fs' import { readFileSync, statSync } from 'fs'
import { conf } from './config' import { conf } from './config'
import { postError, formatURI, getDocumentContents, trimPath } from './utils' import { formatURI, getDocumentContents, trimPath } from './utils'
import { platform } from 'os' import { platform } from 'os'
import { Graph, Node } from './graph' import { Graph } from './graph'
import { Comment } from './comment' import { Comment } from './comment'
import { linterLog } from './logging' import { linterLog } from './logging'
@ -22,12 +22,11 @@ const errorFilters = [
/(No code generated)/, /(No code generated)/,
/(compilation terminated)/, /(compilation terminated)/,
/Could not process include directive for header name:/, /Could not process include directive for header name:/,
/extension not supported: GL_EXT_gpu_shader4/, /global const initializers must be constant/,
/extra tokens -- expected newline/
] ]
const codeFilters = [ const codeFilters = [
/#extension GL_EXT_gpu_shader4 : require/ /#extension GL_EXT_gpu_shader4 : require/,
] ]
export const includeGraph = new Graph() export const includeGraph = new Graph()