X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=tests%2Fglsl%2Fkeep_spec_constants_in_module.glsl;fp=tests%2Fglsl%2Fkeep_spec_constants_in_module.glsl;h=2a6b446e1ffc85be78c249db365cb2831c8c88b7;hp=7b9f98c8f690277e889f2a2e2a4dab50c483d807;hb=857e0a3f684fba4810260697a78a769dff514f1f;hpb=afffed5bf161b5972a02f055225701118ed5a4e7 diff --git a/tests/glsl/keep_spec_constants_in_module.glsl b/tests/glsl/keep_spec_constants_in_module.glsl index 7b9f98c8..2a6b446e 100644 --- a/tests/glsl/keep_spec_constants_in_module.glsl +++ b/tests/glsl/keep_spec_constants_in_module.glsl @@ -57,10 +57,10 @@ layout(location=1) in vec2 _vs_out_texcoord; layout(location=0) in vec4 _vs_out_color; void main() { - frag_color = vec4(1.0); - if(use_texture) - frag_color *= texture(tex, _vs_out_texcoord); - if(use_vertex_color) - frag_color *= _vs_out_color; + frag_color = vec4(1.0); + if(use_texture) + frag_color *= texture(tex, _vs_out_texcoord); + if(use_vertex_color) + frag_color *= _vs_out_color; } */