diff options
author | Ian Romanick <[email protected]> | 2019-10-29 16:56:39 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2020-04-17 08:21:46 -0700 |
commit | 39ad0c2af8b40c728a91bebf05b365803d68022e (patch) | |
tree | 78ebf7f41156ebfcfa0386a860396e9d1d9b9458 /src | |
parent | 5afaa407c1a2a27a23f1827d72d5ebde8b7882fe (diff) |
intel/compiler: CSEL can do saturate
Reviewed-by: Matt Turner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4582>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/compiler/brw_shader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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: |