mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-07-24 19:54:35 +00:00
big heckin reworkerino to use the standard #line directive as per spec
This commit is contained in:
parent
cb7c9b8b49
commit
d3365c3bff
52 changed files with 574 additions and 398 deletions
3
server/testdata/01/common.glsl
vendored
3
server/testdata/01/common.glsl
vendored
|
@ -1,3 +0,0 @@
|
|||
float test() {
|
||||
return 0.5;
|
||||
}
|
7
server/testdata/01/final.fsh
vendored
7
server/testdata/01/final.fsh
vendored
|
@ -1,7 +0,0 @@
|
|||
#version 120
|
||||
|
||||
#include "/common.glsl"
|
||||
|
||||
void main() {
|
||||
gl_FragColor[0] = vec4(0.0);
|
||||
}
|
13
server/testdata/01/final.fsh.merge
vendored
13
server/testdata/01/final.fsh.merge
vendored
|
@ -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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue