mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
249 lines
11 KiB
Plaintext
249 lines
11 KiB
Plaintext
spv.coopmatKHR_arithmetic.comp
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000b
|
|
// Id's are bound by 196
|
|
|
|
Capability Shader
|
|
Capability Float16
|
|
Capability Int8
|
|
Capability VulkanMemoryModelKHR
|
|
Capability CooperativeMatrixKHR
|
|
Extension "SPV_KHR_cooperative_matrix"
|
|
Extension "SPV_KHR_vulkan_memory_model"
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical VulkanKHR
|
|
EntryPoint GLCompute 4 "main"
|
|
ExecutionMode 4 LocalSize 64 1 1
|
|
Source GLSL 450
|
|
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
|
SourceExtension "GL_KHR_cooperative_matrix"
|
|
SourceExtension "GL_KHR_memory_scope_semantics"
|
|
Name 4 "main"
|
|
Name 13 "f"
|
|
Name 48 "f16"
|
|
Name 82 "u32"
|
|
Name 117 "u8"
|
|
Name 152 "i8"
|
|
Decorate 195 BuiltIn WorkgroupSize
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypeInt 32 0
|
|
8: 7(int) Constant 3
|
|
9: 7(int) Constant 8
|
|
10: 7(int) Constant 0
|
|
11: TypeCooperativeMatrixKHR 6(float) 8 9 9 10
|
|
12: TypePointer Function 11
|
|
39: 6(float) Constant 1073741824
|
|
45: TypeFloat 16
|
|
46: TypeCooperativeMatrixKHR 45(float16_t) 8 9 9 10
|
|
47: TypePointer Function 46
|
|
74:45(float16_t) Constant 16384
|
|
80: TypeCooperativeMatrixKHR 7(int) 8 9 9 10
|
|
81: TypePointer Function 80
|
|
108: 7(int) Constant 2
|
|
114: TypeInt 8 0
|
|
115: TypeCooperativeMatrixKHR 114(int8_t) 8 9 9 10
|
|
116: TypePointer Function 115
|
|
143: 114(int8_t) Constant 2
|
|
149: TypeInt 8 1
|
|
150: TypeCooperativeMatrixKHR 149(int8_t) 8 9 9 10
|
|
151: TypePointer Function 150
|
|
178: 149(int8_t) Constant 2
|
|
192: TypeVector 7(int) 3
|
|
193: 7(int) Constant 64
|
|
194: 7(int) Constant 1
|
|
195: 192(ivec3) ConstantComposite 193 194 194
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
13(f): 12(ptr) Variable Function
|
|
48(f16): 47(ptr) Variable Function
|
|
82(u32): 81(ptr) Variable Function
|
|
117(u8): 116(ptr) Variable Function
|
|
152(i8): 151(ptr) Variable Function
|
|
14: 11 Load 13(f)
|
|
15: 11 Load 13(f)
|
|
16: 11 FAdd 14 15
|
|
17: 11 Load 13(f)
|
|
18: 11 Load 13(f)
|
|
19: 11 FSub 17 18
|
|
20: 11 Load 13(f)
|
|
21: 11 Load 13(f)
|
|
22: 11 FMul 20 21
|
|
23: 11 Load 13(f)
|
|
24: 11 Load 13(f)
|
|
25: 11 FDiv 23 24
|
|
26: 11 Load 13(f)
|
|
27: 11 Load 13(f)
|
|
28: 11 FAdd 27 26
|
|
Store 13(f) 28
|
|
29: 11 Load 13(f)
|
|
30: 11 Load 13(f)
|
|
31: 11 FSub 30 29
|
|
Store 13(f) 31
|
|
32: 11 Load 13(f)
|
|
33: 11 Load 13(f)
|
|
34: 11 FMul 33 32
|
|
Store 13(f) 34
|
|
35: 11 Load 13(f)
|
|
36: 11 Load 13(f)
|
|
37: 11 FDiv 36 35
|
|
Store 13(f) 37
|
|
38: 11 Load 13(f)
|
|
40: 11 MatrixTimesScalar 38 39
|
|
41: 11 Load 13(f)
|
|
42: 11 MatrixTimesScalar 41 39
|
|
43: 11 Load 13(f)
|
|
44: 11 MatrixTimesScalar 43 39
|
|
Store 13(f) 44
|
|
49: 46 Load 48(f16)
|
|
50: 46 Load 48(f16)
|
|
51: 46 FAdd 49 50
|
|
52: 46 Load 48(f16)
|
|
53: 46 Load 48(f16)
|
|
54: 46 FSub 52 53
|
|
55: 46 Load 48(f16)
|
|
56: 46 Load 48(f16)
|
|
57: 46 FMul 55 56
|
|
58: 46 Load 48(f16)
|
|
59: 46 Load 48(f16)
|
|
60: 46 FDiv 58 59
|
|
61: 46 Load 48(f16)
|
|
62: 46 Load 48(f16)
|
|
63: 46 FAdd 62 61
|
|
Store 48(f16) 63
|
|
64: 46 Load 48(f16)
|
|
65: 46 Load 48(f16)
|
|
66: 46 FSub 65 64
|
|
Store 48(f16) 66
|
|
67: 46 Load 48(f16)
|
|
68: 46 Load 48(f16)
|
|
69: 46 FMul 68 67
|
|
Store 48(f16) 69
|
|
70: 46 Load 48(f16)
|
|
71: 46 Load 48(f16)
|
|
72: 46 FDiv 71 70
|
|
Store 48(f16) 72
|
|
73: 46 Load 48(f16)
|
|
75: 46 MatrixTimesScalar 73 74
|
|
76: 46 Load 48(f16)
|
|
77: 46 MatrixTimesScalar 76 74
|
|
78: 46 Load 48(f16)
|
|
79: 46 MatrixTimesScalar 78 74
|
|
Store 48(f16) 79
|
|
83: 80 Load 82(u32)
|
|
84: 80 Load 82(u32)
|
|
85: 80 IAdd 83 84
|
|
86: 80 Load 82(u32)
|
|
87: 80 Load 82(u32)
|
|
88: 80 ISub 86 87
|
|
89: 80 Load 82(u32)
|
|
90: 80 Load 82(u32)
|
|
91: 80 IMul 89 90
|
|
92: 80 Load 82(u32)
|
|
93: 80 Load 82(u32)
|
|
94: 80 UDiv 92 93
|
|
95: 80 Load 82(u32)
|
|
96: 80 Load 82(u32)
|
|
97: 80 IAdd 96 95
|
|
Store 82(u32) 97
|
|
98: 80 Load 82(u32)
|
|
99: 80 Load 82(u32)
|
|
100: 80 ISub 99 98
|
|
Store 82(u32) 100
|
|
101: 80 Load 82(u32)
|
|
102: 80 Load 82(u32)
|
|
103: 80 IMul 102 101
|
|
Store 82(u32) 103
|
|
104: 80 Load 82(u32)
|
|
105: 80 Load 82(u32)
|
|
106: 80 UDiv 105 104
|
|
Store 82(u32) 106
|
|
107: 80 Load 82(u32)
|
|
109: 80 MatrixTimesScalar 107 108
|
|
110: 80 Load 82(u32)
|
|
111: 80 MatrixTimesScalar 110 108
|
|
112: 80 Load 82(u32)
|
|
113: 80 MatrixTimesScalar 112 108
|
|
Store 82(u32) 113
|
|
118: 115 Load 117(u8)
|
|
119: 115 Load 117(u8)
|
|
120: 115 IAdd 118 119
|
|
121: 115 Load 117(u8)
|
|
122: 115 Load 117(u8)
|
|
123: 115 ISub 121 122
|
|
124: 115 Load 117(u8)
|
|
125: 115 Load 117(u8)
|
|
126: 115 IMul 124 125
|
|
127: 115 Load 117(u8)
|
|
128: 115 Load 117(u8)
|
|
129: 115 UDiv 127 128
|
|
130: 115 Load 117(u8)
|
|
131: 115 Load 117(u8)
|
|
132: 115 IAdd 131 130
|
|
Store 117(u8) 132
|
|
133: 115 Load 117(u8)
|
|
134: 115 Load 117(u8)
|
|
135: 115 ISub 134 133
|
|
Store 117(u8) 135
|
|
136: 115 Load 117(u8)
|
|
137: 115 Load 117(u8)
|
|
138: 115 IMul 137 136
|
|
Store 117(u8) 138
|
|
139: 115 Load 117(u8)
|
|
140: 115 Load 117(u8)
|
|
141: 115 UDiv 140 139
|
|
Store 117(u8) 141
|
|
142: 115 Load 117(u8)
|
|
144: 115 MatrixTimesScalar 142 143
|
|
145: 115 Load 117(u8)
|
|
146: 115 MatrixTimesScalar 145 143
|
|
147: 115 Load 117(u8)
|
|
148: 115 MatrixTimesScalar 147 143
|
|
Store 117(u8) 148
|
|
153: 150 Load 152(i8)
|
|
154: 150 Load 152(i8)
|
|
155: 150 IAdd 153 154
|
|
156: 150 Load 152(i8)
|
|
157: 150 Load 152(i8)
|
|
158: 150 ISub 156 157
|
|
159: 150 Load 152(i8)
|
|
160: 150 Load 152(i8)
|
|
161: 150 IMul 159 160
|
|
162: 150 Load 152(i8)
|
|
163: 150 Load 152(i8)
|
|
164: 150 SDiv 162 163
|
|
165: 150 Load 152(i8)
|
|
166: 150 Load 152(i8)
|
|
167: 150 IAdd 166 165
|
|
Store 152(i8) 167
|
|
168: 150 Load 152(i8)
|
|
169: 150 Load 152(i8)
|
|
170: 150 ISub 169 168
|
|
Store 152(i8) 170
|
|
171: 150 Load 152(i8)
|
|
172: 150 Load 152(i8)
|
|
173: 150 IMul 172 171
|
|
Store 152(i8) 173
|
|
174: 150 Load 152(i8)
|
|
175: 150 Load 152(i8)
|
|
176: 150 SDiv 175 174
|
|
Store 152(i8) 176
|
|
177: 150 Load 152(i8)
|
|
179: 150 MatrixTimesScalar 177 178
|
|
180: 150 Load 152(i8)
|
|
181: 150 MatrixTimesScalar 180 178
|
|
182: 150 Load 152(i8)
|
|
183: 150 MatrixTimesScalar 182 178
|
|
Store 152(i8) 183
|
|
184: 11 Load 13(f)
|
|
185: 11 FNegate 184
|
|
186: 46 Load 48(f16)
|
|
187: 46 FNegate 186
|
|
188: 150 Load 152(i8)
|
|
189: 150 SNegate 188
|
|
190: 115 Load 117(u8)
|
|
191: 115 SNegate 190
|
|
Return
|
|
FunctionEnd
|