cpp style #line and diagnostics per-file per lint

This commit is contained in:
Noah Santschi-Cooney 2020-08-08 19:40:11 +01:00
parent c322abe9af
commit e56d182e3c
No known key found for this signature in database
GPG key ID: 3B22282472C8AE48
9 changed files with 278 additions and 138 deletions

View file

@ -1,10 +1,12 @@
#version 120
#extension GL_GOOGLE_cpp_style_line_directive : require
#line 2 "!!"
#line 1 !!
#line 1 "!!"
float test() {
return 0.5;
}
#line 4 !!
#line 4 "!!"
void main() {
gl_FragColor[0] = vec4(0.0);