mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-07-24 03:36:22 +00:00
Caching graph datatype for faster nodeindex lookup. Basic include containing 2-node graph test
This commit is contained in:
parent
85f1c8d85c
commit
375f7f45a7
11 changed files with 165 additions and 26 deletions
3
server/testdata/01/common.glsl
vendored
Normal file
3
server/testdata/01/common.glsl
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
float test() {
|
||||
return 0.5;
|
||||
}
|
7
server/testdata/01/final.fsh
vendored
Normal file
7
server/testdata/01/final.fsh
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
#version 120
|
||||
|
||||
#include "/common.glsl"
|
||||
|
||||
void main() {
|
||||
gl_FragColor[0] = vec4(0.0);
|
||||
}
|
11
server/testdata/01/final.fsh.merge
vendored
Normal file
11
server/testdata/01/final.fsh.merge
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
#version 120
|
||||
|
||||
#line 1 1
|
||||
float test() {
|
||||
return 0.5;
|
||||
}
|
||||
#line 4 0
|
||||
|
||||
void main() {
|
||||
gl_FragColor = vec4(0.0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue