1 hlsl.groupid.comp 2 Shader version: 500 3 local_size = (8, 8, 1) 4 0:? Sequence 5 0:7 Function Definition: @main(vu2; ( temp void) 6 0:7 Function Parameters: 7 0:7 'vGroupId' ( in 2-component vector of uint) 8 0:? Sequence 9 0:8 Sequence 10 0:8 move second child to first child ( temp 4-component vector of float) 11 0:8 'storeTemp' ( temp 4-component vector of float) 12 0:? Constant: 13 0:? 1.000000 14 0:? 0.000000 15 0:? 0.000000 16 0:? 1.000000 17 0:8 imageStore ( temp void) 18 0:8 'OutputTexture' (layout( rgba32f) uniform image2D) 19 0:8 vector swizzle ( temp 2-component vector of uint) 20 0:8 'vGroupId' ( in 2-component vector of uint) 21 0:8 Sequence 22 0:8 Constant: 23 0:8 0 (const int) 24 0:8 Constant: 25 0:8 1 (const int) 26 0:8 'storeTemp' ( temp 4-component vector of float) 27 0:8 'storeTemp' ( temp 4-component vector of float) 28 0:7 Function Definition: main( ( temp void) 29 0:7 Function Parameters: 30 0:? Sequence 31 0:7 move second child to first child ( temp 2-component vector of uint) 32 0:? 'vGroupId' ( temp 2-component vector of uint) 33 0:? Construct uvec2 ( temp 2-component vector of uint) 34 0:? 'vGroupId' ( in 3-component vector of uint WorkGroupID) 35 0:7 Function Call: @main(vu2; ( temp void) 36 0:? 'vGroupId' ( temp 2-component vector of uint) 37 0:? Linker Objects 38 0:? 'OutputTexture' (layout( rgba32f) uniform image2D) 39 0:? 'vGroupId' ( in 3-component vector of uint WorkGroupID) 40 41 42 Linked compute stage: 43 44 45 Shader version: 500 46 local_size = (8, 8, 1) 47 0:? Sequence 48 0:7 Function Definition: @main(vu2; ( temp void) 49 0:7 Function Parameters: 50 0:7 'vGroupId' ( in 2-component vector of uint) 51 0:? Sequence 52 0:8 Sequence 53 0:8 move second child to first child ( temp 4-component vector of float) 54 0:8 'storeTemp' ( temp 4-component vector of float) 55 0:? Constant: 56 0:? 1.000000 57 0:? 0.000000 58 0:? 0.000000 59 0:? 1.000000 60 0:8 imageStore ( temp void) 61 0:8 'OutputTexture' (layout( rgba32f) uniform image2D) 62 0:8 vector swizzle ( temp 2-component vector of uint) 63 0:8 'vGroupId' ( in 2-component vector of uint) 64 0:8 Sequence 65 0:8 Constant: 66 0:8 0 (const int) 67 0:8 Constant: 68 0:8 1 (const int) 69 0:8 'storeTemp' ( temp 4-component vector of float) 70 0:8 'storeTemp' ( temp 4-component vector of float) 71 0:7 Function Definition: main( ( temp void) 72 0:7 Function Parameters: 73 0:? Sequence 74 0:7 move second child to first child ( temp 2-component vector of uint) 75 0:? 'vGroupId' ( temp 2-component vector of uint) 76 0:? Construct uvec2 ( temp 2-component vector of uint) 77 0:? 'vGroupId' ( in 3-component vector of uint WorkGroupID) 78 0:7 Function Call: @main(vu2; ( temp void) 79 0:? 'vGroupId' ( temp 2-component vector of uint) 80 0:? Linker Objects 81 0:? 'OutputTexture' (layout( rgba32f) uniform image2D) 82 0:? 'vGroupId' ( in 3-component vector of uint WorkGroupID) 83 84 // Module Version 10000 85 // Generated by (magic number): 80007 86 // Id's are bound by 37 87 88 Capability Shader 89 1: ExtInstImport "GLSL.std.450" 90 MemoryModel Logical GLSL450 91 EntryPoint GLCompute 4 "main" 29 92 ExecutionMode 4 LocalSize 8 8 1 93 Source HLSL 500 94 Name 4 "main" 95 Name 11 "@main(vu2;" 96 Name 10 "vGroupId" 97 Name 16 "storeTemp" 98 Name 22 "OutputTexture" 99 Name 26 "vGroupId" 100 Name 29 "vGroupId" 101 Name 34 "param" 102 Decorate 22(OutputTexture) DescriptorSet 0 103 Decorate 22(OutputTexture) Binding 0 104 Decorate 29(vGroupId) BuiltIn WorkgroupId 105 2: TypeVoid 106 3: TypeFunction 2 107 6: TypeInt 32 0 108 7: TypeVector 6(int) 2 109 8: TypePointer Function 7(ivec2) 110 9: TypeFunction 2 8(ptr) 111 13: TypeFloat 32 112 14: TypeVector 13(float) 4 113 15: TypePointer Function 14(fvec4) 114 17: 13(float) Constant 1065353216 115 18: 13(float) Constant 0 116 19: 14(fvec4) ConstantComposite 17 18 18 17 117 20: TypeImage 13(float) 2D nonsampled format:Rgba32f 118 21: TypePointer UniformConstant 20 119 22(OutputTexture): 21(ptr) Variable UniformConstant 120 27: TypeVector 6(int) 3 121 28: TypePointer Input 27(ivec3) 122 29(vGroupId): 28(ptr) Variable Input 123 4(main): 2 Function None 3 124 5: Label 125 26(vGroupId): 8(ptr) Variable Function 126 34(param): 8(ptr) Variable Function 127 30: 27(ivec3) Load 29(vGroupId) 128 31: 6(int) CompositeExtract 30 0 129 32: 6(int) CompositeExtract 30 1 130 33: 7(ivec2) CompositeConstruct 31 32 131 Store 26(vGroupId) 33 132 35: 7(ivec2) Load 26(vGroupId) 133 Store 34(param) 35 134 36: 2 FunctionCall 11(@main(vu2;) 34(param) 135 Return 136 FunctionEnd 137 11(@main(vu2;): 2 Function None 9 138 10(vGroupId): 8(ptr) FunctionParameter 139 12: Label 140 16(storeTemp): 15(ptr) Variable Function 141 Store 16(storeTemp) 19 142 23: 20 Load 22(OutputTexture) 143 24: 7(ivec2) Load 10(vGroupId) 144 25: 14(fvec4) Load 16(storeTemp) 145 ImageWrite 23 24 25 146 Return 147 FunctionEnd 148