1hlsl.basic.comp
2Shader version: 500
3local_size = (1, 1, 1)
40:? Sequence
50:4  Function Definition: @main(i1;i1; ( temp void)
60:4    Function Parameters:
70:4      'dti' ( in int)
80:4      'gti' ( in int)
90:?     Sequence
100:5      subtract ( temp int)
110:5        'dti' ( in int)
120:5        'gti' ( in int)
130:4  Function Definition: main( ( temp void)
140:4    Function Parameters:
150:?     Sequence
160:4      move second child to first child ( temp int)
170:?         'dti' ( temp int)
180:?         Construct int ( temp int)
190:?           'dti' ( in 3-component vector of int GlobalInvocationID)
200:4      move second child to first child ( temp int)
210:?         'gti' ( temp int)
220:?         Construct int ( temp int)
230:?           'gti' ( in 3-component vector of int LocalInvocationID)
240:4      Function Call: @main(i1;i1; ( temp void)
250:?         'dti' ( temp int)
260:?         'gti' ( temp int)
270:?   Linker Objects
280:?     'a' ( shared 100-element array of 4-component vector of float)
290:?     'dti' ( in 3-component vector of int GlobalInvocationID)
300:?     'gti' ( in 3-component vector of int LocalInvocationID)
31
32
33Linked compute stage:
34
35
36Shader version: 500
37local_size = (1, 1, 1)
380:? Sequence
390:4  Function Definition: @main(i1;i1; ( temp void)
400:4    Function Parameters:
410:4      'dti' ( in int)
420:4      'gti' ( in int)
430:?     Sequence
440:5      subtract ( temp int)
450:5        'dti' ( in int)
460:5        'gti' ( in int)
470:4  Function Definition: main( ( temp void)
480:4    Function Parameters:
490:?     Sequence
500:4      move second child to first child ( temp int)
510:?         'dti' ( temp int)
520:?         Construct int ( temp int)
530:?           'dti' ( in 3-component vector of int GlobalInvocationID)
540:4      move second child to first child ( temp int)
550:?         'gti' ( temp int)
560:?         Construct int ( temp int)
570:?           'gti' ( in 3-component vector of int LocalInvocationID)
580:4      Function Call: @main(i1;i1; ( temp void)
590:?         'dti' ( temp int)
600:?         'gti' ( temp int)
610:?   Linker Objects
620:?     'a' ( shared 100-element array of 4-component vector of float)
630:?     'dti' ( in 3-component vector of int GlobalInvocationID)
640:?     'gti' ( in 3-component vector of int LocalInvocationID)
65
66// Module Version 10000
67// Generated by (magic number): 8000a
68// Id's are bound by 38
69
70                              Capability Shader
71               1:             ExtInstImport  "GLSL.std.450"
72                              MemoryModel Logical GLSL450
73                              EntryPoint GLCompute 4  "main" 19 23
74                              ExecutionMode 4 LocalSize 1 1 1
75                              Source HLSL 500
76                              Name 4  "main"
77                              Name 11  "@main(i1;i1;"
78                              Name 9  "dti"
79                              Name 10  "gti"
80                              Name 16  "dti"
81                              Name 19  "dti"
82                              Name 22  "gti"
83                              Name 23  "gti"
84                              Name 26  "param"
85                              Name 28  "param"
86                              Name 37  "a"
87                              Decorate 19(dti) BuiltIn GlobalInvocationId
88                              Decorate 23(gti) BuiltIn LocalInvocationId
89               2:             TypeVoid
90               3:             TypeFunction 2
91               6:             TypeInt 32 1
92               7:             TypePointer Function 6(int)
93               8:             TypeFunction 2 7(ptr) 7(ptr)
94              17:             TypeVector 6(int) 3
95              18:             TypePointer Input 17(ivec3)
96         19(dti):     18(ptr) Variable Input
97         23(gti):     18(ptr) Variable Input
98              31:             TypeFloat 32
99              32:             TypeVector 31(float) 4
100              33:             TypeInt 32 0
101              34:     33(int) Constant 100
102              35:             TypeArray 32(fvec4) 34
103              36:             TypePointer Workgroup 35
104           37(a):     36(ptr) Variable Workgroup
105         4(main):           2 Function None 3
106               5:             Label
107         16(dti):      7(ptr) Variable Function
108         22(gti):      7(ptr) Variable Function
109       26(param):      7(ptr) Variable Function
110       28(param):      7(ptr) Variable Function
111              20:   17(ivec3) Load 19(dti)
112              21:      6(int) CompositeExtract 20 0
113                              Store 16(dti) 21
114              24:   17(ivec3) Load 23(gti)
115              25:      6(int) CompositeExtract 24 0
116                              Store 22(gti) 25
117              27:      6(int) Load 16(dti)
118                              Store 26(param) 27
119              29:      6(int) Load 22(gti)
120                              Store 28(param) 29
121              30:           2 FunctionCall 11(@main(i1;i1;) 26(param) 28(param)
122                              Return
123                              FunctionEnd
12411(@main(i1;i1;):           2 Function None 8
125          9(dti):      7(ptr) FunctionParameter
126         10(gti):      7(ptr) FunctionParameter
127              12:             Label
128              13:      6(int) Load 9(dti)
129              14:      6(int) Load 10(gti)
130              15:      6(int) ISub 13 14
131                              Return
132                              FunctionEnd
133