X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=shaderlib%2Fshadow.glsl;h=d751b460778af84155e127b828d21c6f4f614d33;hb=842c817bb679a5a0abc05e8149e2e6e0ae1a0412;hp=0a20b3a513998272fc13d14f386f621f32864e8d;hpb=0912a8d73043961ab7a4d66cd2fbb13187483ffd;p=libs%2Fgl.git diff --git a/shaderlib/shadow.glsl b/shaderlib/shadow.glsl index 0a20b3a5..d751b460 100644 --- a/shaderlib/shadow.glsl +++ b/shaderlib/shadow.glsl @@ -1,6 +1,6 @@ import msp_interface; -const bool use_shadow_map = false; +layout(constant_id=auto) const bool use_shadow_map = false; #pragma MSP stage(vertex) void shadow_transform(vec4 eye_vertex)