yum-mirror/glslang

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

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

main
3.6 KiB93 linesraw
1link.multiUnitLayout.0.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 = 81
9max_primitives = 32
10output primitive = triangles
11local_size = (1, 1, 1)
12ERROR: node is still EOpNull!
130:11  Function Definition: main( ( global void)
140:11    Function Parameters: 
150:13    Sequence
160:13      Function Call: do_process( ( global void)
170:?   Linker Objects
180:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
190:?       1 (const uint)
200:?       1 (const uint)
210:?       1 (const uint)
22
23link.multiUnitLayout.1.mesh
24ERROR: 0:2: 'GL_EXT_mesh_shader' : not supported for current targeted SPIR-V version 
25ERROR: 1 compilation errors.  No code generated.
26
27
28Shader version: 460
29Requested GL_EXT_mesh_shader
30max_vertices = -1
31max_primitives = -1
32output primitive = none
33local_size = (1, 1, 1)
34ERROR: node is still EOpNull!
350:9  Function Definition: do_process( ( global void)
360:9    Function Parameters: 
370:11    Sequence
380:11      move second child to first child ( temp uint)
390:11        indirect index (layout( column_major std430 offset=0) temp uint)
400:11          data: direct index for structure (layout( column_major std430 offset=0) buffer runtime-sized array of uint)
410:11            'dataBuffer' (layout( column_major std430) buffer block{layout( column_major std430 offset=0) buffer runtime-sized array of uint data})
420:11            Constant:
430:11              0 (const int)
440:11          direct index ( temp uint)
450:11            'gl_LocalInvocationID' ( in 3-component vector of uint LocalInvocationID)
460:11            Constant:
470:11              0 (const int)
480:11        direct index ( temp uint)
490:11          'gl_WorkGroupID' ( in 3-component vector of uint WorkGroupID)
500:11          Constant:
510:11            0 (const int)
520:?   Linker Objects
530:?     'dataBuffer' (layout( column_major std430) buffer block{layout( column_major std430 offset=0) buffer runtime-sized array of uint data})
54
55
56Linked mesh stage:
57
58
59Shader version: 460
60Requested GL_EXT_mesh_shader
61max_vertices = 81
62max_primitives = 32
63output primitive = triangles
64local_size = (1, 1, 1)
65ERROR: node is still EOpNull!
660:11  Function Definition: main( ( global void)
670:11    Function Parameters: 
680:13    Sequence
690:13      Function Call: do_process( ( global void)
700:9  Function Definition: do_process( ( global void)
710:9    Function Parameters: 
720:11    Sequence
730:11      move second child to first child ( temp uint)
740:11        indirect index (layout( column_major std430 offset=0) temp uint)
750:11          data: direct index for structure (layout( column_major std430 offset=0) buffer runtime-sized array of uint)
760:11            'dataBuffer' (layout( column_major std430) buffer block{layout( column_major std430 offset=0) buffer runtime-sized array of uint data})
770:11            Constant:
780:11              0 (const int)
790:11          direct index ( temp uint)
800:11            'gl_LocalInvocationID' ( in 3-component vector of uint LocalInvocationID)
810:11            Constant:
820:11              0 (const int)
830:11        direct index ( temp uint)
840:11          'gl_WorkGroupID' ( in 3-component vector of uint WorkGroupID)
850:11          Constant:
860:11            0 (const int)
870:?   Linker Objects
880:?     'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize)
890:?       1 (const uint)
900:?       1 (const uint)
910:?       1 (const uint)
920:?     'dataBuffer' (layout( column_major std430) buffer block{layout( column_major std430 offset=0) buffer runtime-sized array of uint data})
93