fix: shader load fail

This commit is contained in:
2026-04-16 13:06:49 +08:00
parent ecc1595a39
commit 42b5661a28
11 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
#version 460
in vec2 tc;
flat in int tex_layer;
out vec4 color;
layout (binding = 0) uniform sampler2DArray samp;
void main(void) {
color = texture(samp, vec3(tc, tex_layer));
//color = varyingColor;
}