mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 00:10:20 +01:00
aco: don't CSE p_shader_cycles_hi_lo_hi
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Fixes: fae2a85d57 ("aco/gfx12: implement subgroup shader clock")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12243
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32500>
This commit is contained in:
parent
6c70b10f03
commit
ab26b99c2c
1 changed files with 1 additions and 0 deletions
|
|
@ -313,6 +313,7 @@ can_eliminate(aco_ptr<Instruction>& instr)
|
|||
if (instr->definitions.empty() || instr->opcode == aco_opcode::p_phi ||
|
||||
instr->opcode == aco_opcode::p_linear_phi ||
|
||||
instr->opcode == aco_opcode::p_pops_gfx9_add_exiting_wave_id ||
|
||||
instr->opcode == aco_opcode::p_shader_cycles_hi_lo_hi ||
|
||||
instr->definitions[0].isNoCSE())
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue