Implement GL_ARB_shader_image_load_store. Partly done (format layout qualifiers) from a submission.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27670 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2014-08-10 18:19:36 +00:00
parent e4423f5da1
commit ddea678e3e
26 changed files with 674 additions and 83 deletions

View File

@@ -25,16 +25,22 @@ ERROR: 0:143: 'length' : method does not accept any arguments
ERROR: 0:146: 'gl_FogFragCoord' : identifiers starting with "gl_" are reserved
ERROR: 0:151: 'int' : must be qualified as flat in
ERROR: 0:151: 'redeclaration' : cannot change the type of gl_FogFragCoord
ERROR: 24 compilation errors. No code generated.
ERROR: 0:153: 'early_fragment_tests' : not supported for this version or the enabled extensions
ERROR: 0:154: 'image load store' : not supported for this version or the enabled extensions
ERROR: 0:154: 'iimage2D' : Reserved word.
ERROR: 0:169: 'early_fragment_tests' : can only apply to 'in'
ERROR: 28 compilation errors. No code generated.
Shader version: 130
Requested GL_ARB_gpu_shader5
Requested GL_ARB_separate_shader_objects
Requested GL_ARB_shader_image_load_store
Requested GL_ARB_shading_language_420pack
Requested GL_ARB_texture_cube_map_array
Requested GL_ARB_texture_gather
Requested GL_ARB_texture_rectangle
using early_fragment_tests
ERROR: node is still EOpNull!
0:16 Function Definition: main( (void)
0:16 Function Parameters:
@@ -348,6 +354,24 @@ ERROR: node is still EOpNull!
0:141 0.000000
0:143 Constant:
0:143 1 (const int)
0:162 Function Definition: qux2( (void)
0:162 Function Parameters:
0:? Sequence
0:165 Function Call: imageAtomicCompSwap(iI21;vi2;i1;i1; (int)
0:165 'iimg2D' (layout(r32i ) uniform iimage2D)
0:165 Construct ivec2 (2-component vector of int)
0:165 'i' (int)
0:165 'i' (int)
0:165 'i' (int)
0:165 'i' (int)
0:166 Sequence
0:166 move second child to first child (4-component vector of int)
0:166 'pos' (4-component vector of int)
0:166 Function Call: imageLoad(iI21;vi2; (4-component vector of int)
0:166 'iimg2D' (layout(r32i ) uniform iimage2D)
0:166 Construct ivec2 (2-component vector of int)
0:166 'i' (int)
0:166 'i' (int)
0:? Linker Objects
0:? 'a' (3-component vector of float)
0:? 'b' (float)
@@ -377,6 +401,8 @@ ERROR: node is still EOpNull!
0:? 'instanceName' (layout(binding=0 column_major shared ) uniform block{layout(column_major shared ) uniform int a})
0:? 'bounds' (layout(binding=0 ) uniform sampler2D)
0:? 'gl_FogFragCoord' (smooth in float)
0:? 'iimg2Dbad' (layout(r32i ) uniform iimage2D)
0:? 'iimg2D' (layout(r32i ) uniform iimage2D)
Linked fragment stage:
@@ -385,10 +411,12 @@ Linked fragment stage:
Shader version: 130
Requested GL_ARB_gpu_shader5
Requested GL_ARB_separate_shader_objects
Requested GL_ARB_shader_image_load_store
Requested GL_ARB_shading_language_420pack
Requested GL_ARB_texture_cube_map_array
Requested GL_ARB_texture_gather
Requested GL_ARB_texture_rectangle
using early_fragment_tests
ERROR: node is still EOpNull!
0:16 Function Definition: main( (void)
0:16 Function Parameters:
@@ -702,6 +730,24 @@ ERROR: node is still EOpNull!
0:141 0.000000
0:143 Constant:
0:143 1 (const int)
0:162 Function Definition: qux2( (void)
0:162 Function Parameters:
0:? Sequence
0:165 Function Call: imageAtomicCompSwap(iI21;vi2;i1;i1; (int)
0:165 'iimg2D' (layout(r32i ) uniform iimage2D)
0:165 Construct ivec2 (2-component vector of int)
0:165 'i' (int)
0:165 'i' (int)
0:165 'i' (int)
0:165 'i' (int)
0:166 Sequence
0:166 move second child to first child (4-component vector of int)
0:166 'pos' (4-component vector of int)
0:166 Function Call: imageLoad(iI21;vi2; (4-component vector of int)
0:166 'iimg2D' (layout(r32i ) uniform iimage2D)
0:166 Construct ivec2 (2-component vector of int)
0:166 'i' (int)
0:166 'i' (int)
0:? Linker Objects
0:? 'a' (3-component vector of float)
0:? 'b' (float)
@@ -731,4 +777,6 @@ ERROR: node is still EOpNull!
0:? 'instanceName' (layout(binding=0 column_major shared ) uniform block{layout(column_major shared ) uniform int a})
0:? 'bounds' (layout(binding=0 ) uniform sampler2D)
0:? 'gl_FogFragCoord' (smooth in float)
0:? 'iimg2Dbad' (layout(r32i ) uniform iimage2D)
0:? 'iimg2D' (layout(r32i ) uniform iimage2D)

View File

@@ -37,7 +37,7 @@ ERROR: 32 compilation errors. No code generated.
Shader version: 150
invocations = 4
max_vertices = 200
input primitive = lines_adjancency
input primitive = lines_adjacency
output primitive = triangle_strip
ERROR: node is still EOpNull!
0:25 Function Definition: main( (void)
@@ -156,7 +156,7 @@ Linked geometry stage:
Shader version: 150
invocations = 4
max_vertices = 200
input primitive = lines_adjancency
input primitive = lines_adjacency
output primitive = triangle_strip
ERROR: node is still EOpNull!
0:25 Function Definition: main( (void)

View File

@@ -215,9 +215,9 @@ ERROR: node is still EOpNull!
400.tesc
Warning, version 400 is not yet complete; most version-specific features are present, but some are missing.
ERROR: 0:6: 'quads' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:7: 'ccw' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:8: 'fractional_even_spacing' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:6: 'quads' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:7: 'ccw' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:8: 'fractional_even_spacing' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:10: 'patch' : can only use on output in tessellation-control shader
ERROR: 0:39: 'vertices' : can only apply to 'out'
ERROR: 0:40: 'vertices' : cannot change previously set layout value

View File

@@ -15,9 +15,10 @@ ERROR: 0:38: 'output block' : not supported with this profile: es
ERROR: 0:42: 'location qualifier on output' : not supported in this stage: vertex
ERROR: 0:50: 'shared' : not supported with this profile: es
ERROR: 0:50: 'shared' : not supported in this stage: vertex
ERROR: 0:50: '' : memory qualifiers can only be used on image types
ERROR: 0:54: 'layout' : cannot specify packing on a variable declaration
ERROR: 0:57: 'location' : overlapping use of location 40
ERROR: 18 compilation errors. No code generated.
ERROR: 19 compilation errors. No code generated.
Shader version: 300

View File

@@ -1,8 +1,8 @@
400.tesc
Warning, version 400 is not yet complete; most version-specific features are present, but some are missing.
ERROR: 0:6: 'quads' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:7: 'ccw' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:8: 'fractional_even_spacing' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:6: 'quads' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:7: 'ccw' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:8: 'fractional_even_spacing' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:10: 'patch' : can only use on output in tessellation-control shader
ERROR: 0:39: 'vertices' : can only apply to 'out'
ERROR: 0:40: 'vertices' : cannot change previously set layout value

View File

@@ -34,7 +34,20 @@ ERROR: 0:86: 'patch' : not supported in this stage: vertex
ERROR: 0:100: '=' : global const initializers must be constant 'const int'
ERROR: 0:101: '' : constant expression required
ERROR: 0:101: '' : array size must be a constant integer expression
ERROR: 33 compilation errors. No code generated.
ERROR: 0:107: '' : image variables not declared 'writeonly' must have a format layout qualifier
ERROR: 0:114: 'imageAtomicMin' : only supported on image with format r32i or r32ui
ERROR: 0:115: 'imageAtomicMax' : no matching overloaded function found
ERROR: 0:119: 'writeonly' : argument cannot drop memory qualifier when passed to formal parameter
ERROR: 0:122: '' : memory qualifiers can only be used on image types
ERROR: 0:123: '' : memory qualifiers can only be used on image types
ERROR: 0:135: 'restrict' : argument cannot drop memory qualifier when passed to formal parameter
ERROR: 0:139: 'rg8i' : does not apply to unsigned integer images
ERROR: 0:140: 'rgba32i' : does not apply to floating point images
ERROR: 0:141: 'rgba32f' : does not apply to unsigned integer images
ERROR: 0:142: 'r8_snorm' : does not apply to signed integer images
ERROR: 0:143: 'rgba32ui' : does not apply to signed integer images
ERROR: 0:144: 'r8ui' : does not apply to signed integer images
ERROR: 46 compilation errors. No code generated.
Shader version: 420
@@ -73,7 +86,7 @@ ERROR: node is still EOpNull!
0:42 No loop body
0:50 Function Definition: bar(vf4; (void)
0:50 Function Parameters:
0:50 'v' (in 4-component vector of float)
0:50 'v' (volatile in 4-component vector of float)
0:? Sequence
0:53 's' (int)
0:54 's' (int)
@@ -146,6 +159,84 @@ ERROR: node is still EOpNull!
0:97 'a' (int)
0:97 Constant:
0:97 -1 (const int)
0:109 Function Definition: qux( (void)
0:109 Function Parameters:
0:111 Sequence
0:111 Sequence
0:111 move second child to first child (int)
0:111 'i' (int)
0:111 aoeu: direct index for structure (layout(column_major shared ) uniform int)
0:111 'anon@0' (layout(binding=7 column_major shared ) uniform block{layout(column_major shared ) uniform int aoeu})
0:111 Constant:
0:111 0 (const uint)
0:112 Function Call: imageAtomicCompSwap(iI21;vi2;i1;i1; (int)
0:112 'iimg2D' (layout(r32i ) uniform iimage2D)
0:112 Construct ivec2 (2-component vector of int)
0:112 'i' (int)
0:112 'i' (int)
0:112 'i' (int)
0:112 'i' (int)
0:113 Function Call: imageAtomicAdd(uI21;vi2;u1; (uint)
0:113 'uimg2D' (layout(r32ui ) uniform uimage2D)
0:113 Construct ivec2 (2-component vector of int)
0:113 'i' (int)
0:113 'i' (int)
0:113 Convert int to uint (uint)
0:113 'i' (int)
0:114 Function Call: imageAtomicMin(iI21;vi2;i1; (int)
0:114 'iimg2Drgba' (layout(rgba32i ) uniform iimage2D)
0:114 Construct ivec2 (2-component vector of int)
0:114 'i' (int)
0:114 'i' (int)
0:114 'i' (int)
0:115 Constant:
0:115 0.000000
0:116 Sequence
0:116 move second child to first child (4-component vector of int)
0:116 'pos' (4-component vector of int)
0:116 Function Call: imageLoad(iI21;vi2; (4-component vector of int)
0:116 'iimg2D' (layout(r32i ) uniform iimage2D)
0:116 Construct ivec2 (2-component vector of int)
0:116 'i' (int)
0:116 'i' (int)
0:117 Sequence
0:117 move second child to first child (4-component vector of float)
0:117 'col' (4-component vector of float)
0:117 Function Call: imageLoad(I21;vi2;i1; (4-component vector of float)
0:117 'img2DMS' (uniform image2DMS)
0:117 Construct ivec2 (2-component vector of int)
0:117 'i' (int)
0:117 'i' (int)
0:117 'i' (int)
0:118 Function Call: imageStore(I21;vi2;i1;vf4; (void)
0:118 'img2DMSWO' (writeonly uniform image2DMS)
0:118 Construct ivec2 (2-component vector of int)
0:118 'i' (int)
0:118 'i' (int)
0:118 'i' (int)
0:118 Constant:
0:118 0.000000
0:118 0.000000
0:118 0.000000
0:118 0.000000
0:119 Function Call: imageLoad(I21;vi2;i1; (4-component vector of float)
0:119 'img2DMSWO' (writeonly uniform image2DMS)
0:119 Construct ivec2 (2-component vector of int)
0:119 'i' (int)
0:119 'i' (int)
0:119 'i' (int)
0:125 Function Definition: passr(iI21; (void)
0:125 Function Parameters:
0:125 'image' (coherent readonly in iimage2D)
0:132 Function Definition: passrc( (void)
0:132 Function Parameters:
0:134 Sequence
0:134 Function Call: passr(iI21; (void)
0:134 'qualim1' (layout(r32i ) coherent readonly uniform iimage2D)
0:135 Function Call: passr(iI21; (void)
0:135 'qualim2' (layout(r32i ) coherent restrict readonly uniform iimage2D)
0:136 Function Call: passr(iI21; (void)
0:136 'iimg2D' (layout(r32i ) uniform iimage2D)
0:? Linker Objects
0:? 'v2' (smooth out 2-component vector of float)
0:? 'bad' (in 10-element array of 4-component vector of float)
@@ -180,6 +271,22 @@ ERROR: node is still EOpNull!
0:? 'patchOut' (smooth patch out 4-component vector of float)
0:? 'comma0' (int)
0:? 'comma1' (1-element array of int)
0:? 'iimg2D' (layout(r32i ) uniform iimage2D)
0:? 'iimg2Drgba' (layout(rgba32i ) uniform iimage2D)
0:? 'img2Drgba' (layout(rgba32f ) uniform image2D)
0:? 'uimg2D' (layout(r32ui ) uniform uimage2D)
0:? 'img2DMS' (uniform image2DMS)
0:? 'img2DMSWO' (writeonly uniform image2DMS)
0:? 'vol' (volatile float)
0:? 'vol2' (readonly int)
0:? 'qualim1' (layout(r32i ) coherent readonly uniform iimage2D)
0:? 'qualim2' (layout(r32i ) coherent restrict readonly uniform iimage2D)
0:? 'i1bad' (layout(rg8i ) uniform uimage2D)
0:? 'i2bad' (layout(rgba32i ) uniform image2D)
0:? 'i3bad' (layout(rgba32f ) uniform uimage2D)
0:? 'i4bad' (layout(r8_snorm ) uniform iimage2D)
0:? 'i5bad' (layout(rgba32ui ) uniform iimage2D)
0:? 'i6bad' (layout(r8ui ) uniform iimage2D)
0:? 'gl_VertexID' (gl_VertexId int)
0:? 'gl_InstanceID' (gl_InstanceId int)
@@ -223,7 +330,7 @@ ERROR: node is still EOpNull!
0:42 No loop body
0:50 Function Definition: bar(vf4; (void)
0:50 Function Parameters:
0:50 'v' (in 4-component vector of float)
0:50 'v' (volatile in 4-component vector of float)
0:? Sequence
0:53 's' (int)
0:54 's' (int)
@@ -296,6 +403,84 @@ ERROR: node is still EOpNull!
0:97 'a' (int)
0:97 Constant:
0:97 -1 (const int)
0:109 Function Definition: qux( (void)
0:109 Function Parameters:
0:111 Sequence
0:111 Sequence
0:111 move second child to first child (int)
0:111 'i' (int)
0:111 aoeu: direct index for structure (layout(column_major shared ) uniform int)
0:111 'anon@0' (layout(binding=7 column_major shared ) uniform block{layout(column_major shared ) uniform int aoeu})
0:111 Constant:
0:111 0 (const uint)
0:112 Function Call: imageAtomicCompSwap(iI21;vi2;i1;i1; (int)
0:112 'iimg2D' (layout(r32i ) uniform iimage2D)
0:112 Construct ivec2 (2-component vector of int)
0:112 'i' (int)
0:112 'i' (int)
0:112 'i' (int)
0:112 'i' (int)
0:113 Function Call: imageAtomicAdd(uI21;vi2;u1; (uint)
0:113 'uimg2D' (layout(r32ui ) uniform uimage2D)
0:113 Construct ivec2 (2-component vector of int)
0:113 'i' (int)
0:113 'i' (int)
0:113 Convert int to uint (uint)
0:113 'i' (int)
0:114 Function Call: imageAtomicMin(iI21;vi2;i1; (int)
0:114 'iimg2Drgba' (layout(rgba32i ) uniform iimage2D)
0:114 Construct ivec2 (2-component vector of int)
0:114 'i' (int)
0:114 'i' (int)
0:114 'i' (int)
0:115 Constant:
0:115 0.000000
0:116 Sequence
0:116 move second child to first child (4-component vector of int)
0:116 'pos' (4-component vector of int)
0:116 Function Call: imageLoad(iI21;vi2; (4-component vector of int)
0:116 'iimg2D' (layout(r32i ) uniform iimage2D)
0:116 Construct ivec2 (2-component vector of int)
0:116 'i' (int)
0:116 'i' (int)
0:117 Sequence
0:117 move second child to first child (4-component vector of float)
0:117 'col' (4-component vector of float)
0:117 Function Call: imageLoad(I21;vi2;i1; (4-component vector of float)
0:117 'img2DMS' (uniform image2DMS)
0:117 Construct ivec2 (2-component vector of int)
0:117 'i' (int)
0:117 'i' (int)
0:117 'i' (int)
0:118 Function Call: imageStore(I21;vi2;i1;vf4; (void)
0:118 'img2DMSWO' (writeonly uniform image2DMS)
0:118 Construct ivec2 (2-component vector of int)
0:118 'i' (int)
0:118 'i' (int)
0:118 'i' (int)
0:118 Constant:
0:118 0.000000
0:118 0.000000
0:118 0.000000
0:118 0.000000
0:119 Function Call: imageLoad(I21;vi2;i1; (4-component vector of float)
0:119 'img2DMSWO' (writeonly uniform image2DMS)
0:119 Construct ivec2 (2-component vector of int)
0:119 'i' (int)
0:119 'i' (int)
0:119 'i' (int)
0:125 Function Definition: passr(iI21; (void)
0:125 Function Parameters:
0:125 'image' (coherent readonly in iimage2D)
0:132 Function Definition: passrc( (void)
0:132 Function Parameters:
0:134 Sequence
0:134 Function Call: passr(iI21; (void)
0:134 'qualim1' (layout(r32i ) coherent readonly uniform iimage2D)
0:135 Function Call: passr(iI21; (void)
0:135 'qualim2' (layout(r32i ) coherent restrict readonly uniform iimage2D)
0:136 Function Call: passr(iI21; (void)
0:136 'iimg2D' (layout(r32i ) uniform iimage2D)
0:? Linker Objects
0:? 'v2' (smooth out 2-component vector of float)
0:? 'bad' (in 10-element array of 4-component vector of float)
@@ -330,6 +515,22 @@ ERROR: node is still EOpNull!
0:? 'patchOut' (smooth patch out 4-component vector of float)
0:? 'comma0' (int)
0:? 'comma1' (1-element array of int)
0:? 'iimg2D' (layout(r32i ) uniform iimage2D)
0:? 'iimg2Drgba' (layout(rgba32i ) uniform iimage2D)
0:? 'img2Drgba' (layout(rgba32f ) uniform image2D)
0:? 'uimg2D' (layout(r32ui ) uniform uimage2D)
0:? 'img2DMS' (uniform image2DMS)
0:? 'img2DMSWO' (writeonly uniform image2DMS)
0:? 'vol' (volatile float)
0:? 'vol2' (readonly int)
0:? 'qualim1' (layout(r32i ) coherent readonly uniform iimage2D)
0:? 'qualim2' (layout(r32i ) coherent restrict readonly uniform iimage2D)
0:? 'i1bad' (layout(rg8i ) uniform uimage2D)
0:? 'i2bad' (layout(rgba32i ) uniform image2D)
0:? 'i3bad' (layout(rgba32f ) uniform uimage2D)
0:? 'i4bad' (layout(r8_snorm ) uniform iimage2D)
0:? 'i5bad' (layout(rgba32ui ) uniform iimage2D)
0:? 'i6bad' (layout(r8ui ) uniform iimage2D)
0:? 'gl_VertexID' (gl_VertexId int)
0:? 'gl_InstanceID' (gl_InstanceId int)

View File

@@ -67,7 +67,7 @@ ERROR: node is still EOpNull!
0:31 Function Definition: foo3(vf4;vf3;vf2;vf3; (void)
0:31 Function Parameters:
0:31 'v4' (in 4-component vector of float)
0:31 'v3' (in 3-component vector of float)
0:31 'v3' (volatile in 3-component vector of float)
0:31 'v2' (in 2-component vector of float)
0:31 'cv3' (in 3-component vector of float)
0:? Linker Objects
@@ -139,7 +139,7 @@ ERROR: node is still EOpNull!
0:31 Function Definition: foo3(vf4;vf3;vf2;vf3; (void)
0:31 Function Parameters:
0:31 'v4' (in 4-component vector of float)
0:31 'v3' (in 3-component vector of float)
0:31 'v3' (volatile in 3-component vector of float)
0:31 'v2' (in 2-component vector of float)
0:31 'cv3' (in 3-component vector of float)
0:? Linker Objects

View File

@@ -10,18 +10,17 @@ ERROR: 0:75: 'Atten' : member storage qualifier cannot contradict block storage
ERROR: 0:87: 'Color' : redefinition
ERROR: 0:92: 'redeclaration' : cannot redeclare with different qualification: gl_FragCoord
ERROR: 0:93: 'redeclaration' : cannot redeclare with different qualification: gl_FragCoord
ERROR: 0:96: 'early_fragment_tests' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:99: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value
ERROR: 0:99: 'local_size_y' : there is no such layout identifier for this stage taking an assigned value
ERROR: 0:100: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value
ERROR: 0:102: 'color' : redefinition
ERROR: 0:103: 'index' : there is no such layout identifier for this stage taking an assigned value
ERROR: 0:104: 'location' : overlapping use of location 3
ERROR: 0:106: 'depth_greater' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:112: 'depth_any' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:115: 'depth_greater' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:118: 'depth_less' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:121: 'depth_unchanged' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:106: 'depth_greater' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:112: 'depth_any' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:115: 'depth_greater' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:118: 'depth_less' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:121: 'depth_unchanged' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:150: 'constructor' : constructing from a non-dereferenced array
ERROR: 0:150: '=' : cannot convert from 'const float' to '3-element array of 4-component vector of float'
ERROR: 0:152: 'constructor' : cannot convert parameter 1 from 'const 2-element array of 4-component vector of float' to '4-component vector of float'
@@ -46,13 +45,14 @@ ERROR: 0:226: 'in' : not allowed in nested scope
ERROR: 0:227: 'in' : not allowed in nested scope
ERROR: 0:228: 'in' : not allowed in nested scope
ERROR: 0:232: 'out' : not allowed in nested scope
ERROR: 46 compilation errors. No code generated.
ERROR: 45 compilation errors. No code generated.
Shader version: 430
Requested GL_3DL_array_objects
gl_FragCoord pixel center is integer
gl_FragCoord origin is upper left
using early_fragment_tests
ERROR: node is still EOpNull!
0:5 Sequence
0:5 move second child to first child (int)
@@ -305,6 +305,7 @@ Shader version: 430
Requested GL_3DL_array_objects
gl_FragCoord pixel center is integer
gl_FragCoord origin is upper left
using early_fragment_tests
ERROR: node is still EOpNull!
0:5 Sequence
0:5 move second child to first child (int)

View File

@@ -2,13 +2,13 @@ specExamples.vert
Warning, version 430 is not yet complete; most version-specific features are present, but some are missing.
ERROR: 0:23: 'transforms' : redeclaration of array with size
ERROR: 0:29: 'location' : can only appy to uniform, buffer, in, or out storage qualifiers
ERROR: 0:31: 'triangles' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:31: 'triangles' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:31: 'invocations' : there is no such layout identifier for this stage taking an assigned value
ERROR: 0:33: 'lines' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:35: 'triangle_strip' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:33: 'lines' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:35: 'triangle_strip' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:35: 'max_vertices' : there is no such layout identifier for this stage taking an assigned value
ERROR: 0:36: 'max_vertices' : there is no such layout identifier for this stage taking an assigned value
ERROR: 0:37: 'triangle_strip' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:37: 'triangle_strip' : unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)
ERROR: 0:41: 'stream' : there is no such layout identifier for this stage taking an assigned value
ERROR: 0:43: 'stream' : there is no such layout identifier for this stage taking an assigned value
ERROR: 0:45: 'stream' : there is no such layout identifier for this stage taking an assigned value
@@ -35,16 +35,20 @@ ERROR: 0:106: '' : vertex input cannot be further qualified
ERROR: 0:106: 'redeclaration' : cannot change storage, memory, or auxiliary qualification of gl_FrontColor
ERROR: 0:112: 'ColorIvn' : identifier not previously declared
WARNING: 0:118: '' : unknown requalification
ERROR: 0:123: '' : memory qualifiers can only be used on image types
ERROR: 0:122: '' : memory qualifiers can only be used on image types
ERROR: 0:128: '' : memory qualifiers can only be used on image types
ERROR: 0:129: '' : memory qualifiers can only be used on image types
ERROR: 0:132: 'shared' : not supported in this stage: vertex
ERROR: 0:132: '' : memory qualifiers can only be used on image types
ERROR: 0:134: '' : function does not return a value: funcA
ERROR: 0:136: '' : function does not return a value: funcB
ERROR: 0:137: 'rgba32f' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:138: 'rgba32f' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4)
ERROR: 0:153: '' : function does not return a value: func3
ERROR: 0:170: 'coherent' : argument cannot drop memory qualifier when passed to formal parameter
ERROR: 0:192: 'constructor' : constructing from a non-dereferenced array
ERROR: 0:193: 'constructor' : constructing from a non-dereferenced array
ERROR: 0:194: 'constructor' : constructing from a non-dereferenced array
ERROR: 42 compilation errors. No code generated.
ERROR: 46 compilation errors. No code generated.
Shader version: 430
@@ -52,7 +56,7 @@ Requested GL_3DL_array_objects
ERROR: node is still EOpNull!
0:134 Function Definition: funcA(I21; (4-component vector of float)
0:134 Function Parameters:
0:134 'a' (in image2D)
0:134 'a' (restrict in image2D)
0:136 Function Definition: funcB(I21; (4-component vector of float)
0:136 Function Parameters:
0:136 'a' (in image2D)
@@ -225,9 +229,9 @@ ERROR: node is still EOpNull!
0:167 Constant:
0:167 0 (const int)
0:169 Function Call: funcA(I21; (4-component vector of float)
0:169 'img1' (uniform image2D)
0:169 'img1' (layout(rgba32f ) uniform image2D)
0:170 Function Call: funcB(I21; (4-component vector of float)
0:170 'img2' (coherent uniform image2D)
0:170 'img2' (layout(rgba32f ) coherent uniform image2D)
0:? Sequence
0:178 Sequence
0:178 move second child to first child (structure{float intensity, 3-component vector of float position})
@@ -314,8 +318,8 @@ ERROR: node is still EOpNull!
0:? 'anon@6' (layout(row_major shared ) coherent uniform block{layout(row_major shared ) readonly uniform 4-component vector of float member1, layout(row_major shared ) uniform 4-component vector of float member2})
0:? 'anon@7' (layout(row_major shared ) uniform block{layout(row_major shared ) coherent readonly uniform 4-component vector of float member1A, layout(row_major shared ) coherent uniform 4-component vector of float member2A})
0:? 'shv' (shared 4-component vector of float)
0:? 'img1' (uniform image2D)
0:? 'img2' (coherent uniform image2D)
0:? 'img1' (layout(rgba32f ) uniform image2D)
0:? 'img2' (layout(rgba32f ) coherent uniform image2D)
0:? 'gl_VertexID' (gl_VertexId int)
0:? 'gl_InstanceID' (gl_InstanceId int)
@@ -328,7 +332,7 @@ Requested GL_3DL_array_objects
ERROR: node is still EOpNull!
0:134 Function Definition: funcA(I21; (4-component vector of float)
0:134 Function Parameters:
0:134 'a' (in image2D)
0:134 'a' (restrict in image2D)
0:136 Function Definition: funcB(I21; (4-component vector of float)
0:136 Function Parameters:
0:136 'a' (in image2D)
@@ -501,9 +505,9 @@ ERROR: node is still EOpNull!
0:167 Constant:
0:167 0 (const int)
0:169 Function Call: funcA(I21; (4-component vector of float)
0:169 'img1' (uniform image2D)
0:169 'img1' (layout(rgba32f ) uniform image2D)
0:170 Function Call: funcB(I21; (4-component vector of float)
0:170 'img2' (coherent uniform image2D)
0:170 'img2' (layout(rgba32f ) coherent uniform image2D)
0:? Sequence
0:178 Sequence
0:178 move second child to first child (structure{float intensity, 3-component vector of float position})
@@ -590,8 +594,8 @@ ERROR: node is still EOpNull!
0:? 'anon@6' (layout(row_major shared ) coherent uniform block{layout(row_major shared ) readonly uniform 4-component vector of float member1, layout(row_major shared ) uniform 4-component vector of float member2})
0:? 'anon@7' (layout(row_major shared ) uniform block{layout(row_major shared ) coherent readonly uniform 4-component vector of float member1A, layout(row_major shared ) coherent uniform 4-component vector of float member2A})
0:? 'shv' (shared 4-component vector of float)
0:? 'img1' (uniform image2D)
0:? 'img2' (coherent uniform image2D)
0:? 'img1' (layout(rgba32f ) uniform image2D)
0:? 'img2' (layout(rgba32f ) coherent uniform image2D)
0:? 'gl_VertexID' (gl_VertexId int)
0:? 'gl_InstanceID' (gl_InstanceId int)

View File

@@ -36,6 +36,7 @@ MaxGeometryOutputComponents 128
MaxFragmentInputComponents 128
MaxImageUnits 8
MaxCombinedImageUnitsAndFragmentOutputs 8
MaxCombinedShaderOutputResources 8
MaxImageSamples 0
MaxVertexImageUniforms 0
MaxTessControlImageUniforms 0