glslang: Correct global precision qualifiers to make the qualifier global instead of temp (local).

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30975 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2015-04-29 11:00:28 +00:00
parent 8b37b04ecc
commit 09388459a8
11 changed files with 92 additions and 90 deletions

View file

@ -11,7 +11,7 @@ ERROR: 7 compilation errors. No code generated.
Shader version: 100
ERROR: node is still EOpNull!
0:5 Function Definition: foo(vf3; (temp lowp 2-component vector of float)
0:5 Function Definition: foo(vf3; (global lowp 2-component vector of float)
0:5 Function Parameters:
0:5 'mv3' (in mediump 3-component vector of float)
0:? Sequence
@ -122,7 +122,7 @@ ERROR: node is still EOpNull!
0:? 'samplerHigh' (uniform highp sampler2D)
0:? 'uint' (global mediump 4-component vector of float)
0:? 'global_high' (global highp int)
0:? 'b2' (temp mediump 2-component vector of bool)
0:? 'b2' (global mediump 2-component vector of bool)
Linked fragment stage:
@ -130,7 +130,7 @@ Linked fragment stage:
Shader version: 100
ERROR: node is still EOpNull!
0:5 Function Definition: foo(vf3; (temp lowp 2-component vector of float)
0:5 Function Definition: foo(vf3; (global lowp 2-component vector of float)
0:5 Function Parameters:
0:5 'mv3' (in mediump 3-component vector of float)
0:? Sequence
@ -241,5 +241,5 @@ ERROR: node is still EOpNull!
0:? 'samplerHigh' (uniform highp sampler2D)
0:? 'uint' (global mediump 4-component vector of float)
0:? 'global_high' (global highp int)
0:? 'b2' (temp mediump 2-component vector of bool)
0:? 'b2' (global mediump 2-component vector of bool)