mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
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:
parent
ff6802687a
commit
4c94467e5f
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue