Give error when overloaded functions differ only on a parameter's precision qualifier.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24302 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2013-12-03 21:04:03 +00:00
parent 4e734dd68b
commit 143c8bf10f
9 changed files with 24 additions and 6 deletions

View File

@@ -163,4 +163,7 @@ void foo323433()
textureCubeGradEXT(sCube, vec3(f13), vec3(f13), vec3(f13));
}
int fgfg(float f, mediump int i);
int fgfg(float f, highp int i); // ERROR, precision qualifier difference
uniform samplerExternalOES badExt; // syntax ERROR