r600/sfn: add an unreachable if the creation of a fp64 group fails
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36860>
This commit is contained in:
@@ -2201,7 +2201,8 @@ emit_alu_fma_64bit(const nir_alu_instr& alu, EAluOp opcode, Shader& shader)
|
||||
value_factory.src64(alu.src[1], 0, chan),
|
||||
value_factory.src64(alu.src[2], 0, chan),
|
||||
i < 2 ? AluInstr::write : AluInstr::empty);
|
||||
group->add_instruction(ir);
|
||||
if (!group->add_instruction(ir))
|
||||
UNREACHABLE("Unable to emit group, likely because of a readport conflict\n");
|
||||
}
|
||||
shader.emit_instruction(group);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user