Parser: Extension requirement of gl_PrimitiveID and gl_Layer should be checked only for ESSL instead of GLSL.

This commit is contained in:
Rex Xu
2015-12-07 19:07:17 +08:00
parent e00e72ded1
commit e553ace049
5 changed files with 35 additions and 2 deletions

View File

@@ -43,3 +43,8 @@ void barWxyz()
ivec4 t42 = texelFetch(ismsa, ivec3(2), samp);
uvec4 t43 = texelFetch(usmsa, p3, samp);
}
int primitiveID()
{
return gl_PrimitiveID;
}