Fix crash from attempting ES precision propagation through a constant folded built-in function call when the expression tree has unknown precisions.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24267 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2013-12-02 16:38:53 +00:00
parent 98434bed00
commit 78fe3ace85
3 changed files with 34 additions and 13 deletions

View File

@@ -129,5 +129,11 @@ void foo23()
textureOffset(s2DShadow, c3D, ivec2(-9, 8), c1D);
}
void foo324(void)
{
float p = pow(3.2, 4.6);
p += sin(0.4);
}
float imageBuffer; // ERROR, reserved
float uimage2DRect; // ERROR, reserved