yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
e7e245dd
main
1link.vk.multiUnitLayout.0.comp 2Shader version: 450 3local_size = (1, 1, 1) 4local_size ids = (0, -1, -1) 50:? Sequence 60:7 Function Definition: main( ( global void) 70:7 Function Parameters: 80:9 Sequence 90:9 Function Call: do_compute(u1; ( global void) 100:9 direct index ( temp highp uint) 110:9 'gl_GlobalInvocationID' ( in highp 3-component vector of uint GlobalInvocationID) 120:9 Constant: 130:9 0 (const int) 140:? Linker Objects 150:? 'gl_WorkGroupSize' ( specialization-constant const highp 3-component vector of uint WorkGroupSize) 160:? 1 (const uint) 170:? 1 (const uint) 180:? 1 (const uint) 19 20link.vk.multiUnitLayout.1.comp 21Shader version: 450 22local_size = (1, 1, 1) 230:? Sequence 240:7 Function Definition: do_compute(u1; ( global void) 250:7 Function Parameters: 260:7 'index' ( in highp uint) 270:9 Sequence 280:9 add second child into first child ( temp highp 4-component vector of float) 290:9 indirect index (layout( column_major std430) temp highp 4-component vector of float) 300:9 data: direct index for structure (layout( column_major std430) buffer runtime-sized array of highp 4-component vector of float) 310:9 'dataBuf' (layout( set=0 binding=0 column_major std430) buffer block{layout( column_major std430) buffer runtime-sized array of highp 4-component vector of float data}) 320:9 Constant: 330:9 0 (const int) 340:9 'index' ( in highp uint) 350:9 Constant: 360:9 1.000000 370:9 1.000000 380:9 1.000000 390:9 1.000000 400:? Linker Objects 410:? 'dataBuf' (layout( set=0 binding=0 column_major std430) buffer block{layout( column_major std430) buffer runtime-sized array of highp 4-component vector of float data}) 42 43 44Linked compute stage: 45 46 47Shader version: 450 48local_size = (1, 1, 1) 49local_size ids = (0, -1, -1) 500:? Sequence 510:7 Function Definition: main( ( global void) 520:7 Function Parameters: 530:9 Sequence 540:9 Function Call: do_compute(u1; ( global void) 550:9 direct index ( temp highp uint) 560:9 'gl_GlobalInvocationID' ( in highp 3-component vector of uint GlobalInvocationID) 570:9 Constant: 580:9 0 (const int) 590:7 Function Definition: do_compute(u1; ( global void) 600:7 Function Parameters: 610:7 'index' ( in highp uint) 620:9 Sequence 630:9 add second child into first child ( temp highp 4-component vector of float) 640:9 indirect index (layout( column_major std430) temp highp 4-component vector of float) 650:9 data: direct index for structure (layout( column_major std430) buffer runtime-sized array of highp 4-component vector of float) 660:9 'dataBuf' (layout( set=0 binding=0 column_major std430) buffer block{layout( column_major std430) buffer runtime-sized array of highp 4-component vector of float data}) 670:9 Constant: 680:9 0 (const int) 690:9 'index' ( in highp uint) 700:9 Constant: 710:9 1.000000 720:9 1.000000 730:9 1.000000 740:9 1.000000 750:? Linker Objects 760:? 'gl_WorkGroupSize' ( specialization-constant const highp 3-component vector of uint WorkGroupSize) 770:? 1 (const uint) 780:? 1 (const uint) 790:? 1 (const uint) 800:? 'dataBuf' (layout( set=0 binding=0 column_major std430) buffer block{layout( column_major std430) buffer runtime-sized array of highp 4-component vector of float data}) 81 82// Module Version 10000 83// Generated by (magic number): 8000b 84// Id's are bound by 40 85 86 Capability Shader 87 1: ExtInstImport "GLSL.std.450" 88 MemoryModel Logical GLSL450 89 EntryPoint GLCompute 4 "main" 14 90 ExecutionMode 4 LocalSize 1 1 1 91 Source GLSL 450 92 Name 4 "main" 93 Name 10 "do_compute(u1;" 94 Name 9 "index" 95 Name 14 "gl_GlobalInvocationID" 96 Name 15 "param" 97 Name 24 "DataBuf" 98 MemberName 24(DataBuf) 0 "data" 99 Name 26 "dataBuf" 100 Decorate 14(gl_GlobalInvocationID) BuiltIn GlobalInvocationId 101 Decorate 23 ArrayStride 16 102 Decorate 24(DataBuf) BufferBlock 103 MemberDecorate 24(DataBuf) 0 Offset 0 104 Decorate 26(dataBuf) Binding 0 105 Decorate 26(dataBuf) DescriptorSet 0 106 Decorate 37 SpecId 0 107 Decorate 39 BuiltIn WorkgroupSize 108 2: TypeVoid 109 3: TypeFunction 2 110 6: TypeInt 32 0 111 7: TypePointer Function 6(int) 112 8: TypeFunction 2 7(ptr) 113 12: TypeVector 6(int) 3 114 13: TypePointer Input 12(ivec3) 11514(gl_GlobalInvocationID): 13(ptr) Variable Input 116 16: 6(int) Constant 0 117 17: TypePointer Input 6(int) 118 21: TypeFloat 32 119 22: TypeVector 21(float) 4 120 23: TypeRuntimeArray 22(fvec4) 121 24(DataBuf): TypeStruct 23 122 25: TypePointer Uniform 24(DataBuf) 123 26(dataBuf): 25(ptr) Variable Uniform 124 27: TypeInt 32 1 125 28: 27(int) Constant 0 126 30: 21(float) Constant 1065353216 127 31: 22(fvec4) ConstantComposite 30 30 30 30 128 32: TypePointer Uniform 22(fvec4) 129 37: 6(int) SpecConstant 1 130 38: 6(int) Constant 1 131 39: 12(ivec3) SpecConstantComposite 37 38 38 132 4(main): 2 Function None 3 133 5: Label 134 15(param): 7(ptr) Variable Function 135 18: 17(ptr) AccessChain 14(gl_GlobalInvocationID) 16 136 19: 6(int) Load 18 137 Store 15(param) 19 138 20: 2 FunctionCall 10(do_compute(u1;) 15(param) 139 Return 140 FunctionEnd 14110(do_compute(u1;): 2 Function None 8 142 9(index): 7(ptr) FunctionParameter 143 11: Label 144 29: 6(int) Load 9(index) 145 33: 32(ptr) AccessChain 26(dataBuf) 28 29 146 34: 22(fvec4) Load 33 147 35: 22(fvec4) FAdd 34 31 148 36: 32(ptr) AccessChain 26(dataBuf) 28 29 149 Store 36 35 150 Return 151 FunctionEnd