• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.groupid.comp
2Shader version: 500
3local_size = (8, 8, 1)
40:? Sequence
50:7  Function Definition: @main(vu2; ( temp void)
60:7    Function Parameters:
70:7      'vGroupId' ( in 2-component vector of uint)
80:?     Sequence
90:8      Sequence
100:8        move second child to first child ( temp 4-component vector of float)
110:8          'storeTemp' ( temp 4-component vector of float)
120:?           Constant:
130:?             1.000000
140:?             0.000000
150:?             0.000000
160:?             1.000000
170:8        imageStore ( temp void)
180:8          'OutputTexture' (layout( rgba32f) uniform image2D)
190:8          vector swizzle ( temp 2-component vector of uint)
200:8            'vGroupId' ( in 2-component vector of uint)
210:8            Sequence
220:8              Constant:
230:8                0 (const int)
240:8              Constant:
250:8                1 (const int)
260:8          'storeTemp' ( temp 4-component vector of float)
270:8        'storeTemp' ( temp 4-component vector of float)
280:7  Function Definition: main( ( temp void)
290:7    Function Parameters:
300:?     Sequence
310:7      move second child to first child ( temp 2-component vector of uint)
320:?         'vGroupId' ( temp 2-component vector of uint)
330:?         Construct uvec2 ( temp 2-component vector of uint)
340:?           'vGroupId' ( in 3-component vector of uint WorkGroupID)
350:7      Function Call: @main(vu2; ( temp void)
360:?         'vGroupId' ( temp 2-component vector of uint)
370:?   Linker Objects
380:?     'OutputTexture' (layout( rgba32f) uniform image2D)
390:?     'vGroupId' ( in 3-component vector of uint WorkGroupID)
40
41
42Linked compute stage:
43
44
45Shader version: 500
46local_size = (8, 8, 1)
470:? Sequence
480:7  Function Definition: @main(vu2; ( temp void)
490:7    Function Parameters:
500:7      'vGroupId' ( in 2-component vector of uint)
510:?     Sequence
520:8      Sequence
530:8        move second child to first child ( temp 4-component vector of float)
540:8          'storeTemp' ( temp 4-component vector of float)
550:?           Constant:
560:?             1.000000
570:?             0.000000
580:?             0.000000
590:?             1.000000
600:8        imageStore ( temp void)
610:8          'OutputTexture' (layout( rgba32f) uniform image2D)
620:8          vector swizzle ( temp 2-component vector of uint)
630:8            'vGroupId' ( in 2-component vector of uint)
640:8            Sequence
650:8              Constant:
660:8                0 (const int)
670:8              Constant:
680:8                1 (const int)
690:8          'storeTemp' ( temp 4-component vector of float)
700:8        'storeTemp' ( temp 4-component vector of float)
710:7  Function Definition: main( ( temp void)
720:7    Function Parameters:
730:?     Sequence
740:7      move second child to first child ( temp 2-component vector of uint)
750:?         'vGroupId' ( temp 2-component vector of uint)
760:?         Construct uvec2 ( temp 2-component vector of uint)
770:?           'vGroupId' ( in 3-component vector of uint WorkGroupID)
780:7      Function Call: @main(vu2; ( temp void)
790:?         'vGroupId' ( temp 2-component vector of uint)
800:?   Linker Objects
810:?     'OutputTexture' (layout( rgba32f) uniform image2D)
820:?     'vGroupId' ( in 3-component vector of uint WorkGroupID)
83
84// Module Version 10000
85// Generated by (magic number): 8000a
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
11922(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