X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=shaderlib%2Fcommon.glsl;h=5c10d06fbcac31a5fd9c06f5e37293ea406c2203;hb=842c817bb679a5a0abc05e8149e2e6e0ae1a0412;hp=4a81636037be1224d0d2856cdfd90b67d8eef3fc;hpb=0912a8d73043961ab7a4d66cd2fbb13187483ffd;p=libs%2Fgl.git diff --git a/shaderlib/common.glsl b/shaderlib/common.glsl index 4a816360..5c10d06f 100644 --- a/shaderlib/common.glsl +++ b/shaderlib/common.glsl @@ -1,7 +1,7 @@ import msp_interface; import shadow; -const bool use_normal_map = false; +layout(constant_id=auto) const bool use_normal_map = false; #pragma MSP stage(vertex) vec4 get_vertex_position()