Home
last modified time | relevance | path

Searched refs:fma_alu (Results 1 – 1 of 1) sorted by relevance

/third_party/mesa3d/src/compiler/nir/tests/
Dserialize_tests.cpp169 nir_alu_instr *fma_alu = nir_instr_as_alu(fma->parent_instr); in TEST_P() local
172 fma_alu->dest.write_mask = (1 << GetParam()) - 1; in TEST_P()
174 memset(fma_alu->src[0].swizzle, 1, GetParam()); in TEST_P()
175 memset(fma_alu->src[1].swizzle, 1, GetParam()); in TEST_P()
176 memset(fma_alu->src[2].swizzle, 1, GetParam()); in TEST_P()
182 ASSERT_SWIZZLE_EQ(fma_alu, fma_alu_dup, GetParam(), 0); in TEST_P()
183 ASSERT_SWIZZLE_EQ(fma_alu, fma_alu_dup, GetParam(), 1); in TEST_P()
184 ASSERT_SWIZZLE_EQ(fma_alu, fma_alu_dup, GetParam(), 2); in TEST_P()
191 nir_alu_instr *fma_alu = nir_instr_as_alu(fma->parent_instr); in TEST_P() local
193 memset(fma_alu->src[0].swizzle, 1, GetParam()); in TEST_P()
[all …]