Establish desktop completeness through version 1.50. (gl_MaxVaryingFloats, implicit-cconversion safety, cube-sampler-array fix, add tests)
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26253 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -15,4 +15,31 @@ layout(origin_upper_left, pixel_center_integer) in vec4 gl_FragCoord; // ERROR,
|
||||
|
||||
in struct S { float f; } s;
|
||||
|
||||
float patch = 3.1;
|
||||
float patch = 3.1;
|
||||
|
||||
uniform sampler2DMS sms;
|
||||
uniform isampler2DMS isms;
|
||||
uniform usampler2DMS usms;
|
||||
uniform sampler2DMSArray smsa;
|
||||
uniform isampler2DMSArray ismsa;
|
||||
uniform usampler2DMSArray usmsa;
|
||||
|
||||
flat in ivec2 p2;
|
||||
flat in ivec3 p3;
|
||||
flat in int samp;
|
||||
|
||||
void barWxyz()
|
||||
{
|
||||
ivec2 t11 = textureSize( sms);
|
||||
ivec2 t12 = textureSize(isms);
|
||||
ivec2 t13 = textureSize(usms);
|
||||
ivec3 t21 = textureSize( smsa);
|
||||
ivec3 t22 = textureSize(ismsa);
|
||||
ivec3 t23 = textureSize(usmsa);
|
||||
vec4 t31 = texelFetch( sms, p2, samp);
|
||||
ivec4 t32 = texelFetch(isms, p2, samp);
|
||||
uvec4 t33 = texelFetch(usms, p2, 3);
|
||||
vec4 t41 = texelFetch( smsa, p3, samp);
|
||||
ivec4 t42 = texelFetch(ismsa, ivec3(2), samp);
|
||||
uvec4 t43 = texelFetch(usmsa, p3, samp);
|
||||
}
|
||||
|
||||
@@ -247,8 +247,8 @@ ERROR: node is still EOpNull!
|
||||
0:111 Sequence
|
||||
0:111 move second child to first child (4-component vector of int)
|
||||
0:111 'c' (4-component vector of int)
|
||||
0:111 Function Call: texture(isA31;vf4;f1; (4-component vector of int)
|
||||
0:111 'Isca' (uniform isampler3DArray)
|
||||
0:111 Function Call: texture(isAC1;vf4;f1; (4-component vector of int)
|
||||
0:111 'Isca' (uniform isamplerCubeArray)
|
||||
0:111 'i' (smooth in 4-component vector of float)
|
||||
0:111 Constant:
|
||||
0:111 0.700000
|
||||
@@ -285,8 +285,8 @@ ERROR: node is still EOpNull!
|
||||
0:116 1 (const int)
|
||||
0:117 move second child to first child (4-component vector of int)
|
||||
0:117 'c' (4-component vector of int)
|
||||
0:117 Function Call: textureGrad(isA31;vf4;vf3;vf3; (4-component vector of int)
|
||||
0:117 'Isca' (uniform isampler3DArray)
|
||||
0:117 Function Call: textureGrad(isAC1;vf4;vf3;vf3; (4-component vector of int)
|
||||
0:117 'Isca' (uniform isamplerCubeArray)
|
||||
0:117 'i' (smooth in 4-component vector of float)
|
||||
0:117 Constant:
|
||||
0:117 0.100000
|
||||
@@ -342,7 +342,7 @@ ERROR: node is still EOpNull!
|
||||
0:? 'samp2DR' (uniform sampler2DRect)
|
||||
0:? 'samp2DA' (uniform sampler2DArray)
|
||||
0:? 'Sca' (uniform samplerCubeArray)
|
||||
0:? 'Isca' (uniform isampler3DArray)
|
||||
0:? 'Isca' (uniform isamplerCubeArray)
|
||||
0:? 'Usca' (uniform usamplerCubeArray)
|
||||
0:? 'Scas' (uniform samplerCubeArrayShadow)
|
||||
0:? 'ai' (const 3-element array of int)
|
||||
@@ -580,8 +580,8 @@ ERROR: node is still EOpNull!
|
||||
0:111 Sequence
|
||||
0:111 move second child to first child (4-component vector of int)
|
||||
0:111 'c' (4-component vector of int)
|
||||
0:111 Function Call: texture(isA31;vf4;f1; (4-component vector of int)
|
||||
0:111 'Isca' (uniform isampler3DArray)
|
||||
0:111 Function Call: texture(isAC1;vf4;f1; (4-component vector of int)
|
||||
0:111 'Isca' (uniform isamplerCubeArray)
|
||||
0:111 'i' (smooth in 4-component vector of float)
|
||||
0:111 Constant:
|
||||
0:111 0.700000
|
||||
@@ -618,8 +618,8 @@ ERROR: node is still EOpNull!
|
||||
0:116 1 (const int)
|
||||
0:117 move second child to first child (4-component vector of int)
|
||||
0:117 'c' (4-component vector of int)
|
||||
0:117 Function Call: textureGrad(isA31;vf4;vf3;vf3; (4-component vector of int)
|
||||
0:117 'Isca' (uniform isampler3DArray)
|
||||
0:117 Function Call: textureGrad(isAC1;vf4;vf3;vf3; (4-component vector of int)
|
||||
0:117 'Isca' (uniform isamplerCubeArray)
|
||||
0:117 'i' (smooth in 4-component vector of float)
|
||||
0:117 Constant:
|
||||
0:117 0.100000
|
||||
@@ -675,7 +675,7 @@ ERROR: node is still EOpNull!
|
||||
0:? 'samp2DR' (uniform sampler2DRect)
|
||||
0:? 'samp2DA' (uniform sampler2DArray)
|
||||
0:? 'Sca' (uniform samplerCubeArray)
|
||||
0:? 'Isca' (uniform isampler3DArray)
|
||||
0:? 'Isca' (uniform isamplerCubeArray)
|
||||
0:? 'Usca' (uniform usamplerCubeArray)
|
||||
0:? 'Scas' (uniform samplerCubeArrayShadow)
|
||||
0:? 'ai' (const 3-element array of int)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
150.frag
|
||||
Warning, version 150 is not yet complete; most version-specific features are present, but some are missing.
|
||||
ERROR: 0:4: 'redeclaration' : cannot redeclare with different qualification: gl_FragCoord
|
||||
ERROR: 0:5: 'redeclaration' : cannot redeclare with different qualification: gl_FragCoord
|
||||
ERROR: 0:6: 'layout qualifier' : can only apply origin_upper_left and pixel_center_origin to gl_FragCoord
|
||||
@@ -23,12 +22,100 @@ ERROR: node is still EOpNull!
|
||||
0:18 'patch' (float)
|
||||
0:18 Constant:
|
||||
0:18 3.100000
|
||||
0:31 Function Definition: barWxyz( (void)
|
||||
0:31 Function Parameters:
|
||||
0:33 Sequence
|
||||
0:33 Sequence
|
||||
0:33 move second child to first child (2-component vector of int)
|
||||
0:33 't11' (2-component vector of int)
|
||||
0:33 Function Call: textureSize(s21; (2-component vector of int)
|
||||
0:33 'sms' (uniform sampler2DMS)
|
||||
0:34 Sequence
|
||||
0:34 move second child to first child (2-component vector of int)
|
||||
0:34 't12' (2-component vector of int)
|
||||
0:34 Function Call: textureSize(is21; (2-component vector of int)
|
||||
0:34 'isms' (uniform isampler2DMS)
|
||||
0:35 Sequence
|
||||
0:35 move second child to first child (2-component vector of int)
|
||||
0:35 't13' (2-component vector of int)
|
||||
0:35 Function Call: textureSize(us21; (2-component vector of int)
|
||||
0:35 'usms' (uniform usampler2DMS)
|
||||
0:36 Sequence
|
||||
0:36 move second child to first child (3-component vector of int)
|
||||
0:36 't21' (3-component vector of int)
|
||||
0:36 Function Call: textureSize(sA21; (3-component vector of int)
|
||||
0:36 'smsa' (uniform sampler2DMSArray)
|
||||
0:37 Sequence
|
||||
0:37 move second child to first child (3-component vector of int)
|
||||
0:37 't22' (3-component vector of int)
|
||||
0:37 Function Call: textureSize(isA21; (3-component vector of int)
|
||||
0:37 'ismsa' (uniform isampler2DMSArray)
|
||||
0:38 Sequence
|
||||
0:38 move second child to first child (3-component vector of int)
|
||||
0:38 't23' (3-component vector of int)
|
||||
0:38 Function Call: textureSize(usA21; (3-component vector of int)
|
||||
0:38 'usmsa' (uniform usampler2DMSArray)
|
||||
0:39 Sequence
|
||||
0:39 move second child to first child (4-component vector of float)
|
||||
0:39 't31' (4-component vector of float)
|
||||
0:39 Function Call: texelFetch(s21;vi2;i1; (4-component vector of float)
|
||||
0:39 'sms' (uniform sampler2DMS)
|
||||
0:39 'p2' (flat in 2-component vector of int)
|
||||
0:39 'samp' (flat in int)
|
||||
0:40 Sequence
|
||||
0:40 move second child to first child (4-component vector of int)
|
||||
0:40 't32' (4-component vector of int)
|
||||
0:40 Function Call: texelFetch(is21;vi2;i1; (4-component vector of int)
|
||||
0:40 'isms' (uniform isampler2DMS)
|
||||
0:40 'p2' (flat in 2-component vector of int)
|
||||
0:40 'samp' (flat in int)
|
||||
0:41 Sequence
|
||||
0:41 move second child to first child (4-component vector of uint)
|
||||
0:41 't33' (4-component vector of uint)
|
||||
0:41 Function Call: texelFetch(us21;vi2;i1; (4-component vector of uint)
|
||||
0:41 'usms' (uniform usampler2DMS)
|
||||
0:41 'p2' (flat in 2-component vector of int)
|
||||
0:41 Constant:
|
||||
0:41 3 (const int)
|
||||
0:42 Sequence
|
||||
0:42 move second child to first child (4-component vector of float)
|
||||
0:42 't41' (4-component vector of float)
|
||||
0:42 Function Call: texelFetch(sA21;vi3;i1; (4-component vector of float)
|
||||
0:42 'smsa' (uniform sampler2DMSArray)
|
||||
0:42 'p3' (flat in 3-component vector of int)
|
||||
0:42 'samp' (flat in int)
|
||||
0:43 Sequence
|
||||
0:43 move second child to first child (4-component vector of int)
|
||||
0:43 't42' (4-component vector of int)
|
||||
0:43 Function Call: texelFetch(isA21;vi3;i1; (4-component vector of int)
|
||||
0:43 'ismsa' (uniform isampler2DMSArray)
|
||||
0:43 Constant:
|
||||
0:43 2 (const int)
|
||||
0:43 2 (const int)
|
||||
0:43 2 (const int)
|
||||
0:43 'samp' (flat in int)
|
||||
0:44 Sequence
|
||||
0:44 move second child to first child (4-component vector of uint)
|
||||
0:44 't43' (4-component vector of uint)
|
||||
0:44 Function Call: texelFetch(usA21;vi3;i1; (4-component vector of uint)
|
||||
0:44 'usmsa' (uniform usampler2DMSArray)
|
||||
0:44 'p3' (flat in 3-component vector of int)
|
||||
0:44 'samp' (flat in int)
|
||||
0:? Linker Objects
|
||||
0:? 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
||||
0:? 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
||||
0:? 'foo' (smooth in 4-component vector of float)
|
||||
0:? 's' (smooth in structure{float f})
|
||||
0:? 'patch' (float)
|
||||
0:? 'sms' (uniform sampler2DMS)
|
||||
0:? 'isms' (uniform isampler2DMS)
|
||||
0:? 'usms' (uniform usampler2DMS)
|
||||
0:? 'smsa' (uniform sampler2DMSArray)
|
||||
0:? 'ismsa' (uniform isampler2DMSArray)
|
||||
0:? 'usmsa' (uniform usampler2DMSArray)
|
||||
0:? 'p2' (flat in 2-component vector of int)
|
||||
0:? 'p3' (flat in 3-component vector of int)
|
||||
0:? 'samp' (flat in int)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -50,10 +137,98 @@ ERROR: node is still EOpNull!
|
||||
0:18 'patch' (float)
|
||||
0:18 Constant:
|
||||
0:18 3.100000
|
||||
0:31 Function Definition: barWxyz( (void)
|
||||
0:31 Function Parameters:
|
||||
0:33 Sequence
|
||||
0:33 Sequence
|
||||
0:33 move second child to first child (2-component vector of int)
|
||||
0:33 't11' (2-component vector of int)
|
||||
0:33 Function Call: textureSize(s21; (2-component vector of int)
|
||||
0:33 'sms' (uniform sampler2DMS)
|
||||
0:34 Sequence
|
||||
0:34 move second child to first child (2-component vector of int)
|
||||
0:34 't12' (2-component vector of int)
|
||||
0:34 Function Call: textureSize(is21; (2-component vector of int)
|
||||
0:34 'isms' (uniform isampler2DMS)
|
||||
0:35 Sequence
|
||||
0:35 move second child to first child (2-component vector of int)
|
||||
0:35 't13' (2-component vector of int)
|
||||
0:35 Function Call: textureSize(us21; (2-component vector of int)
|
||||
0:35 'usms' (uniform usampler2DMS)
|
||||
0:36 Sequence
|
||||
0:36 move second child to first child (3-component vector of int)
|
||||
0:36 't21' (3-component vector of int)
|
||||
0:36 Function Call: textureSize(sA21; (3-component vector of int)
|
||||
0:36 'smsa' (uniform sampler2DMSArray)
|
||||
0:37 Sequence
|
||||
0:37 move second child to first child (3-component vector of int)
|
||||
0:37 't22' (3-component vector of int)
|
||||
0:37 Function Call: textureSize(isA21; (3-component vector of int)
|
||||
0:37 'ismsa' (uniform isampler2DMSArray)
|
||||
0:38 Sequence
|
||||
0:38 move second child to first child (3-component vector of int)
|
||||
0:38 't23' (3-component vector of int)
|
||||
0:38 Function Call: textureSize(usA21; (3-component vector of int)
|
||||
0:38 'usmsa' (uniform usampler2DMSArray)
|
||||
0:39 Sequence
|
||||
0:39 move second child to first child (4-component vector of float)
|
||||
0:39 't31' (4-component vector of float)
|
||||
0:39 Function Call: texelFetch(s21;vi2;i1; (4-component vector of float)
|
||||
0:39 'sms' (uniform sampler2DMS)
|
||||
0:39 'p2' (flat in 2-component vector of int)
|
||||
0:39 'samp' (flat in int)
|
||||
0:40 Sequence
|
||||
0:40 move second child to first child (4-component vector of int)
|
||||
0:40 't32' (4-component vector of int)
|
||||
0:40 Function Call: texelFetch(is21;vi2;i1; (4-component vector of int)
|
||||
0:40 'isms' (uniform isampler2DMS)
|
||||
0:40 'p2' (flat in 2-component vector of int)
|
||||
0:40 'samp' (flat in int)
|
||||
0:41 Sequence
|
||||
0:41 move second child to first child (4-component vector of uint)
|
||||
0:41 't33' (4-component vector of uint)
|
||||
0:41 Function Call: texelFetch(us21;vi2;i1; (4-component vector of uint)
|
||||
0:41 'usms' (uniform usampler2DMS)
|
||||
0:41 'p2' (flat in 2-component vector of int)
|
||||
0:41 Constant:
|
||||
0:41 3 (const int)
|
||||
0:42 Sequence
|
||||
0:42 move second child to first child (4-component vector of float)
|
||||
0:42 't41' (4-component vector of float)
|
||||
0:42 Function Call: texelFetch(sA21;vi3;i1; (4-component vector of float)
|
||||
0:42 'smsa' (uniform sampler2DMSArray)
|
||||
0:42 'p3' (flat in 3-component vector of int)
|
||||
0:42 'samp' (flat in int)
|
||||
0:43 Sequence
|
||||
0:43 move second child to first child (4-component vector of int)
|
||||
0:43 't42' (4-component vector of int)
|
||||
0:43 Function Call: texelFetch(isA21;vi3;i1; (4-component vector of int)
|
||||
0:43 'ismsa' (uniform isampler2DMSArray)
|
||||
0:43 Constant:
|
||||
0:43 2 (const int)
|
||||
0:43 2 (const int)
|
||||
0:43 2 (const int)
|
||||
0:43 'samp' (flat in int)
|
||||
0:44 Sequence
|
||||
0:44 move second child to first child (4-component vector of uint)
|
||||
0:44 't43' (4-component vector of uint)
|
||||
0:44 Function Call: texelFetch(usA21;vi3;i1; (4-component vector of uint)
|
||||
0:44 'usmsa' (uniform usampler2DMSArray)
|
||||
0:44 'p3' (flat in 3-component vector of int)
|
||||
0:44 'samp' (flat in int)
|
||||
0:? Linker Objects
|
||||
0:? 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
||||
0:? 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
||||
0:? 'foo' (smooth in 4-component vector of float)
|
||||
0:? 's' (smooth in structure{float f})
|
||||
0:? 'patch' (float)
|
||||
0:? 'sms' (uniform sampler2DMS)
|
||||
0:? 'isms' (uniform isampler2DMS)
|
||||
0:? 'usms' (uniform usampler2DMS)
|
||||
0:? 'smsa' (uniform sampler2DMSArray)
|
||||
0:? 'ismsa' (uniform isampler2DMSArray)
|
||||
0:? 'usmsa' (uniform usampler2DMSArray)
|
||||
0:? 'p2' (flat in 2-component vector of int)
|
||||
0:? 'p3' (flat in 3-component vector of int)
|
||||
0:? 'samp' (flat in int)
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
150.geom
|
||||
Warning, version 150 is not yet complete; most version-specific features are present, but some are missing.
|
||||
ERROR: 0:15: 'fromVertex' : block instance name redefinition
|
||||
ERROR: 0:19: 'fromVertex' : redefinition
|
||||
ERROR: 0:21: 'fooC' : block instance name redefinition
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
150.tesc
|
||||
Warning, version 150 is not yet complete; most version-specific features are present, but some are missing.
|
||||
|
||||
Shader version: 150
|
||||
Requested GL_ARB_tessellation_shader
|
||||
@@ -109,7 +108,6 @@ vertices = 4
|
||||
0:? 'patchOut' (patch out 4-component vector of float)
|
||||
|
||||
150.tese
|
||||
Warning, version 150 is not yet complete; most version-specific features are present, but some are missing.
|
||||
ERROR: 0:12: 'barrier' : no matching overloaded function found
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
150.vert
|
||||
Warning, version 150 is not yet complete; most version-specific features are present, but some are missing.
|
||||
ERROR: 0:22: 'a' : cannot redeclare a user-block member array
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@ Shader version: 110
|
||||
|
||||
noMain1.geom
|
||||
ERROR: #version: geometry shaders require non-es profile and version 150 or above
|
||||
Warning, version 150 is not yet complete; most version-specific features are present, but some are missing.
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
|
||||
@@ -31,7 +30,6 @@ ERROR: node is still EOpNull!
|
||||
0:? Linker Objects
|
||||
|
||||
noMain2.geom
|
||||
Warning, version 150 is not yet complete; most version-specific features are present, but some are missing.
|
||||
|
||||
Shader version: 150
|
||||
invocations = 0
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
../../LunarGLASS/test/matrix2.frag
|
||||
Warning, version 150 is not yet complete; most version-specific features are present, but some are missing.
|
||||
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
|
||||
WARNING: 0:13: varying deprecated in version 130; may be removed in future release
|
||||
WARNING: 0:15: varying deprecated in version 130; may be removed in future release
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
../../LunarGLASS/test/simpleFunctionCall.frag
|
||||
Warning, version 150 is not yet complete; most version-specific features are present, but some are missing.
|
||||
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
|
||||
|
||||
Shader version: 150
|
||||
|
||||
Reference in New Issue
Block a user