1
1
; SPIR-V
2
2
; Version: 1.1
3
3
; Generator: rspirv
4
- ; Bound: 162
4
+ ; Bound: 95
5
5
OpCapability Shader
6
+ OpCapability DotProductKHR
7
+ OpCapability DotProductInput4x8BitPackedKHR
8
+ OpExtension "SPV_KHR_integer_dot_product"
6
9
%1 = OpExtInstImport "GLSL.std.450"
7
10
OpMemoryModel Logical GLSL450
8
- OpEntryPoint GLCompute %156 "main"
9
- OpExecutionMode %156 LocalSize 1 1 1
11
+ OpEntryPoint GLCompute %89 "main"
12
+ OpExecutionMode %89 LocalSize 1 1 1
10
13
%2 = OpTypeVoid
11
14
%4 = OpTypeFloat 32
12
15
%3 = OpTypeVector %4 2
@@ -39,10 +42,7 @@ OpExecutionMode %156 LocalSize 1 1 1
39
42
%76 = OpConstant %6 6
40
43
%77 = OpConstant %6 7
41
44
%78 = OpConstant %6 8
42
- %83 = OpConstant %6 0
43
- %84 = OpConstant %6 16
44
- %85 = OpConstant %6 24
45
- %157 = OpTypeFunction %2
45
+ %90 = OpTypeFunction %2
46
46
%8 = OpFunction %3 None %9
47
47
%7 = OpLabel
48
48
OpBranch %14
@@ -96,86 +96,22 @@ OpFunctionEnd
96
96
%69 = OpLabel
97
97
OpBranch %79
98
98
%79 = OpLabel
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
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
172
108
OpFunctionEnd
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
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
180
116
OpReturn
181
117
OpFunctionEnd
0 commit comments