intel/compiler: Use unreachable instead of assert(!"...")

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34014>
This commit is contained in:
Matt Turner
2025-03-11 15:53:42 -04:00
committed by Marge Bot
parent 8d6deb4073
commit 0a63d629fe
9 changed files with 13 additions and 17 deletions
+1 -1
View File
@@ -419,7 +419,7 @@ brw_opt_algebraic(brw_shader &s)
if (inst->dst.type != inst->src[0].type &&
inst->dst.type != BRW_TYPE_DF &&
inst->src[0].type != BRW_TYPE_F)
assert(!"unimplemented: saturate mixed types");
unreachable("unimplemented: saturate mixed types");
if (brw_reg_saturate_immediate(&inst->src[0])) {
inst->saturate = false;