Lines Matching refs:Op

44               Eq(MakeInstruction(spv::Op::OpConstantSampler,
76 Eq(MakeInstruction(spv::Op::OpConstantSampler,
122 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 0}),
123 MakeInstruction(spv::Op::OpConstant, {1, 2, 0x1234})})},
125 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 0}),
126 MakeInstruction(spv::Op::OpConstant, {1, 2, 0x8000})})},
128 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 0}),
129 MakeInstruction(spv::Op::OpConstant, {1, 2, 0})})},
131 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 0}),
132 MakeInstruction(spv::Op::OpConstant, {1, 2, 65535})})},
134 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 0}),
135 MakeInstruction(spv::Op::OpConstant, {1, 2, 65535})})},
137 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 1}),
138 MakeInstruction(spv::Op::OpConstant, {1, 2, 0xffff8000})})},
140 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 1}),
141 MakeInstruction(spv::Op::OpConstant, {1, 2, uint32_t(-32)})})},
143 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 1}),
144 MakeInstruction(spv::Op::OpConstant, {1, 2, 0})})},
146 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 1}),
147 MakeInstruction(spv::Op::OpConstant, {1, 2, 0})})},
149 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 1}),
150 MakeInstruction(spv::Op::OpConstant, {1, 2, 0})})},
152 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 1}),
153 MakeInstruction(spv::Op::OpConstant, {1, 2, uint32_t(-32768)})})},
156 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 32, 0}),
157 MakeInstruction(spv::Op::OpConstant, {1, 2, 42})})},
159 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 32, 1}),
160 MakeInstruction(spv::Op::OpConstant, {1, 2, uint32_t(-32)})})},
162 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 32, 1}),
163 MakeInstruction(spv::Op::OpConstant, {1, 2, 0})})},
165 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 32, 1}),
166 MakeInstruction(spv::Op::OpConstant, {1, 2, 0})})},
168 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 32, 1}),
169 MakeInstruction(spv::Op::OpConstant, {1, 2, 0})})},
171 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 32, 1}),
172 MakeInstruction(spv::Op::OpConstant, {1, 2, uint32_t(-1)})})},
174 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 32, 1}),
175 MakeInstruction(spv::Op::OpConstant, {1, 2, 0x7fffffffu})})},
177 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 32, 1}),
178 MakeInstruction(spv::Op::OpConstant, {1, 2, 0x80000000u})})},
180 Concatenate({MakeInstruction(spv::Op::OpTypeFloat, {1, 32}),
181 MakeInstruction(spv::Op::OpConstant, {1, 2, 0x3f800000})})},
183 Concatenate({MakeInstruction(spv::Op::OpTypeFloat, {1, 32}),
184 MakeInstruction(spv::Op::OpConstant, {1, 2, 0x41200000})})},
186 Concatenate({MakeInstruction(spv::Op::OpTypeFloat, {1, 32}),
187 MakeInstruction(spv::Op::OpConstant, {1, 2, 0xFF800000})})},
189 Concatenate({MakeInstruction(spv::Op::OpTypeFloat, {1, 32}),
190 MakeInstruction(spv::Op::OpConstant, {1, 2, 0x7F800000})})},
192 Concatenate({MakeInstruction(spv::Op::OpTypeFloat, {1, 32}),
193 MakeInstruction(spv::Op::OpConstant, {1, 2, 0xFFC00000})})},
195 Concatenate({MakeInstruction(spv::Op::OpTypeFloat, {1, 32}),
196 MakeInstruction(spv::Op::OpConstant, {1, 2, 0xFF800100})})},
199 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 48, 0}),
200 MakeInstruction(spv::Op::OpConstant, {1, 2, 0x1234, 0})})},
202 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 48, 0}),
203 MakeInstruction(spv::Op::OpConstant, {1, 2, 1, 0x00008000})})},
205 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 48, 1}),
206 MakeInstruction(spv::Op::OpConstant, {1, 2, 0, 0xffff8000})})},
208 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 48, 1}),
209 MakeInstruction(spv::Op::OpConstant, {1, 2, uint32_t(-32), uint32_t(-1)})})},
212 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 64, 0}),
213 MakeInstruction(spv::Op::OpConstant, {1, 2, 0x1234, 0})})},
215 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 64, 0}),
216 MakeInstruction(spv::Op::OpConstant, {1, 2, 0xffffffffu, 0xffffffffu})})},
218 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 64, 0}),
219 MakeInstruction(spv::Op::OpConstant, {1, 2, 0xffffffffu, 0xffffffffu})})},
221 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 64, 1}),
222 MakeInstruction(spv::Op::OpConstant, {1, 2, 0x1234, 0})})},
224 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 64, 1}),
225 MakeInstruction(spv::Op::OpConstant, {1, 2, uint32_t(-42), uint32_t(-1)})})},
227 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 64, 1}),
228 MakeInstruction(spv::Op::OpConstant, {1, 2, 0xffffffffu, 0xffffffffu})})},
230 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 64, 1}),
231 MakeInstruction(spv::Op::OpConstant, {1, 2, 0xffffffffu, 0x7fffffffu})})},
233 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 64, 1}),
234 MakeInstruction(spv::Op::OpConstant, {1, 2, 0x7fffffffu, 0})})},
391 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 0}),
392 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0x1234})})},
394 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 0}),
395 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0x8000})})},
397 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 1}),
398 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0xffff8000})})},
400 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 16, 1}),
401 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, uint32_t(-32)})})},
404 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 32, 0}),
405 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 42})})},
407 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 32, 1}),
408 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, uint32_t(-32)})})},
410 Concatenate({MakeInstruction(spv::Op::OpTypeFloat, {1, 32}),
411 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0x3f800000})})},
413 Concatenate({MakeInstruction(spv::Op::OpTypeFloat, {1, 32}),
414 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0x41200000})})},
417 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 48, 0}),
418 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0x1234, 0})})},
420 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 48, 0}),
421 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 1, 0x00008000})})},
423 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 48, 1}),
424 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0, 0xffff8000})})},
426 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 48, 1}),
427 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, uint32_t(-32), uint32_t(-1)})})},
430 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 64, 0}),
431 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0x1234, 0})})},
433 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 64, 1}),
434 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0x1234, 0})})},
436 Concatenate({MakeInstruction(spv::Op::OpTypeInt, {1, 64, 1}),
437 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, uint32_t(-42), uint32_t(-1)})})},
651 spvtest::TextToBinaryTestBase<::testing::TestWithParam<EnumCase<spv::Op>>>;
661 Eq(MakeInstruction(spv::Op::OpSpecConstantOp,
670 #define CASE1(NAME) { spv::Op::Op##NAME, #NAME, {3} }
671 #define CASE2(NAME) { spv::Op::Op##NAME, #NAME, {3, 4} }
672 #define CASE3(NAME) { spv::Op::Op##NAME, #NAME, {3, 4, 5} }
673 #define CASE4(NAME) { spv::Op::Op##NAME, #NAME, {3, 4, 5, 6} }
674 #define CASE5(NAME) { spv::Op::Op##NAME, #NAME, {3, 4, 5, 6, 7} }
675 #define CASE6(NAME) { spv::Op::Op##NAME, #NAME, {3, 4, 5, 6, 7, 8} }
678 ::testing::ValuesIn(std::vector<EnumCase<spv::Op>>{
762 spvtest::TextToBinaryTestBase<::testing::TestWithParam<EnumCase<spv::Op>>>;
773 Eq(MakeInstruction(spv::Op::OpSpecConstantOp,
781 #define CASE(NAME) spv::Op::Op##NAME, #NAME
785 ::testing::ValuesIn(std::vector<EnumCase<spv::Op>>{
800 spvtest::TextToBinaryTestBase<::testing::TestWithParam<EnumCase<spv::Op>>>;
811 Eq(MakeInstruction(spv::Op::OpSpecConstantOp,
819 #define CASE(NAME) spv::Op::Op##NAME, #NAME
823 ::testing::ValuesIn(std::vector<EnumCase<spv::Op>>{