Parser: Type promotion for operator modulus(%) is missing.

This commit is contained in:
Rex Xu
2016-03-18 16:26:23 +08:00
parent b1dece2737
commit 644c21025d
3 changed files with 20 additions and 4 deletions

View File

@@ -2,6 +2,8 @@
in vec2 c2D;
flat in int i;
flat in uint u;
out uint uo;
out vec4 outp;
out ivec4 ioutp;
out uvec4 uoutp;
@@ -254,6 +256,7 @@ void main()
ioutp += textureGatherOffset(isamp2DA, vec3(0.1), ivec2(i));
outp += gl_FragCoord + vl2;
uo = u % i;
foo23();
doubles();
}