mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 04:20:24 +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 (cherry picked from commitab26b99c2c) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32730>
This commit is contained in:
parent
f750108aa9
commit
3cffcc3da7
2 changed files with 2 additions and 1 deletions
|
|
@ -124,7 +124,7 @@
|
|||
"description": "aco: don't CSE p_shader_cycles_hi_lo_hi",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "fae2a85d57a49bfbd4efb05ea1d4e53071c2ffd2",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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