mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-22 09:30:38 +01:00
intel/fs: Remove unused condition from opt_algebraic case
We will never hit a condition where we have src1 and src2 as immediate operands. Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
9e0c744f07
commit
066d2aebc0
1 changed files with 0 additions and 5 deletions
|
|
@ -2720,11 +2720,6 @@ fs_visitor::opt_algebraic()
|
|||
inst->opcode = BRW_OPCODE_ADD;
|
||||
inst->src[2] = reg_undef;
|
||||
progress = true;
|
||||
} else if (inst->src[1].file == IMM && inst->src[2].file == IMM) {
|
||||
inst->opcode = BRW_OPCODE_ADD;
|
||||
inst->src[1].f *= inst->src[2].f;
|
||||
inst->src[2] = reg_undef;
|
||||
progress = true;
|
||||
}
|
||||
break;
|
||||
case SHADER_OPCODE_BROADCAST:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue