Caching graph datatype for faster nodeindex lookup. Basic include containing 2-node graph test

This commit is contained in:
Noah Santschi-Cooney 2020-05-12 00:12:12 +01:00
parent 85f1c8d85c
commit 375f7f45a7
No known key found for this signature in database
GPG key ID: 3B22282472C8AE48
11 changed files with 165 additions and 26 deletions

3
server/testdata/01/common.glsl vendored Normal file
View file

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

7
server/testdata/01/final.fsh vendored Normal file
View 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
View 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);
}