blob: 8abc3b4c9d6575201d0d41328730956ca1688405 [file] [log] [blame]
John Kessenichb50fd172016-10-16 12:12:11 -06001hlsl.basic.comp
John Kessenich6fa17642017-04-07 15:33:08 -06002Shader version: 500
John Kessenichb50fd172016-10-16 12:12:11 -06003local_size = (1, 1, 1)
40:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060050:4 Function Definition: @main(i1;i1; ( temp void)
John Kessenichb50fd172016-10-16 12:12:11 -060060:4 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -060070:4 'dti' ( in int)
80:4 'gti' ( in int)
John Kessenichb50fd172016-10-16 12:12:11 -060090:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600100:5 subtract ( temp int)
110:5 'dti' ( in int)
120:5 'gti' ( in int)
130:4 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700140:4 Function Parameters:
150:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600160: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 Kessenich71c100d2017-03-14 19:43:13 -0600260:? 'a' ( shared 100-element array of 4-component vector of float)
270:? 'dti' ( in int GlobalInvocationID)
280:? 'gti' ( in int LocalInvocationID)
John Kessenichb50fd172016-10-16 12:12:11 -060029
30
31Linked compute stage:
32
33
John Kessenich6fa17642017-04-07 15:33:08 -060034Shader version: 500
John Kessenichb50fd172016-10-16 12:12:11 -060035local_size = (1, 1, 1)
360:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600370:4 Function Definition: @main(i1;i1; ( temp void)
John Kessenichb50fd172016-10-16 12:12:11 -0600380:4 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -0600390:4 'dti' ( in int)
400:4 'gti' ( in int)
John Kessenichb50fd172016-10-16 12:12:11 -0600410:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600420:5 subtract ( temp int)
430:5 'dti' ( in int)
440:5 'gti' ( in int)
450:4 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700460:4 Function Parameters:
470:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600480: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 Kessenich71c100d2017-03-14 19:43:13 -0600580:? 'a' ( shared 100-element array of 4-component vector of float)
590:? 'dti' ( in int GlobalInvocationID)
600:? 'gti' ( in int LocalInvocationID)
John Kessenichb50fd172016-10-16 12:12:11 -060061
John Kessenich6c1c2762018-01-29 16:16:11 -070062// Module Version 10200
John Kessenichc72e5932017-12-11 08:24:06 -070063// Generated by (magic number): 80003
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
John Kessenich6fa17642017-04-07 15:33:08 -060071 Source HLSL 500
John Kessenichb50fd172016-10-16 12:12:11 -060072 Name 4 "main"
John Kessenich02467d82017-01-19 15:41:47 -070073 Name 11 "@main(i1;i1;"
74 Name 9 "dti"
John Kessenichf37f4d22017-01-02 14:59:19 -070075 Name 10 "gti"
John Kessenich02467d82017-01-19 15:41:47 -070076 Name 16 "dti"
77 Name 18 "dti"
78 Name 20 "gti"
79 Name 21 "gti"
80 Name 23 "param"
81 Name 25 "param"
82 Name 34 "a"
83 Decorate 18(dti) BuiltIn GlobalInvocationId
84 Decorate 21(gti) BuiltIn LocalInvocationId
John Kessenichb50fd172016-10-16 12:12:11 -060085 2: TypeVoid
86 3: TypeFunction 2
87 6: TypeInt 32 1
John Kessenich02467d82017-01-19 15:41:47 -070088 7: TypePointer Function 6(int)
89 8: TypeFunction 2 7(ptr) 7(ptr)
90 17: TypePointer Input 6(int)
91 18(dti): 17(ptr) Variable Input
92 21(gti): 17(ptr) Variable Input
93 28: TypeFloat 32
94 29: TypeVector 28(float) 4
95 30: TypeInt 32 0
96 31: 30(int) Constant 100
97 32: TypeArray 29(fvec4) 31
98 33: TypePointer Workgroup 32
99 34(a): 33(ptr) Variable Workgroup
John Kessenichb50fd172016-10-16 12:12:11 -0600100 4(main): 2 Function None 3
101 5: Label
John Kessenich02467d82017-01-19 15:41:47 -0700102 16(dti): 7(ptr) Variable Function
103 20(gti): 7(ptr) Variable Function
104 23(param): 7(ptr) Variable Function
105 25(param): 7(ptr) Variable Function
106 19: 6(int) Load 18(dti)
107 Store 16(dti) 19
108 22: 6(int) Load 21(gti)
109 Store 20(gti) 22
110 24: 6(int) Load 16(dti)
111 Store 23(param) 24
112 26: 6(int) Load 20(gti)
113 Store 25(param) 26
114 27: 2 FunctionCall 11(@main(i1;i1;) 23(param) 25(param)
115 Return
116 FunctionEnd
11711(@main(i1;i1;): 2 Function None 8
118 9(dti): 7(ptr) FunctionParameter
119 10(gti): 7(ptr) FunctionParameter
120 12: Label
121 13: 6(int) Load 9(dti)
122 14: 6(int) Load 10(gti)
123 15: 6(int) ISub 13 14
John Kessenichb50fd172016-10-16 12:12:11 -0600124 Return
125 FunctionEnd