1
1
; SPIR-V
2
2
; Version: 1.1
3
3
; Generator: rspirv
4
- ; Bound: 95
4
+ ; Bound: 162
5
5
OpCapability Shader
6
- OpCapability DotProductKHR
7
- OpCapability DotProductInput4x8BitPackedKHR
8
- OpExtension "SPV_KHR_integer_dot_product"
9
6
%1 = OpExtInstImport "GLSL.std.450"
10
7
OpMemoryModel Logical GLSL450
11
- OpEntryPoint GLCompute %89 "main"
12
- OpExecutionMode %89 LocalSize 1 1 1
8
+ OpEntryPoint GLCompute %156 "main"
9
+ OpExecutionMode %156 LocalSize 1 1 1
13
10
%2 = OpTypeVoid
14
11
%4 = OpTypeFloat 32
15
12
%3 = OpTypeVector %4 2
@@ -42,7 +39,10 @@ OpExecutionMode %89 LocalSize 1 1 1
42
39
%76 = OpConstant %6 6
43
40
%77 = OpConstant %6 7
44
41
%78 = OpConstant %6 8
45
- %90 = OpTypeFunction %2
42
+ %83 = OpConstant %6 0
43
+ %84 = OpConstant %6 16
44
+ %85 = OpConstant %6 24
45
+ %157 = OpTypeFunction %2
46
46
%8 = OpFunction %3 None %9
47
47
%7 = OpLabel
48
48
OpBranch %14
@@ -96,22 +96,86 @@ OpFunctionEnd
96
96
%69 = OpLabel
97
97
OpBranch %79
98
98
%79 = OpLabel
99
- %80 = OpSDotKHR %5 %22 %72 PackedVectorFormat4x8BitKHR
100
- %81 = OpUDotKHR %6 %73 %74 PackedVectorFormat4x8BitKHR
101
- %82 = OpIAdd %6 %75 %81
102
- %83 = OpIAdd %6 %76 %81
103
- %84 = OpSDotKHR %5 %82 %83 PackedVectorFormat4x8BitKHR
104
- %85 = OpIAdd %6 %77 %81
105
- %86 = OpIAdd %6 %78 %81
106
- %87 = OpUDotKHR %6 %85 %86 PackedVectorFormat4x8BitKHR
107
- OpReturnValue %87
99
+ %81 = OpBitcast %5 %22
100
+ %82 = OpBitcast %5 %72
101
+ %86 = OpBitFieldSExtract %5 %81 %83 %78
102
+ %87 = OpBitFieldSExtract %5 %82 %83 %78
103
+ %88 = OpIMul %5 %86 %87
104
+ %89 = OpIAdd %5 %32 %88
105
+ %90 = OpBitFieldSExtract %5 %81 %78 %78
106
+ %91 = OpBitFieldSExtract %5 %82 %78 %78
107
+ %92 = OpIMul %5 %90 %91
108
+ %93 = OpIAdd %5 %89 %92
109
+ %94 = OpBitFieldSExtract %5 %81 %84 %78
110
+ %95 = OpBitFieldSExtract %5 %82 %84 %78
111
+ %96 = OpIMul %5 %94 %95
112
+ %97 = OpIAdd %5 %93 %96
113
+ %98 = OpBitFieldSExtract %5 %81 %85 %78
114
+ %99 = OpBitFieldSExtract %5 %82 %85 %78
115
+ %100 = OpIMul %5 %98 %99
116
+ %80 = OpIAdd %5 %97 %100
117
+ %102 = OpBitFieldUExtract %6 %73 %83 %78
118
+ %103 = OpBitFieldUExtract %6 %74 %83 %78
119
+ %104 = OpIMul %6 %102 %103
120
+ %105 = OpIAdd %6 %41 %104
121
+ %106 = OpBitFieldUExtract %6 %73 %78 %78
122
+ %107 = OpBitFieldUExtract %6 %74 %78 %78
123
+ %108 = OpIMul %6 %106 %107
124
+ %109 = OpIAdd %6 %105 %108
125
+ %110 = OpBitFieldUExtract %6 %73 %84 %78
126
+ %111 = OpBitFieldUExtract %6 %74 %84 %78
127
+ %112 = OpIMul %6 %110 %111
128
+ %113 = OpIAdd %6 %109 %112
129
+ %114 = OpBitFieldUExtract %6 %73 %85 %78
130
+ %115 = OpBitFieldUExtract %6 %74 %85 %78
131
+ %116 = OpIMul %6 %114 %115
132
+ %101 = OpIAdd %6 %113 %116
133
+ %117 = OpIAdd %6 %75 %101
134
+ %118 = OpIAdd %6 %76 %101
135
+ %120 = OpBitcast %5 %117
136
+ %121 = OpBitcast %5 %118
137
+ %122 = OpBitFieldSExtract %5 %120 %83 %78
138
+ %123 = OpBitFieldSExtract %5 %121 %83 %78
139
+ %124 = OpIMul %5 %122 %123
140
+ %125 = OpIAdd %5 %32 %124
141
+ %126 = OpBitFieldSExtract %5 %120 %78 %78
142
+ %127 = OpBitFieldSExtract %5 %121 %78 %78
143
+ %128 = OpIMul %5 %126 %127
144
+ %129 = OpIAdd %5 %125 %128
145
+ %130 = OpBitFieldSExtract %5 %120 %84 %78
146
+ %131 = OpBitFieldSExtract %5 %121 %84 %78
147
+ %132 = OpIMul %5 %130 %131
148
+ %133 = OpIAdd %5 %129 %132
149
+ %134 = OpBitFieldSExtract %5 %120 %85 %78
150
+ %135 = OpBitFieldSExtract %5 %121 %85 %78
151
+ %136 = OpIMul %5 %134 %135
152
+ %119 = OpIAdd %5 %133 %136
153
+ %137 = OpIAdd %6 %77 %101
154
+ %138 = OpIAdd %6 %78 %101
155
+ %140 = OpBitFieldUExtract %6 %137 %83 %78
156
+ %141 = OpBitFieldUExtract %6 %138 %83 %78
157
+ %142 = OpIMul %6 %140 %141
158
+ %143 = OpIAdd %6 %41 %142
159
+ %144 = OpBitFieldUExtract %6 %137 %78 %78
160
+ %145 = OpBitFieldUExtract %6 %138 %78 %78
161
+ %146 = OpIMul %6 %144 %145
162
+ %147 = OpIAdd %6 %143 %146
163
+ %148 = OpBitFieldUExtract %6 %137 %84 %78
164
+ %149 = OpBitFieldUExtract %6 %138 %84 %78
165
+ %150 = OpIMul %6 %148 %149
166
+ %151 = OpIAdd %6 %147 %150
167
+ %152 = OpBitFieldUExtract %6 %137 %85 %78
168
+ %153 = OpBitFieldUExtract %6 %138 %85 %78
169
+ %154 = OpIMul %6 %152 %153
170
+ %139 = OpIAdd %6 %151 %154
171
+ OpReturnValue %139
108
172
OpFunctionEnd
109
- %89 = OpFunction %2 None %90
110
- %88 = OpLabel
111
- OpBranch %91
112
- %91 = OpLabel
113
- %92 = OpFunctionCall %3 %8
114
- %93 = OpFunctionCall %5 %17
115
- %94 = OpFunctionCall %6 %70
173
+ %156 = OpFunction %2 None %157
174
+ %155 = OpLabel
175
+ OpBranch %158
176
+ %158 = OpLabel
177
+ %159 = OpFunctionCall %3 %8
178
+ %160 = OpFunctionCall %5 %17
179
+ %161 = OpFunctionCall %6 %70
116
180
OpReturn
117
181
OpFunctionEnd
0 commit comments