intel/compiler: Put back saturate on [iu]add_sat opcodes
I deleted one too many inst->saturate = ... lines. This one must stay.
Fixes: b7c47c4f7c ("intel/compiler: Drop nir_lower_to_source_mods() and related handling.")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4669>
This commit is contained in:
committed by
Marge Bot
parent
f699bb42af
commit
902c8731f4
@@ -1250,6 +1250,7 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr,
|
||||
case nir_op_iadd_sat:
|
||||
case nir_op_uadd_sat:
|
||||
inst = bld.ADD(result, op[0], op[1]);
|
||||
inst->saturate = true;
|
||||
break;
|
||||
|
||||
case nir_op_isub_sat:
|
||||
|
||||
Reference in New Issue
Block a user