From 3dd035b68b1bd67d7863046050a0dc29269736c6 Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Tue, 12 Aug 2014 22:08:45 +0000 Subject: [PATCH] Add ESSL 310 test results. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27711 e7fa87d3-cd2b-0410-9028-fcbf551c1848 --- Test/baseResults/310.comp.out | 388 ++++++++++++++++++++++++++++++++++ Test/baseResults/310.frag.out | 317 +++++++++++++++++++++++++++ Test/baseResults/310.vert.out | 38 ++++ 3 files changed, 743 insertions(+) create mode 100644 Test/baseResults/310.comp.out create mode 100644 Test/baseResults/310.frag.out create mode 100644 Test/baseResults/310.vert.out diff --git a/Test/baseResults/310.comp.out b/Test/baseResults/310.comp.out new file mode 100644 index 00000000..e45336c0 --- /dev/null +++ b/Test/baseResults/310.comp.out @@ -0,0 +1,388 @@ +310.comp +Warning, version 310 is not yet complete; most version-specific features are present, but some are missing. +ERROR: 0:4: 'local_size' : cannot change previously set size +ERROR: 0:5: 'local_size' : too large; see gl_MaxComputeWorkGroupSize +ERROR: 0:23: 'values' : only the last member of a buffer block can be run-time sized +ERROR: 0:39: 'in' : global storage input qualifier cannot be used in a compute shader +ERROR: 0:39: 'location qualifier on input' : not supported in this stage: compute +ERROR: 0:40: 'in' : global storage input qualifier cannot be used in a compute shader +ERROR: 0:41: 'out' : global storage output qualifier cannot be used in a compute shader +ERROR: 0:44: 'shared' : cannot apply layout qualifiers to a shared variable +ERROR: 0:44: 'location' : can only appy to uniform, buffer, in, or out storage qualifiers +ERROR: 0:45: 'shared' : cannot initialize this type of qualifier +ERROR: 0:47: 'local_size' : can only apply to 'in' +ERROR: 0:47: 'local_size' : can only apply to 'in' +ERROR: 0:47: 'local_size' : can only apply to 'in' +ERROR: 0:61: 'assign' : l-value required "ro" (can't modify a readonly buffer) +ERROR: 0:66: 'buffer' : buffers can be declared only as blocks +ERROR: 0:68: 'sampler/image' : type requires declaration of default precision qualifier +ERROR: 0:76: '' : image variables not declared 'writeonly' must have a format layout qualifier +ERROR: 0:87: 'imageAtomicCompSwap' : no matching overloaded function found +ERROR: 0:88: 'imageAtomicAdd' : no matching overloaded function found +ERROR: 0:89: 'imageAtomicMin' : no matching overloaded function found +ERROR: 0:90: 'imageAtomicMax' : no matching overloaded function found +ERROR: 0:94: 'writeonly' : argument cannot drop memory qualifier when passed to formal parameter +ERROR: 0:97: 'volatile' : Reserved word. +ERROR: 0:97: '' : memory qualifiers cannot be used on this type +ERROR: 0:98: '' : memory qualifiers cannot be used on this type +ERROR: 0:110: 'restrict' : argument cannot drop memory qualifier when passed to formal parameter +ERROR: 0:114: 'image load-store format' : not supported with this profile: es +ERROR: 0:114: 'rg8i' : does not apply to unsigned integer images +ERROR: 0:115: 'rgba32i' : does not apply to floating point images +ERROR: 0:116: 'rgba32f' : does not apply to unsigned integer images +ERROR: 0:117: 'image load-store format' : not supported with this profile: es +ERROR: 0:117: 'r8_snorm' : does not apply to signed integer images +ERROR: 0:118: 'rgba32ui' : does not apply to signed integer images +ERROR: 0:119: 'image load-store format' : not supported with this profile: es +ERROR: 0:119: 'r8ui' : does not apply to signed integer images +ERROR: 0:128: 'atomic_uint' : samplers and atomic_uints cannot be output parameters +ERROR: 0:130: 'return' : type does not match, or is not convertible to, the function's return type +ERROR: 0:136: 'atomic_uint' : atomic_uints can only be used in uniform variables or function parameters: non_uniform_counter +ERROR: 0:141: 'atomic_uint' : atomic counters can only be highp +ERROR: 39 compilation errors. No code generated. + + +Shader version: 310 +local_size = (2, 1, 4096) +ERROR: node is still EOpNull! +0:27 Function Definition: main( (void) +0:27 Function Parameters: +0:29 Sequence +0:29 Barrier (void) +0:30 MemoryBarrier (void) +0:31 MemoryBarrierAtomicCounter (void) +0:32 MemoryBarrierBuffer (void) +0:33 MemoryBarrierShared (void) +0:34 MemoryBarrierImage (void) +0:35 GroupMemoryBarrier (void) +0:36 move second child to first child (highp int) +0:36 value: direct index for structure (layout(column_major shared ) buffer highp int) +0:36 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values}) +0:36 Constant: +0:36 0 (const uint) +0:36 Convert float to int (highp int) +0:36 indirect index (layout(column_major shared ) highp float) +0:36 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of highp float) +0:36 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values}) +0:36 Constant: +0:36 1 (const uint) +0:36 'gl_LocalInvocationIndex' (in highp uint) +0:59 Function Definition: foo( (void) +0:59 Function Parameters: +0:61 Sequence +0:61 move second child to first child (highp float) +0:61 direct index (layout(column_major shared ) highp float) +0:61 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of highp float) +0:61 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values}) +0:61 Constant: +0:61 1 (const int) +0:61 Constant: +0:61 2 (const int) +0:61 Constant: +0:61 4.700000 +0:62 array length (highp int) +0:62 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of highp float) +0:62 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values}) +0:62 Constant: +0:62 1 (const int) +0:63 Pre-Increment (highp 4-component vector of float) +0:63 's' (shared highp 4-component vector of float) +0:84 Function Definition: qux( (void) +0:84 Function Parameters: +0:86 Sequence +0:86 Sequence +0:86 move second child to first child (highp int) +0:86 'i' (highp int) +0:86 Constant: +0:86 4 (const int) +0:87 Constant: +0:87 0.000000 +0:88 Constant: +0:88 0.000000 +0:89 Constant: +0:89 0.000000 +0:90 Constant: +0:90 0.000000 +0:91 Sequence +0:91 move second child to first child (highp 4-component vector of int) +0:91 'pos' (highp 4-component vector of int) +0:91 Function Call: imageLoad(iI21;vi2; (highp 4-component vector of int) +0:91 'iimg2D' (layout(r32i ) uniform highp iimage2D) +0:91 Construct ivec2 (2-component vector of int) +0:91 'i' (highp int) +0:91 'i' (highp int) +0:92 Function Call: imageStore(iIA21;vi3;vi4; (highp void) +0:92 'ii2da' (writeonly uniform highp iimage2DArray) +0:92 Construct ivec3 (3-component vector of int) +0:92 'i' (highp int) +0:92 'i' (highp int) +0:92 'i' (highp int) +0:92 Constant: +0:92 0 (const int) +0:92 0 (const int) +0:92 0 (const int) +0:92 0 (const int) +0:93 Function Call: imageLoad(I21;vi2; (highp 4-component vector of float) +0:93 'img2Drgba' (layout(rgba32f ) uniform lowp image2D) +0:93 Construct ivec2 (2-component vector of int) +0:93 'i' (highp int) +0:93 'i' (highp int) +0:94 Function Call: imageLoad(iIA21;vi3; (highp 4-component vector of int) +0:94 'ii2da' (writeonly uniform highp iimage2DArray) +0:94 Construct ivec3 (3-component vector of int) +0:94 'i' (highp int) +0:94 'i' (highp int) +0:94 'i' (highp int) +0:100 Function Definition: passr(iI21; (void) +0:100 Function Parameters: +0:100 'image' (coherent readonly in highp iimage2D) +0:107 Function Definition: passrc( (void) +0:107 Function Parameters: +0:109 Sequence +0:109 Function Call: passr(iI21; (void) +0:109 'qualim1' (layout(r32i ) coherent readonly uniform highp iimage2D) +0:110 Function Call: passr(iI21; (void) +0:110 'qualim2' (layout(r32i ) coherent restrict readonly uniform highp iimage2D) +0:111 Function Call: passr(iI21; (void) +0:111 'iimg2D' (layout(r32i ) uniform highp iimage2D) +0:123 Function Definition: func(au1; (highp uint) +0:123 Function Parameters: +0:123 'c' (in highp atomic_uint) +0:125 Sequence +0:125 Branch: Return with expression +0:125 Function Call: atomicCounterIncrement(au1; (highp uint) +0:125 'c' (in highp atomic_uint) +0:128 Function Definition: func2(au1; (highp uint) +0:128 Function Parameters: +0:128 'c' (out highp atomic_uint) +0:130 Sequence +0:130 Branch: Return with expression +0:130 'counter' (layout(binding=0 ) uniform highp atomic_uint) +0:131 Branch: Return with expression +0:131 Function Call: atomicCounter(au1; (highp uint) +0:131 'counter' (layout(binding=0 ) uniform highp atomic_uint) +0:134 Function Definition: mainAC( (void) +0:134 Function Parameters: +0:? Sequence +0:137 Sequence +0:137 move second child to first child (highp uint) +0:137 'val' (highp uint) +0:137 Function Call: atomicCounter(au1; (highp uint) +0:137 'counter' (layout(binding=0 ) uniform highp atomic_uint) +0:138 Function Call: atomicCounterDecrement(au1; (highp uint) +0:138 'counter' (layout(binding=0 ) uniform highp atomic_uint) +0:? Linker Objects +0:? 'gl_WorkGroupSize' (const highp 3-component vector of uint) +0:? 2 (const uint) +0:? 1 (const uint) +0:? 4096 (const uint) +0:? 'total' (const highp int) +0:? 66592 (const int) +0:? 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values}) +0:? 'invalid' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer implicitly-sized array of highp float values, layout(column_major shared ) buffer highp int value}) +0:? 'v3' (layout(location=2 ) in highp 3-component vector of float) +0:? 'f' (in highp float) +0:? 'fo' (out highp float) +0:? 's' (shared highp 4-component vector of float) +0:? 'sl' (layout(location=2 ) shared highp 4-component vector of float) +0:? 'fs' (shared highp float) +0:? 'arrX' (2-element array of highp int) +0:? 'arrY' (1-element array of highp int) +0:? 'arrZ' (4096-element array of highp int) +0:? 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values}) +0:? 'v' (buffer highp 4-component vector of float) +0:? 'us2dbad' (uniform mediump usampler2D) +0:? 'us2d' (uniform highp usampler2D) +0:? 'ii2dabad' (uniform highp iimage2DArray) +0:? 'ii2da' (writeonly uniform highp iimage2DArray) +0:? 'iimg2D' (layout(r32i ) uniform highp iimage2D) +0:? 'iimg2Drgba' (layout(rgba32i ) uniform highp iimage2D) +0:? 'img2Drgba' (layout(rgba32f ) uniform lowp image2D) +0:? 'uimg2D' (layout(r32ui ) uniform highp uimage2D) +0:? 'vol' (volatile highp float) +0:? 'vol2' (readonly highp int) +0:? 'qualim1' (layout(r32i ) coherent readonly uniform highp iimage2D) +0:? 'qualim2' (layout(r32i ) coherent restrict readonly uniform highp iimage2D) +0:? 'i1bad' (layout(rg8i ) uniform highp uimage2D) +0:? 'i2bad' (layout(rgba32i ) uniform lowp image2D) +0:? 'i3bad' (layout(rgba32f ) uniform highp uimage2D) +0:? 'i4bad' (layout(r8_snorm ) uniform highp iimage2D) +0:? 'i5bad' (layout(rgba32ui ) uniform highp iimage2D) +0:? 'i6bad' (layout(r8ui ) uniform highp iimage2D) +0:? 'counter' (layout(binding=0 ) uniform highp atomic_uint) +0:? 'counterBad' (layout(binding=1 ) uniform mediump atomic_uint) + + +Linked compute stage: + + +Shader version: 310 +local_size = (2, 1, 4096) +ERROR: node is still EOpNull! +0:27 Function Definition: main( (void) +0:27 Function Parameters: +0:29 Sequence +0:29 Barrier (void) +0:30 MemoryBarrier (void) +0:31 MemoryBarrierAtomicCounter (void) +0:32 MemoryBarrierBuffer (void) +0:33 MemoryBarrierShared (void) +0:34 MemoryBarrierImage (void) +0:35 GroupMemoryBarrier (void) +0:36 move second child to first child (highp int) +0:36 value: direct index for structure (layout(column_major shared ) buffer highp int) +0:36 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values}) +0:36 Constant: +0:36 0 (const uint) +0:36 Convert float to int (highp int) +0:36 indirect index (layout(column_major shared ) highp float) +0:36 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of highp float) +0:36 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values}) +0:36 Constant: +0:36 1 (const uint) +0:36 'gl_LocalInvocationIndex' (in highp uint) +0:59 Function Definition: foo( (void) +0:59 Function Parameters: +0:61 Sequence +0:61 move second child to first child (highp float) +0:61 direct index (layout(column_major shared ) highp float) +0:61 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of highp float) +0:61 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values}) +0:61 Constant: +0:61 1 (const int) +0:61 Constant: +0:61 2 (const int) +0:61 Constant: +0:61 4.700000 +0:62 array length (highp int) +0:62 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of highp float) +0:62 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values}) +0:62 Constant: +0:62 1 (const int) +0:63 Pre-Increment (highp 4-component vector of float) +0:63 's' (shared highp 4-component vector of float) +0:84 Function Definition: qux( (void) +0:84 Function Parameters: +0:86 Sequence +0:86 Sequence +0:86 move second child to first child (highp int) +0:86 'i' (highp int) +0:86 Constant: +0:86 4 (const int) +0:87 Constant: +0:87 0.000000 +0:88 Constant: +0:88 0.000000 +0:89 Constant: +0:89 0.000000 +0:90 Constant: +0:90 0.000000 +0:91 Sequence +0:91 move second child to first child (highp 4-component vector of int) +0:91 'pos' (highp 4-component vector of int) +0:91 Function Call: imageLoad(iI21;vi2; (highp 4-component vector of int) +0:91 'iimg2D' (layout(r32i ) uniform highp iimage2D) +0:91 Construct ivec2 (2-component vector of int) +0:91 'i' (highp int) +0:91 'i' (highp int) +0:92 Function Call: imageStore(iIA21;vi3;vi4; (highp void) +0:92 'ii2da' (writeonly uniform highp iimage2DArray) +0:92 Construct ivec3 (3-component vector of int) +0:92 'i' (highp int) +0:92 'i' (highp int) +0:92 'i' (highp int) +0:92 Constant: +0:92 0 (const int) +0:92 0 (const int) +0:92 0 (const int) +0:92 0 (const int) +0:93 Function Call: imageLoad(I21;vi2; (highp 4-component vector of float) +0:93 'img2Drgba' (layout(rgba32f ) uniform lowp image2D) +0:93 Construct ivec2 (2-component vector of int) +0:93 'i' (highp int) +0:93 'i' (highp int) +0:94 Function Call: imageLoad(iIA21;vi3; (highp 4-component vector of int) +0:94 'ii2da' (writeonly uniform highp iimage2DArray) +0:94 Construct ivec3 (3-component vector of int) +0:94 'i' (highp int) +0:94 'i' (highp int) +0:94 'i' (highp int) +0:100 Function Definition: passr(iI21; (void) +0:100 Function Parameters: +0:100 'image' (coherent readonly in highp iimage2D) +0:107 Function Definition: passrc( (void) +0:107 Function Parameters: +0:109 Sequence +0:109 Function Call: passr(iI21; (void) +0:109 'qualim1' (layout(r32i ) coherent readonly uniform highp iimage2D) +0:110 Function Call: passr(iI21; (void) +0:110 'qualim2' (layout(r32i ) coherent restrict readonly uniform highp iimage2D) +0:111 Function Call: passr(iI21; (void) +0:111 'iimg2D' (layout(r32i ) uniform highp iimage2D) +0:123 Function Definition: func(au1; (highp uint) +0:123 Function Parameters: +0:123 'c' (in highp atomic_uint) +0:125 Sequence +0:125 Branch: Return with expression +0:125 Function Call: atomicCounterIncrement(au1; (highp uint) +0:125 'c' (in highp atomic_uint) +0:128 Function Definition: func2(au1; (highp uint) +0:128 Function Parameters: +0:128 'c' (out highp atomic_uint) +0:130 Sequence +0:130 Branch: Return with expression +0:130 'counter' (layout(binding=0 ) uniform highp atomic_uint) +0:131 Branch: Return with expression +0:131 Function Call: atomicCounter(au1; (highp uint) +0:131 'counter' (layout(binding=0 ) uniform highp atomic_uint) +0:134 Function Definition: mainAC( (void) +0:134 Function Parameters: +0:? Sequence +0:137 Sequence +0:137 move second child to first child (highp uint) +0:137 'val' (highp uint) +0:137 Function Call: atomicCounter(au1; (highp uint) +0:137 'counter' (layout(binding=0 ) uniform highp atomic_uint) +0:138 Function Call: atomicCounterDecrement(au1; (highp uint) +0:138 'counter' (layout(binding=0 ) uniform highp atomic_uint) +0:? Linker Objects +0:? 'gl_WorkGroupSize' (const highp 3-component vector of uint) +0:? 2 (const uint) +0:? 1 (const uint) +0:? 4096 (const uint) +0:? 'total' (const highp int) +0:? 66592 (const int) +0:? 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values}) +0:? 'invalid' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer implicitly-sized array of highp float values, layout(column_major shared ) buffer highp int value}) +0:? 'v3' (layout(location=2 ) in highp 3-component vector of float) +0:? 'f' (in highp float) +0:? 'fo' (out highp float) +0:? 's' (shared highp 4-component vector of float) +0:? 'sl' (layout(location=2 ) shared highp 4-component vector of float) +0:? 'fs' (shared highp float) +0:? 'arrX' (2-element array of highp int) +0:? 'arrY' (1-element array of highp int) +0:? 'arrZ' (4096-element array of highp int) +0:? 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values}) +0:? 'v' (buffer highp 4-component vector of float) +0:? 'us2dbad' (uniform mediump usampler2D) +0:? 'us2d' (uniform highp usampler2D) +0:? 'ii2dabad' (uniform highp iimage2DArray) +0:? 'ii2da' (writeonly uniform highp iimage2DArray) +0:? 'iimg2D' (layout(r32i ) uniform highp iimage2D) +0:? 'iimg2Drgba' (layout(rgba32i ) uniform highp iimage2D) +0:? 'img2Drgba' (layout(rgba32f ) uniform lowp image2D) +0:? 'uimg2D' (layout(r32ui ) uniform highp uimage2D) +0:? 'vol' (volatile highp float) +0:? 'vol2' (readonly highp int) +0:? 'qualim1' (layout(r32i ) coherent readonly uniform highp iimage2D) +0:? 'qualim2' (layout(r32i ) coherent restrict readonly uniform highp iimage2D) +0:? 'i1bad' (layout(rg8i ) uniform highp uimage2D) +0:? 'i2bad' (layout(rgba32i ) uniform lowp image2D) +0:? 'i3bad' (layout(rgba32f ) uniform highp uimage2D) +0:? 'i4bad' (layout(r8_snorm ) uniform highp iimage2D) +0:? 'i5bad' (layout(rgba32ui ) uniform highp iimage2D) +0:? 'i6bad' (layout(r8ui ) uniform highp iimage2D) +0:? 'counter' (layout(binding=0 ) uniform highp atomic_uint) +0:? 'counterBad' (layout(binding=1 ) uniform mediump atomic_uint) + diff --git a/Test/baseResults/310.frag.out b/Test/baseResults/310.frag.out new file mode 100644 index 00000000..1057528b --- /dev/null +++ b/Test/baseResults/310.frag.out @@ -0,0 +1,317 @@ +310.frag +Warning, version 310 is not yet complete; most version-specific features are present, but some are missing. +ERROR: 0:8: 'origin_upper_left' : not supported with this profile: es +ERROR: 0:8: 'pixel_center_integer' : not supported with this profile: es +ERROR: 0:8: 'gl_FragCoord' : identifiers starting with "gl_" are reserved +ERROR: 0:11: 'location' : overlapping use of location 2 +ERROR: 0:15: 'usampler2DRect' : Reserved word. +ERROR: 0:15: 'sampler/image' : type requires declaration of default precision qualifier +ERROR: 0:23: 'variable indexing sampler array' : not supported with this profile: es +ERROR: 0:27: 'textureGatherOffsets' : no matching overloaded function found +ERROR: 0:27: '=' : cannot convert from 'const float' to 'mediump 4-component vector of uint' +ERROR: 0:30: 'textureGatherOffset(...)' : must be a compile-time constant: component argument +ERROR: 0:31: 'textureGatherOffset(...)' : must be 0, 1, 2, or 3: component argument +ERROR: 0:42: 'texel offset' : argument must be compile-time constant +ERROR: 0:44: 'texel offset' : value is out of range: [gl_MinProgramTexelOffset, gl_MaxProgramTexelOffset] +ERROR: 0:44: 'texel offset' : value is out of range: [gl_MinProgramTexelOffset, gl_MaxProgramTexelOffset] +ERROR: 0:45: 'texel offset' : value is out of range: [gl_MinProgramTexelOffset, gl_MaxProgramTexelOffset] +ERROR: 0:45: 'texel offset' : value is out of range: [gl_MinProgramTexelOffset, gl_MaxProgramTexelOffset] +ERROR: 16 compilation errors. No code generated. + + +Shader version: 310 +ERROR: node is still EOpNull! +0:21 Function Definition: main( (void) +0:21 Function Parameters: +0:23 Sequence +0:23 Sequence +0:23 move second child to first child (highp 4-component vector of float) +0:23 'v' (mediump 4-component vector of float) +0:23 Function Call: texture(s21;vf2; (highp 4-component vector of float) +0:23 indirect index (highp sampler2D) +0:23 'arrayedSampler' (uniform 5-element array of highp sampler2D) +0:23 'i' (uniform mediump int) +0:23 'c2D' (smooth in mediump 2-component vector of float) +0:28 Sequence +0:28 move second child to first child (highp 4-component vector of float) +0:28 'v4' (mediump 4-component vector of float) +0:28 Function Call: textureGather(s21;vf2; (highp 4-component vector of float) +0:28 direct index (highp sampler2D) +0:28 'arrayedSampler' (uniform 5-element array of highp sampler2D) +0:28 Constant: +0:28 0 (const int) +0:28 'c2D' (smooth in mediump 2-component vector of float) +0:29 Sequence +0:29 move second child to first child (mediump 4-component vector of int) +0:29 'iv4' (mediump 4-component vector of int) +0:29 Function Call: textureGatherOffset(isA21;vf3;vi2;i1; (mediump 4-component vector of int) +0:29 'isamp2DA' (uniform highp isampler2DArray) +0:29 Constant: +0:29 0.100000 +0:29 0.100000 +0:29 0.100000 +0:29 Constant: +0:29 1 (const int) +0:29 1 (const int) +0:29 Constant: +0:29 3 (const int) +0:30 move second child to first child (mediump 4-component vector of int) +0:30 'iv4' (mediump 4-component vector of int) +0:30 Function Call: textureGatherOffset(isA21;vf3;vi2;i1; (mediump 4-component vector of int) +0:30 'isamp2DA' (uniform highp isampler2DArray) +0:30 Constant: +0:30 0.100000 +0:30 0.100000 +0:30 0.100000 +0:30 Constant: +0:30 1 (const int) +0:30 1 (const int) +0:30 'i' (uniform mediump int) +0:31 move second child to first child (mediump 4-component vector of int) +0:31 'iv4' (mediump 4-component vector of int) +0:31 Function Call: textureGatherOffset(isA21;vf3;vi2;i1; (mediump 4-component vector of int) +0:31 'isamp2DA' (uniform highp isampler2DArray) +0:31 Constant: +0:31 0.100000 +0:31 0.100000 +0:31 0.100000 +0:31 Constant: +0:31 1 (const int) +0:31 1 (const int) +0:31 Constant: +0:31 4 (const int) +0:32 move second child to first child (mediump 4-component vector of int) +0:32 'iv4' (mediump 4-component vector of int) +0:32 Function Call: textureGatherOffset(isA21;vf3;vi2;i1; (mediump 4-component vector of int) +0:32 'isamp2DA' (uniform highp isampler2DArray) +0:32 Constant: +0:32 0.100000 +0:32 0.100000 +0:32 0.100000 +0:32 Constant: +0:32 1 (const int) +0:32 1 (const int) +0:32 Constant: +0:32 3 (const int) +0:33 move second child to first child (mediump 4-component vector of int) +0:33 'iv4' (mediump 4-component vector of int) +0:33 Function Call: textureGatherOffset(isA21;vf3;vi2; (mediump 4-component vector of int) +0:33 'isamp2DA' (uniform highp isampler2DArray) +0:33 Constant: +0:33 0.100000 +0:33 0.100000 +0:33 0.100000 +0:33 Construct ivec2 (2-component vector of int) +0:33 'i' (uniform mediump int) +0:38 Function Definition: foo23( (void) +0:38 Function Parameters: +0:? Sequence +0:42 Function Call: textureProjGradOffset(us21;vf4;vf2;vf2;vi2; (mediump 4-component vector of uint) +0:42 'usamp2d' (uniform highp usampler2D) +0:42 'outp' (out mediump 4-component vector of float) +0:42 Constant: +0:42 0.000000 +0:42 0.000000 +0:42 Constant: +0:42 0.000000 +0:42 0.000000 +0:42 Convert float to int (2-component vector of int) +0:42 'c2D' (smooth in mediump 2-component vector of float) +0:43 Function Call: textureProjGradOffset(us21;vf4;vf2;vf2;vi2; (mediump 4-component vector of uint) +0:43 'usamp2d' (uniform highp usampler2D) +0:43 'outp' (out mediump 4-component vector of float) +0:43 Constant: +0:43 0.000000 +0:43 0.000000 +0:43 Constant: +0:43 0.000000 +0:43 0.000000 +0:43 Constant: +0:43 3 (const int) +0:43 4 (const int) +0:44 Function Call: textureProjGradOffset(us21;vf4;vf2;vf2;vi2; (mediump 4-component vector of uint) +0:44 'usamp2d' (uniform highp usampler2D) +0:44 'outp' (out mediump 4-component vector of float) +0:44 Constant: +0:44 0.000000 +0:44 0.000000 +0:44 Constant: +0:44 0.000000 +0:44 0.000000 +0:44 Constant: +0:44 15 (const int) +0:44 16 (const int) +0:45 Function Call: textureProjGradOffset(us21;vf4;vf2;vf2;vi2; (mediump 4-component vector of uint) +0:45 'usamp2d' (uniform highp usampler2D) +0:45 'outp' (out mediump 4-component vector of float) +0:45 Constant: +0:45 0.000000 +0:45 0.000000 +0:45 Constant: +0:45 0.000000 +0:45 0.000000 +0:45 Constant: +0:45 -10 (const int) +0:45 20 (const int) +0:? Linker Objects +0:? 'gl_FragCoord' (smooth in mediump 4-component vector of float) +0:? 'v3' (layout(location=2 ) smooth in mediump 3-component vector of float) +0:? 'yi' (layout(location=2 ) smooth in mediump 4X4 matrix of float) +0:? 'arrayedSampler' (uniform 5-element array of highp sampler2D) +0:? 'usamp2d' (uniform highp usampler2D) +0:? 'samp2dr' (uniform mediump usampler2DRect) +0:? 'isamp2DA' (uniform highp isampler2DArray) +0:? 'c2D' (smooth in mediump 2-component vector of float) +0:? 'i' (uniform mediump int) +0:? 'outp' (out mediump 4-component vector of float) + + +Linked fragment stage: + + +Shader version: 310 +ERROR: node is still EOpNull! +0:21 Function Definition: main( (void) +0:21 Function Parameters: +0:23 Sequence +0:23 Sequence +0:23 move second child to first child (highp 4-component vector of float) +0:23 'v' (mediump 4-component vector of float) +0:23 Function Call: texture(s21;vf2; (highp 4-component vector of float) +0:23 indirect index (highp sampler2D) +0:23 'arrayedSampler' (uniform 5-element array of highp sampler2D) +0:23 'i' (uniform mediump int) +0:23 'c2D' (smooth in mediump 2-component vector of float) +0:28 Sequence +0:28 move second child to first child (highp 4-component vector of float) +0:28 'v4' (mediump 4-component vector of float) +0:28 Function Call: textureGather(s21;vf2; (highp 4-component vector of float) +0:28 direct index (highp sampler2D) +0:28 'arrayedSampler' (uniform 5-element array of highp sampler2D) +0:28 Constant: +0:28 0 (const int) +0:28 'c2D' (smooth in mediump 2-component vector of float) +0:29 Sequence +0:29 move second child to first child (mediump 4-component vector of int) +0:29 'iv4' (mediump 4-component vector of int) +0:29 Function Call: textureGatherOffset(isA21;vf3;vi2;i1; (mediump 4-component vector of int) +0:29 'isamp2DA' (uniform highp isampler2DArray) +0:29 Constant: +0:29 0.100000 +0:29 0.100000 +0:29 0.100000 +0:29 Constant: +0:29 1 (const int) +0:29 1 (const int) +0:29 Constant: +0:29 3 (const int) +0:30 move second child to first child (mediump 4-component vector of int) +0:30 'iv4' (mediump 4-component vector of int) +0:30 Function Call: textureGatherOffset(isA21;vf3;vi2;i1; (mediump 4-component vector of int) +0:30 'isamp2DA' (uniform highp isampler2DArray) +0:30 Constant: +0:30 0.100000 +0:30 0.100000 +0:30 0.100000 +0:30 Constant: +0:30 1 (const int) +0:30 1 (const int) +0:30 'i' (uniform mediump int) +0:31 move second child to first child (mediump 4-component vector of int) +0:31 'iv4' (mediump 4-component vector of int) +0:31 Function Call: textureGatherOffset(isA21;vf3;vi2;i1; (mediump 4-component vector of int) +0:31 'isamp2DA' (uniform highp isampler2DArray) +0:31 Constant: +0:31 0.100000 +0:31 0.100000 +0:31 0.100000 +0:31 Constant: +0:31 1 (const int) +0:31 1 (const int) +0:31 Constant: +0:31 4 (const int) +0:32 move second child to first child (mediump 4-component vector of int) +0:32 'iv4' (mediump 4-component vector of int) +0:32 Function Call: textureGatherOffset(isA21;vf3;vi2;i1; (mediump 4-component vector of int) +0:32 'isamp2DA' (uniform highp isampler2DArray) +0:32 Constant: +0:32 0.100000 +0:32 0.100000 +0:32 0.100000 +0:32 Constant: +0:32 1 (const int) +0:32 1 (const int) +0:32 Constant: +0:32 3 (const int) +0:33 move second child to first child (mediump 4-component vector of int) +0:33 'iv4' (mediump 4-component vector of int) +0:33 Function Call: textureGatherOffset(isA21;vf3;vi2; (mediump 4-component vector of int) +0:33 'isamp2DA' (uniform highp isampler2DArray) +0:33 Constant: +0:33 0.100000 +0:33 0.100000 +0:33 0.100000 +0:33 Construct ivec2 (2-component vector of int) +0:33 'i' (uniform mediump int) +0:38 Function Definition: foo23( (void) +0:38 Function Parameters: +0:? Sequence +0:42 Function Call: textureProjGradOffset(us21;vf4;vf2;vf2;vi2; (mediump 4-component vector of uint) +0:42 'usamp2d' (uniform highp usampler2D) +0:42 'outp' (out mediump 4-component vector of float) +0:42 Constant: +0:42 0.000000 +0:42 0.000000 +0:42 Constant: +0:42 0.000000 +0:42 0.000000 +0:42 Convert float to int (2-component vector of int) +0:42 'c2D' (smooth in mediump 2-component vector of float) +0:43 Function Call: textureProjGradOffset(us21;vf4;vf2;vf2;vi2; (mediump 4-component vector of uint) +0:43 'usamp2d' (uniform highp usampler2D) +0:43 'outp' (out mediump 4-component vector of float) +0:43 Constant: +0:43 0.000000 +0:43 0.000000 +0:43 Constant: +0:43 0.000000 +0:43 0.000000 +0:43 Constant: +0:43 3 (const int) +0:43 4 (const int) +0:44 Function Call: textureProjGradOffset(us21;vf4;vf2;vf2;vi2; (mediump 4-component vector of uint) +0:44 'usamp2d' (uniform highp usampler2D) +0:44 'outp' (out mediump 4-component vector of float) +0:44 Constant: +0:44 0.000000 +0:44 0.000000 +0:44 Constant: +0:44 0.000000 +0:44 0.000000 +0:44 Constant: +0:44 15 (const int) +0:44 16 (const int) +0:45 Function Call: textureProjGradOffset(us21;vf4;vf2;vf2;vi2; (mediump 4-component vector of uint) +0:45 'usamp2d' (uniform highp usampler2D) +0:45 'outp' (out mediump 4-component vector of float) +0:45 Constant: +0:45 0.000000 +0:45 0.000000 +0:45 Constant: +0:45 0.000000 +0:45 0.000000 +0:45 Constant: +0:45 -10 (const int) +0:45 20 (const int) +0:? Linker Objects +0:? 'gl_FragCoord' (smooth in mediump 4-component vector of float) +0:? 'v3' (layout(location=2 ) smooth in mediump 3-component vector of float) +0:? 'yi' (layout(location=2 ) smooth in mediump 4X4 matrix of float) +0:? 'arrayedSampler' (uniform 5-element array of highp sampler2D) +0:? 'usamp2d' (uniform highp usampler2D) +0:? 'samp2dr' (uniform mediump usampler2DRect) +0:? 'isamp2DA' (uniform highp isampler2DArray) +0:? 'c2D' (smooth in mediump 2-component vector of float) +0:? 'i' (uniform mediump int) +0:? 'outp' (out mediump 4-component vector of float) + diff --git a/Test/baseResults/310.vert.out b/Test/baseResults/310.vert.out new file mode 100644 index 00000000..4c42e968 --- /dev/null +++ b/Test/baseResults/310.vert.out @@ -0,0 +1,38 @@ +310.vert +Warning, version 310 is not yet complete; most version-specific features are present, but some are missing. +ERROR: 0:3: 'shared' : not supported in this stage: vertex +ERROR: 0:4: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value +ERROR: 0:5: 'buffer' : buffers can be declared only as blocks +ERROR: 0:10: 'location' : overlapping use of location 3 +ERROR: 4 compilation errors. No code generated. + + +Shader version: 310 +ERROR: node is still EOpNull! +0:? Linker Objects +0:? 's' (shared highp 4-component vector of float) +0:? 'v' (buffer highp 4-component vector of float) +0:? 'x' (layout(location=2 ) uniform highp 4X4 matrix of float) +0:? 'y' (layout(location=3 ) uniform highp 4X4 matrix of float) +0:? 'xi' (layout(location=2 ) smooth out highp 4X4 matrix of float) +0:? 'yi' (layout(location=3 ) smooth out highp 4X4 matrix of float) +0:? 'gl_VertexID' (gl_VertexId highp int) +0:? 'gl_InstanceID' (gl_InstanceId highp int) + + +Linked vertex stage: + +ERROR: Linking vertex stage: Missing entry point: Each stage requires one "void main()" entry point + +Shader version: 310 +ERROR: node is still EOpNull! +0:? Linker Objects +0:? 's' (shared highp 4-component vector of float) +0:? 'v' (buffer highp 4-component vector of float) +0:? 'x' (layout(location=2 ) uniform highp 4X4 matrix of float) +0:? 'y' (layout(location=3 ) uniform highp 4X4 matrix of float) +0:? 'xi' (layout(location=2 ) smooth out highp 4X4 matrix of float) +0:? 'yi' (layout(location=3 ) smooth out highp 4X4 matrix of float) +0:? 'gl_VertexID' (gl_VertexId highp int) +0:? 'gl_InstanceID' (gl_InstanceId highp int) +