Home
last modified time | relevance | path

Searched refs:ExportInstr (Results 1 - 19 of 19) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_instr_export.cpp59 ExportInstr::ExportInstr(ExportType type, unsigned loc, const RegisterVec4& value): in ExportInstr() function in r600::ExportInstr
67 void ExportInstr::accept(ConstInstrVisitor& visitor) const in accept()
72 void ExportInstr::accept(InstrVisitor& visitor) in accept()
78 bool ExportInstr::is_equal_to(const ExportInstr& lhs) const in is_equal_to()
88 ExportInstr::ExportType ExportInstr::type_from_string(const std::string& s) in type_from_string()
94 void ExportInstr::do_print(std::ostream& os) const in do_print()
109 bool ExportInstr
[all...]
H A Dsfn_instr_export.h51 class ExportInstr: public WriteOutInstr { class
59 using Pointer = R600_POINTER_TYPE(ExportInstr);
61 ExportInstr(ExportType type, unsigned loc, const RegisterVec4& value);
62 ExportInstr(const ExportInstr& orig) = delete;
67 bool is_equal_to(const ExportInstr& lhs) const;
83 static ExportInstr::Pointer from_string_impl(std::istream& is, ValueFactory &vf);
H A Dsfn_shader_vs.cpp157 m_last_param_export = new ExportInstr(ExportInstr::param, param, primid); in finalize()
168 m_last_pos_export = new ExportInstr(ExportInstr::pos, 0, value); in finalize()
174 m_last_param_export = new ExportInstr(ExportInstr::param, 0, value); in finalize()
253 m_last_pos_export = new ExportInstr(ExportInstr::pos, export_slot, value); in emit_varying_pos()
288 m_last_param_export = new ExportInstr(ExportInstr in emit_varying_param()
[all...]
H A Dsfn_scheduler.cpp64 void visit(ExportInstr *instr) override {
135 std::list<ExportInstr *> exports;
182 bool schedule_exports(Shader::ShaderBlocks& out_blocks, std::list<ExportInstr *>& ready_list);
194 std::list<ExportInstr *> exports_ready;
213 ExportInstr *m_last_pos;
214 ExportInstr *m_last_pixel;
215 ExportInstr *m_last_param;
749 bool BlockSheduler::schedule_exports(Shader::ShaderBlocks& out_blocks, std::list<ExportInstr *>& ready_list) in schedule_exports()
760 case ExportInstr::pos: m_last_pos = *ii; break; in schedule_exports()
761 case ExportInstr in schedule_exports()
[all...]
H A Dsfn_instr.h44 class ExportInstr;
287 virtual void visit(const ExportInstr& instr) = 0;
308 virtual void visit(ExportInstr *instr) = 0;
H A Dsfn_shader_vs.h103 ExportInstr *m_last_param_export{nullptr};
104 ExportInstr *m_last_pos_export{nullptr};
H A Dsfn_optimizer.cpp74 void visit(ExportInstr *instr) override {(void)instr;};
247 void visit(ExportInstr *instr) override {(void)instr;}
275 void visit(ExportInstr *instr) override {(void)instr;}
491 void visit(ExportInstr *instr) override;
548 void SimplifySourceVecVisitor::visit(ExportInstr *instr) in visit()
H A Dsfn_instrfactory.cpp81 result = ExportInstr::from_string(is, m_value_factory); in from_string()
83 result = ExportInstr::last_from_string(is, m_value_factory); in from_string()
H A Dsfn_shader_fs.cpp512 m_last_pixel_export = new ExportInstr(ExportInstr::pixel, location, value); in emit_export_pixel()
536 emit_instruction(new ExportInstr(ExportInstr::pixel, 61, value)); in emit_export_pixel()
569 m_last_pixel_export = new ExportInstr(ExportInstr::pixel, 0, value); in do_finalize()
H A Dsfn_shader_fs.h79 ExportInstr *m_last_pixel_export;
H A Dsfn_liverangeevaluator.cpp51 void visit(ExportInstr *instr) override;
263 void LiveRangeInstrVisitor::visit(ExportInstr *instr) in visit()
H A Dsfn_instr.cpp456 DECLARE_MEMBER(ExportInstr);
487 void visit(const ExportInstr& instr) override {
H A Dsfn_peephole.cpp37 void visit(ExportInstr *instr) override {(void)instr;}
H A Dsfn_assembler.cpp56 void visit(const ExportInstr& instr) override;
488 void AssamblerVisitor::visit(const ExportInstr& exi) in visit()
507 case ExportInstr::pixel: in visit()
511 case ExportInstr::pos: in visit()
515 case ExportInstr::param: in visit()
H A Dsfn_instr_alu.h204 void visit(ExportInstr *instr) override {(void)instr;}
H A Dsfn_shader.h359 void visit(ExportInstr *instr) override {(void) instr;}
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
H A Dsfn_instr_test.cpp569 ExportInstr exp0(ExportInstr::param, 60, RegisterVec4(200)); in TEST_F()
571 EXPECT_EQ(exp0.export_type(), ExportInstr::param); in TEST_F()
576 ExportInstr exp1(ExportInstr::param, 60, RegisterVec4(200)); in TEST_F()
583 ExportInstr exp2(ExportInstr::pos, 60, RegisterVec4(200)); in TEST_F()
584 EXPECT_EQ(exp2.export_type(), ExportInstr::pos); in TEST_F()
587 ExportInstr exp3(ExportInstr in TEST_F()
[all...]
H A Dsfn_instrfromstring_test.cpp398 ExportInstr expect(ExportInstr::param, 60, RegisterVec4(1001)); in TEST_F()
406 ExportInstr expect(ExportInstr::pos, 61, RegisterVec4(1002, false, {1, 4, 5, 7})); in TEST_F()
414 ExportInstr expect(ExportInstr::pixel, 0, RegisterVec4(1002, false, {2, 3, 0, 1})); in TEST_F()
H A Dsfn_shaderfromstring_test.cpp80 auto exp = new ExportInstr( in TEST_F()
81 ExportInstr::pixel, 0, RegisterVec4(2000, false)); in TEST_F()

Completed in 15 milliseconds