intel/brw: Assert that min/max are not happening in 64-bit SEL lowering

These aren't handled, only pure selects.

Fixes: ea423aba1b ("intel/brw: Split out 64-bit lowering from algebraic optimizations")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28328>
This commit is contained in:
Kenneth Graunke 2024-03-21 11:00:42 -07:00 committed by Marge Bot
parent a2c2a7bc00
commit 26d65e96dd

View file

@ -634,6 +634,7 @@ brw_fs_lower_alu_restrictions(fs_visitor &s)
assert(!inst->saturate);
assert(!inst->src[0].abs && !inst->src[0].negate);
assert(!inst->src[1].abs && !inst->src[1].negate);
assert(inst->conditional_mod == BRW_CONDITIONAL_NONE);
const brw::fs_builder ibld(&s, block, inst);
if (!inst->is_partial_write())