From 39ad0c2af8b40c728a91bebf05b365803d68022e Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 29 Oct 2019 16:56:39 -0700 Subject: [PATCH] intel/compiler: CSEL can do saturate Reviewed-by: Matt Turner Part-of: --- src/intel/compiler/brw_shader.cpp | 1 + 1 file changed, 1 insertion(+) 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: -- 2.30.2