]> git.tdb.fi Git - libs/gl.git/blobdiff - shaderlib/shadow.glsl
Use specialization constants in the builtin material shaders
[libs/gl.git] / shaderlib / shadow.glsl
index 0a20b3a513998272fc13d14f386f621f32864e8d..d751b460778af84155e127b828d21c6f4f614d33 100644 (file)
@@ -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)