blob: d206838a7c7d1a79c014b403004c58f375ef0631 [file] [log] [blame]
John Kessenichb50fd172016-10-16 12:12:11 -06001hlsl.basic.comp
2Shader version: 450
3local_size = (1, 1, 1)
40:? Sequence
John Kessenich02467d82017-01-19 15:41:47 -070050:4 Function Definition: @main(i1;i1; (temp void)
John Kessenichb50fd172016-10-16 12:12:11 -060060:4 Function Parameters:
John Kessenichf37f4d22017-01-02 14:59:19 -070070:4 'dti' (in int GlobalInvocationID)
80:4 'gti' (in int LocalInvocationID)
John Kessenichb50fd172016-10-16 12:12:11 -060090:? Sequence
John Kessenichf37f4d22017-01-02 14:59:19 -0700100:5 subtract (temp int)
110:5 'dti' (in int GlobalInvocationID)
120:5 'gti' (in int LocalInvocationID)
John Kessenich02467d82017-01-19 15:41:47 -0700130: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:? 'dti' (in int GlobalInvocationID)
190:4 move second child to first child (temp int)
200:? 'gti' (temp int)
210:? 'gti' (in int LocalInvocationID)
220:4 Function Call: @main(i1;i1; (temp void)
230:? 'dti' (temp int)
240:? 'gti' (temp int)
John Kessenichb50fd172016-10-16 12:12:11 -0600250:? Linker Objects
John Kessenich02467d82017-01-19 15:41:47 -0700260:? 'a' (shared 100-element array of 4-component vector of float)
John Kessenichf37f4d22017-01-02 14:59:19 -0700270:? 'dti' (in int GlobalInvocationID)
280:? 'gti' (in int LocalInvocationID)
John Kessenichb50fd172016-10-16 12:12:11 -060029
30
31Linked compute stage:
32
33
34Shader version: 450
35local_size = (1, 1, 1)
360:? Sequence
John Kessenich02467d82017-01-19 15:41:47 -0700370:4 Function Definition: @main(i1;i1; (temp void)
John Kessenichb50fd172016-10-16 12:12:11 -0600380:4 Function Parameters:
John Kessenichf37f4d22017-01-02 14:59:19 -0700390:4 'dti' (in int GlobalInvocationID)
400:4 'gti' (in int LocalInvocationID)
John Kessenichb50fd172016-10-16 12:12:11 -0600410:? Sequence
John Kessenichf37f4d22017-01-02 14:59:19 -0700420:5 subtract (temp int)
430:5 'dti' (in int GlobalInvocationID)
440:5 'gti' (in int LocalInvocationID)
John Kessenich02467d82017-01-19 15:41:47 -0700450:4 Function Definition: main( (temp void)
460:4 Function Parameters:
470:? Sequence
480:4 move second child to first child (temp int)
490:? 'dti' (temp int)
500:? 'dti' (in int GlobalInvocationID)
510:4 move second child to first child (temp int)
520:? 'gti' (temp int)
530:? 'gti' (in int LocalInvocationID)
540:4 Function Call: @main(i1;i1; (temp void)
550:? 'dti' (temp int)
560:? 'gti' (temp int)
John Kessenichb50fd172016-10-16 12:12:11 -0600570:? Linker Objects
John Kessenich02467d82017-01-19 15:41:47 -0700580:? 'a' (shared 100-element array of 4-component vector of float)
John Kessenichf37f4d22017-01-02 14:59:19 -0700590:? 'dti' (in int GlobalInvocationID)
600:? 'gti' (in int LocalInvocationID)
John Kessenichb50fd172016-10-16 12:12:11 -060061
62// Module Version 10000
63// Generated by (magic number): 80001
John Kessenich02467d82017-01-19 15:41:47 -070064// Id's are bound by 35
John Kessenichb50fd172016-10-16 12:12:11 -060065
66 Capability Shader
67 1: ExtInstImport "GLSL.std.450"
68 MemoryModel Logical GLSL450
John Kessenich02467d82017-01-19 15:41:47 -070069 EntryPoint GLCompute 4 "main" 18 21
John Kessenichb50fd172016-10-16 12:12:11 -060070 ExecutionMode 4 LocalSize 1 1 1
71 Name 4 "main"
John Kessenich02467d82017-01-19 15:41:47 -070072 Name 11 "@main(i1;i1;"
73 Name 9 "dti"
John Kessenichf37f4d22017-01-02 14:59:19 -070074 Name 10 "gti"
John Kessenich02467d82017-01-19 15:41:47 -070075 Name 16 "dti"
76 Name 18 "dti"
77 Name 20 "gti"
78 Name 21 "gti"
79 Name 23 "param"
80 Name 25 "param"
81 Name 34 "a"
82 Decorate 18(dti) BuiltIn GlobalInvocationId
83 Decorate 21(gti) BuiltIn LocalInvocationId
John Kessenichb50fd172016-10-16 12:12:11 -060084 2: TypeVoid
85 3: TypeFunction 2
86 6: TypeInt 32 1
John Kessenich02467d82017-01-19 15:41:47 -070087 7: TypePointer Function 6(int)
88 8: TypeFunction 2 7(ptr) 7(ptr)
89 17: TypePointer Input 6(int)
90 18(dti): 17(ptr) Variable Input
91 21(gti): 17(ptr) Variable Input
92 28: TypeFloat 32
93 29: TypeVector 28(float) 4
94 30: TypeInt 32 0
95 31: 30(int) Constant 100
96 32: TypeArray 29(fvec4) 31
97 33: TypePointer Workgroup 32
98 34(a): 33(ptr) Variable Workgroup
John Kessenichb50fd172016-10-16 12:12:11 -060099 4(main): 2 Function None 3
100 5: Label
John Kessenich02467d82017-01-19 15:41:47 -0700101 16(dti): 7(ptr) Variable Function
102 20(gti): 7(ptr) Variable Function
103 23(param): 7(ptr) Variable Function
104 25(param): 7(ptr) Variable Function
105 19: 6(int) Load 18(dti)
106 Store 16(dti) 19
107 22: 6(int) Load 21(gti)
108 Store 20(gti) 22
109 24: 6(int) Load 16(dti)
110 Store 23(param) 24
111 26: 6(int) Load 20(gti)
112 Store 25(param) 26
113 27: 2 FunctionCall 11(@main(i1;i1;) 23(param) 25(param)
114 Return
115 FunctionEnd
11611(@main(i1;i1;): 2 Function None 8
117 9(dti): 7(ptr) FunctionParameter
118 10(gti): 7(ptr) FunctionParameter
119 12: Label
120 13: 6(int) Load 9(dti)
121 14: 6(int) Load 10(gti)
122 15: 6(int) ISub 13 14
John Kessenichb50fd172016-10-16 12:12:11 -0600123 Return
124 FunctionEnd