yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Valentin SarthouFix incorrect "Contradictory layout" link errors (#3920)4056002e

main
3.6 KiB94 linesraw
1link.multiUnitLayout.2.mesh
2ERROR: 0:2: 'GL_EXT_mesh_shader' : not supported for current targeted SPIR-V version 
3ERROR: 1 compilation errors.  No code generated.
4
5
6Shader version: 460
7Requested GL_EXT_mesh_shader
8max_vertices = -1
9max_primitives = 34
10output primitive = none
11local_size = (1, 1, 1)
12ERROR: node is still EOpNull!
130:12  Function Definition: do_process( ( global void)
140:12    Function Parameters: 
150:14    Sequence
160:14      move second child to first child ( temp uint)
170:14        indirect index (layout( column_major std430 offset=0) temp uint)
180:14          data: direct index for structure (layout( column_major std430 offset=0) buffer runtime-sized array of uint)
190:14            'dataBuffer' (layout( column_major std430) buffer block{layout( column_major std430 offset=0) buffer runtime-sized array of uint data})
200:14            Constant:
210:14              0 (const int)
220:14          direct index ( temp uint)
230:14            'gl_LocalInvocationID' ( in 3-component vector of uint LocalInvocationID)
240:14            Constant:
250:14              0 (const int)
260:14        direct index ( temp uint)
270:14          'gl_WorkGroupID' ( in 3-component vector of uint WorkGroupID)
280:14          Constant:
290:14            0 (const int)
300:?   Linker Objects
310:?     'dataBuffer' (layout( column_major std430) buffer block{layout( column_major std430 offset=0) buffer runtime-sized array of uint data})
32
33link.multiUnitLayout.0.mesh
34ERROR: 0:2: 'GL_EXT_mesh_shader' : not supported for current targeted SPIR-V version 
35ERROR: 1 compilation errors.  No code generated.
36
37
38Shader version: 460
39Requested GL_EXT_mesh_shader
40max_vertices = 81
41max_primitives = 32
42output primitive = triangles
43local_size = (1, 1, 1)
44ERROR: node is still EOpNull!
450:11  Function Definition: main( ( global void)
460:11    Function Parameters: 
470:13    Sequence
480:13      Function Call: do_process( ( global void)
490:?   Linker Objects
500:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
510:?       1 (const uint)
520:?       1 (const uint)
530:?       1 (const uint)
54
55
56Linked mesh stage:
57
58ERROR: Linking mesh stage: Contradictory layout max_primitives values
59
60Shader version: 460
61Requested GL_EXT_mesh_shader
62max_vertices = 81
63max_primitives = 34
64output primitive = triangles
65local_size = (1, 1, 1)
66ERROR: node is still EOpNull!
670:12  Function Definition: do_process( ( global void)
680:12    Function Parameters: 
690:14    Sequence
700:14      move second child to first child ( temp uint)
710:14        indirect index (layout( column_major std430 offset=0) temp uint)
720:14          data: direct index for structure (layout( column_major std430 offset=0) buffer runtime-sized array of uint)
730:14            'dataBuffer' (layout( column_major std430) buffer block{layout( column_major std430 offset=0) buffer runtime-sized array of uint data})
740:14            Constant:
750:14              0 (const int)
760:14          direct index ( temp uint)
770:14            'gl_LocalInvocationID' ( in 3-component vector of uint LocalInvocationID)
780:14            Constant:
790:14              0 (const int)
800:14        direct index ( temp uint)
810:14          'gl_WorkGroupID' ( in 3-component vector of uint WorkGroupID)
820:14          Constant:
830:14            0 (const int)
840:11  Function Definition: main( ( global void)
850:11    Function Parameters: 
860:13    Sequence
870:13      Function Call: do_process( ( global void)
880:?   Linker Objects
890:?     'dataBuffer' (layout( column_major std430) buffer block{layout( column_major std430 offset=0) buffer runtime-sized array of uint data})
900:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
910:?       1 (const uint)
920:?       1 (const uint)
930:?       1 (const uint)
94