mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
aco: don't check usesModifiers for pseudo instructions
This can't happen. Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22106>
This commit is contained in:
parent
9df5a2bd62
commit
b1668aedaf
1 changed files with 0 additions and 2 deletions
|
|
@ -1803,8 +1803,6 @@ label_instruction(opt_ctx& ctx, aco_ptr<Instruction>& instr)
|
|||
case aco_opcode::p_as_uniform:
|
||||
if (instr->definitions[0].isFixed()) {
|
||||
/* don't copy-propagate copies into fixed registers */
|
||||
} else if (instr->usesModifiers()) {
|
||||
// TODO
|
||||
} else if (instr->operands[0].isConstant()) {
|
||||
ctx.info[instr->definitions[0].tempId()].set_constant(
|
||||
ctx.program->gfx_level, instr->operands[0].constantValue64());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue