intel/compiler: CSEL can do saturate

Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4582>
This commit is contained in:
Ian Romanick
2019-10-29 16:56:39 -07:00
parent 5afaa407c1
commit 39ad0c2af8

View File

@@ -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: