Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
Dsfn_instr_test.cpp409 EXPECT_EQ(tex.dest_swizzle(i), i); in TEST_F()
449 EXPECT_EQ(tex.dest_swizzle(0), 4); in TEST_F()
450 EXPECT_EQ(tex.dest_swizzle(1), 7); in TEST_F()
451 EXPECT_EQ(tex.dest_swizzle(2), 0); in TEST_F()
452 EXPECT_EQ(tex.dest_swizzle(3), 1); in TEST_F()
455 EXPECT_EQ(tex.dest_swizzle(0), 7); in TEST_F()
456 EXPECT_EQ(tex.dest_swizzle(1), 2); in TEST_F()
457 EXPECT_EQ(tex.dest_swizzle(2), 5); in TEST_F()
458 EXPECT_EQ(tex.dest_swizzle(3), 0); in TEST_F()
487 EXPECT_EQ(tex.dest_swizzle(i), i); in TEST_F()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instr.cpp190 const RegisterVec4::Swizzle& dest_swizzle): in InstrWithVectorResult() argument
192 m_dest_swizzle(dest_swizzle) in InstrWithVectorResult()
209 const RegisterVec4::Swizzle& dest_swizzle) const in comp_dest()
215 if (m_dest_swizzle[i] != dest_swizzle[i]) in comp_dest()
Dsfn_instr.h244 InstrWithVectorResult(const RegisterVec4& dest, const RegisterVec4::Swizzle& dest_swizzle);
247 int dest_swizzle(int i) const { return m_dest_swizzle[i];} in dest_swizzle() function
255 bool comp_dest(const RegisterVec4& dest, const RegisterVec4::Swizzle& dest_swizzle) const;
Dsfn_assembler.cpp453 tex.dst_sel_x = tex_instr.dest_swizzle(0); in visit()
454 tex.dst_sel_y = tex_instr.dest_swizzle(1); in visit()
455 tex.dst_sel_z = tex_instr.dest_swizzle(2); in visit()
456 tex.dst_sel_w = tex_instr.dest_swizzle(3); in visit()
675 vtx.dst_sel_x = fetch_instr.dest_swizzle(0); /* SEL_X */ in visit()
676 vtx.dst_sel_y = fetch_instr.dest_swizzle(1); /* SEL_Y */ in visit()
677 vtx.dst_sel_z = fetch_instr.dest_swizzle(2); /* SEL_Z */ in visit()
678 vtx.dst_sel_w = fetch_instr.dest_swizzle(3); /* SEL_W */ in visit()
Dsfn_instr_tex.cpp37 const RegisterVec4::Swizzle& dest_swizzle, in TexInstr() argument
40 InstrWithVectorResult(dest, dest_swizzle), in TexInstr()
835 auto dest_swizzle = shader.chip_class() <= ISA_CC_EVERGREEN ? in emit_tex_tg4()
873 auto irt = new TexInstr(src.opcode, dst, dest_swizzle, src_coord, sampler.id, in emit_tex_tg4()
Dsfn_instr_fetch.h64 const RegisterVec4::Swizzle& dest_swizzle,
Dsfn_instr_tex.h103 const RegisterVec4::Swizzle& dest_swizzle,
Dsfn_instr_fetch.cpp40 const RegisterVec4::Swizzle& dest_swizzle, in FetchInstr() argument
49 InstrWithVectorResult(dst, dest_swizzle), in FetchInstr()