big heckin reworkerino to use the standard #line directive as per spec

This commit is contained in:
Noah Santschi-Cooney 2022-04-03 21:31:18 +01:00
parent cb7c9b8b49
commit d3365c3bff
No known key found for this signature in database
GPG key ID: 3B22282472C8AE48
52 changed files with 574 additions and 398 deletions

View file

@ -1,3 +0,0 @@
float test() {
return 0.5;
}

View file

@ -1,7 +0,0 @@
#version 120
#include "/common.glsl"
void main() {
gl_FragColor[0] = vec4(0.0);
}

View file

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