projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5afaa40
)
intel/compiler: CSEL can do saturate
author
Ian Romanick
<ian.d.romanick@intel.com>
Tue, 29 Oct 2019 23:56:39 +0000
(16:56 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 17 Apr 2020 15:21:46 +0000
(08:21 -0700)
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4582>
src/intel/compiler/brw_shader.cpp
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_shader.cpp
b/src/intel/compiler/brw_shader.cpp
index 5ae0f9080adee8080279b01825c9aaea2da9748d..b0a75f067a6dfe60ab75c84b3c46e3b284f86440 100644
(file)
--- 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: