Home
last modified time | relevance | path

Searched refs:ASSERT_OR_THROW (Results 1 - 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_virtualvalues.cpp65 ASSERT_OR_THROW(m_sel < virtual_register_base || pin != pin_fully, "Register is virtual but pinned to sel"); in VirtualValue()
568 ASSERT_OR_THROW(s[1] == '[', "inline const not started with '['");
578 ASSERT_OR_THROW(s[i] == ']', "inline const not closed with ']'");
599 ASSERT_OR_THROW(value != ALU_SRC_UNKNOWN, "Unknwon inline constant was given");
602 ASSERT_OR_THROW(s[i + 1] == '.', "inline const channel not started with '.'");
612 ASSERT_OR_THROW(0, "invalied inline const channel ");
788 ASSERT_OR_THROW(offset < m_size, "Array: index out of range");
789 ASSERT_OR_THROW(chan < m_nchannels, "Array: channel out of range");
818 ASSERT_OR_THROW(offset < m_size, "Array: indirect constant index out of range");
H A Dsfn_virtualvalues.h41 #define ASSERT_OR_THROW(EXPR, ERROR) if (!(EXPR)) throw std::invalid_argument(ERROR) macro
43 #define ASSERT_OR_THROW(EXPR, ERROR) if (!(EXPR)) unreachable(ERROR) macro
H A Dsfn_instr_alu.cpp60 ASSERT_OR_THROW(m_src.size() == static_cast<size_t>(alu_ops.at(opcode).nsrc * m_alu_slots), in AluInstr()
64 ASSERT_OR_THROW(dest, "Write flag is set, but no destination register is given"); in AluInstr()

Completed in 5 milliseconds