nir,aco: Add ds_bvh_stack_rtn
This is a ds instruction that also overwrites its first input, so introduce a new ds format with two outputs. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35269>
This commit is contained in:
@@ -513,7 +513,7 @@ emit_ds_instruction(asm_context& ctx, std::vector<uint32_t>& out, const Instruct
|
||||
out.push_back(encoding);
|
||||
encoding = 0;
|
||||
if (!instr->definitions.empty())
|
||||
encoding |= reg(ctx, instr->definitions[0], 8) << 24;
|
||||
encoding |= reg(ctx, instr->definitions.back(), 8) << 24;
|
||||
for (unsigned i = 0; i < MIN2(instr->operands.size(), 3); i++) {
|
||||
const Operand& op = instr->operands[i];
|
||||
if (op.physReg() != m0 && !op.isUndefined())
|
||||
|
||||
Reference in New Issue
Block a user