From 26d65e96dd9c75c94f45f2cf2fd2fc3ceb50ec59 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 21 Mar 2024 11:00:42 -0700 Subject: [PATCH] intel/brw: Assert that min/max are not happening in 64-bit SEL lowering These aren't handled, only pure selects. Fixes: ea423aba1b45 ("intel/brw: Split out 64-bit lowering from algebraic optimizations") Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/compiler/brw_fs_lower.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/compiler/brw_fs_lower.cpp b/src/intel/compiler/brw_fs_lower.cpp index eda5ec70663..ae90f106fa6 100644 --- a/src/intel/compiler/brw_fs_lower.cpp +++ b/src/intel/compiler/brw_fs_lower.cpp @@ -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())