aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_fs_dead_code_eliminate.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2018-04-18 14:02:33 -0700
committerIan Romanick <[email protected]>2018-08-22 20:31:32 -0700
commitd515c75463824759f983304242178ed29f98ed3d (patch)
tree4e8b8ed4a975ca5703ab2c3301ac96865116219b /src/intel/compiler/brw_fs_dead_code_eliminate.cpp
parentf347348f8af80a0fd79c4271affc8e374c4ea4ec (diff)
intel/compiler: Implement untyped atomic float min, max, and compare-swap dataport messages
v2: Split changes to the message type field to another patch. Suggested by Caio. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs_dead_code_eliminate.cpp')
-rw-r--r--src/intel/compiler/brw_fs_dead_code_eliminate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_fs_dead_code_eliminate.cpp b/src/intel/compiler/brw_fs_dead_code_eliminate.cpp
index 7adb4278919..eeb71dd2b92 100644
--- a/src/intel/compiler/brw_fs_dead_code_eliminate.cpp
+++ b/src/intel/compiler/brw_fs_dead_code_eliminate.cpp
@@ -55,6 +55,8 @@ can_omit_write(const fs_inst *inst)
switch (inst->opcode) {
case SHADER_OPCODE_UNTYPED_ATOMIC:
case SHADER_OPCODE_UNTYPED_ATOMIC_LOGICAL:
+ case SHADER_OPCODE_UNTYPED_ATOMIC_FLOAT:
+ case SHADER_OPCODE_UNTYPED_ATOMIC_FLOAT_LOGICAL:
case SHADER_OPCODE_TYPED_ATOMIC:
case SHADER_OPCODE_TYPED_ATOMIC_LOGICAL:
return true;