Add partial support for GL_ARB_shader_texture_lod.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26945 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2014-06-03 19:28:48 +00:00
parent 9dedb13447
commit 3591930f23
5 changed files with 180 additions and 16 deletions

View File

@@ -42,10 +42,16 @@ ERROR: 0:165: 'constructor' : matrix constructed from matrix can only have one a
ERROR: 0:166: 'constructor' : matrix constructed from matrix can only have one argument
ERROR: 0:172: 'constructor' : array constructor needs one argument per array element
ERROR: 0:172: '=' : cannot convert from 'const float' to '2-element array of 3X3 matrix of float'
ERROR: 43 compilation errors. No code generated.
ERROR: 0:184: 'texture2DLod' : required extension not requested: GL_ARB_shader_texture_lod
ERROR: 0:185: 'texture3DProjLod' : required extension not requested: GL_ARB_shader_texture_lod
ERROR: 0:186: 'texture1DProjLod' : required extension not requested: GL_ARB_shader_texture_lod
ERROR: 0:187: 'shadow2DProjLod' : required extension not requested: GL_ARB_shader_texture_lod
WARNING: 0:190: '#extension' : extension is only partially supported: GL_ARB_shader_texture_lod
ERROR: 47 compilation errors. No code generated.
Shader version: 120
Requested GL_ARB_shader_texture_lod
ERROR: node is still EOpNull!
0:21 Function Definition: main( (void)
0:21 Function Parameters:
@@ -437,6 +443,60 @@ ERROR: node is still EOpNull!
0:171 Construct mat3 (2-element array of 3X3 matrix of float)
0:171 'm3s' (3X3 matrix of float)
0:171 'm3s' (3X3 matrix of float)
0:179 Function Definition: foo2323( (void)
0:179 Function Parameters:
0:? Sequence
0:184 move second child to first child (4-component vector of float)
0:184 'v' (4-component vector of float)
0:184 Function Call: texture2DLod(s21;vf2;f1; (4-component vector of float)
0:184 's2D' (uniform sampler2D)
0:184 'v2' (2-component vector of float)
0:184 'f' (float)
0:185 move second child to first child (4-component vector of float)
0:185 'v' (4-component vector of float)
0:185 Function Call: texture3DProjLod(s31;vf4;f1; (4-component vector of float)
0:185 's3D' (uniform sampler3D)
0:185 'v' (4-component vector of float)
0:185 'f' (float)
0:186 move second child to first child (4-component vector of float)
0:186 'v' (4-component vector of float)
0:186 Function Call: texture1DProjLod(s11;vf4;f1; (4-component vector of float)
0:186 's1D' (uniform sampler1D)
0:186 'v' (4-component vector of float)
0:186 'f' (float)
0:187 move second child to first child (4-component vector of float)
0:187 'v' (4-component vector of float)
0:187 Function Call: shadow2DProjLod(sS21;vf4;f1; (4-component vector of float)
0:187 's2DS' (uniform sampler2DShadow)
0:187 'v' (4-component vector of float)
0:187 'f' (float)
0:192 Function Definition: foo2324( (void)
0:192 Function Parameters:
0:? Sequence
0:197 move second child to first child (4-component vector of float)
0:197 'v' (4-component vector of float)
0:197 Function Call: texture2DLod(s21;vf2;f1; (4-component vector of float)
0:197 's2D' (uniform sampler2D)
0:197 'v2' (2-component vector of float)
0:197 'f' (float)
0:198 move second child to first child (4-component vector of float)
0:198 'v' (4-component vector of float)
0:198 Function Call: texture3DProjLod(s31;vf4;f1; (4-component vector of float)
0:198 's3D' (uniform sampler3D)
0:198 'v' (4-component vector of float)
0:198 'f' (float)
0:199 move second child to first child (4-component vector of float)
0:199 'v' (4-component vector of float)
0:199 Function Call: texture1DProjLod(s11;vf4;f1; (4-component vector of float)
0:199 's1D' (uniform sampler1D)
0:199 'v' (4-component vector of float)
0:199 'f' (float)
0:200 move second child to first child (4-component vector of float)
0:200 'v' (4-component vector of float)
0:200 Function Call: shadow2DProjLod(sS21;vf4;f1; (4-component vector of float)
0:200 's2DS' (uniform sampler2DShadow)
0:200 'v' (4-component vector of float)
0:200 'f' (float)
0:? Linker Objects
0:? 'lowp' (float)
0:? 'mediump' (float)
@@ -460,6 +520,9 @@ ERROR: node is still EOpNull!
0:? 'm42' (4X2 matrix of float)
0:? 'm43' (4X3 matrix of float)
0:? 'm44' (4X4 matrix of float)
0:? 's3D' (uniform sampler3D)
0:? 's1D' (uniform sampler1D)
0:? 's2DS' (uniform sampler2DShadow)
Linked fragment stage:
@@ -468,6 +531,7 @@ ERROR: Linking fragment stage: Recursion detected:
foo(f1; calling foo(f1;
Shader version: 120
Requested GL_ARB_shader_texture_lod
ERROR: node is still EOpNull!
0:21 Function Definition: main( (void)
0:21 Function Parameters:
@@ -859,6 +923,60 @@ ERROR: node is still EOpNull!
0:171 Construct mat3 (2-element array of 3X3 matrix of float)
0:171 'm3s' (3X3 matrix of float)
0:171 'm3s' (3X3 matrix of float)
0:179 Function Definition: foo2323( (void)
0:179 Function Parameters:
0:? Sequence
0:184 move second child to first child (4-component vector of float)
0:184 'v' (4-component vector of float)
0:184 Function Call: texture2DLod(s21;vf2;f1; (4-component vector of float)
0:184 's2D' (uniform sampler2D)
0:184 'v2' (2-component vector of float)
0:184 'f' (float)
0:185 move second child to first child (4-component vector of float)
0:185 'v' (4-component vector of float)
0:185 Function Call: texture3DProjLod(s31;vf4;f1; (4-component vector of float)
0:185 's3D' (uniform sampler3D)
0:185 'v' (4-component vector of float)
0:185 'f' (float)
0:186 move second child to first child (4-component vector of float)
0:186 'v' (4-component vector of float)
0:186 Function Call: texture1DProjLod(s11;vf4;f1; (4-component vector of float)
0:186 's1D' (uniform sampler1D)
0:186 'v' (4-component vector of float)
0:186 'f' (float)
0:187 move second child to first child (4-component vector of float)
0:187 'v' (4-component vector of float)
0:187 Function Call: shadow2DProjLod(sS21;vf4;f1; (4-component vector of float)
0:187 's2DS' (uniform sampler2DShadow)
0:187 'v' (4-component vector of float)
0:187 'f' (float)
0:192 Function Definition: foo2324( (void)
0:192 Function Parameters:
0:? Sequence
0:197 move second child to first child (4-component vector of float)
0:197 'v' (4-component vector of float)
0:197 Function Call: texture2DLod(s21;vf2;f1; (4-component vector of float)
0:197 's2D' (uniform sampler2D)
0:197 'v2' (2-component vector of float)
0:197 'f' (float)
0:198 move second child to first child (4-component vector of float)
0:198 'v' (4-component vector of float)
0:198 Function Call: texture3DProjLod(s31;vf4;f1; (4-component vector of float)
0:198 's3D' (uniform sampler3D)
0:198 'v' (4-component vector of float)
0:198 'f' (float)
0:199 move second child to first child (4-component vector of float)
0:199 'v' (4-component vector of float)
0:199 Function Call: texture1DProjLod(s11;vf4;f1; (4-component vector of float)
0:199 's1D' (uniform sampler1D)
0:199 'v' (4-component vector of float)
0:199 'f' (float)
0:200 move second child to first child (4-component vector of float)
0:200 'v' (4-component vector of float)
0:200 Function Call: shadow2DProjLod(sS21;vf4;f1; (4-component vector of float)
0:200 's2DS' (uniform sampler2DShadow)
0:200 'v' (4-component vector of float)
0:200 'f' (float)
0:? Linker Objects
0:? 'lowp' (float)
0:? 'mediump' (float)
@@ -882,4 +1000,7 @@ ERROR: node is still EOpNull!
0:? 'm42' (4X2 matrix of float)
0:? 'm43' (4X3 matrix of float)
0:? 'm44' (4X4 matrix of float)
0:? 's3D' (uniform sampler3D)
0:? 's1D' (uniform sampler1D)
0:? 's2DS' (uniform sampler2DShadow)