intel/brw: Drop BRW_OPCODE_IF from try_constant_propagate

This was for Sandybridge's IF with embedded comparison, which only
existed for a single generation of hardware.  Since the compiler fork,
we no longer support Sandybridge here.

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29624>
This commit is contained in:
Kenneth Graunke 2024-04-09 22:21:55 -07:00
parent 7019bc4469
commit 85aa6f80af

View file

@ -1119,7 +1119,6 @@ try_constant_propagate(fs_inst *inst, acp_entry *entry, int arg)
break;
case BRW_OPCODE_CMP:
case BRW_OPCODE_IF:
if (arg == 1) {
inst->src[arg] = val;
progress = true;