From: Ian Romanick Date: Tue, 29 Oct 2019 23:56:39 +0000 (-0700) Subject: intel/compiler: CSEL can do saturate X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39ad0c2af8b40c728a91bebf05b365803d68022e;p=mesa.git intel/compiler: CSEL can do saturate Reviewed-by: Matt Turner Part-of: --- diff --git a/src/intel/compiler/brw_shader.cpp b/src/intel/compiler/brw_shader.cpp index 5ae0f9080ad..b0a75f067a6 100644 --- a/src/intel/compiler/brw_shader.cpp +++ b/src/intel/compiler/brw_shader.cpp @@ -941,6 +941,7 @@ backend_instruction::can_do_saturate() const case BRW_OPCODE_ADD: case BRW_OPCODE_ASR: case BRW_OPCODE_AVG: + case BRW_OPCODE_CSEL: case BRW_OPCODE_DP2: case BRW_OPCODE_DP3: case BRW_OPCODE_DP4: