summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/ir_opt
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-01-29 02:03:50 +0100
committerGitHub <noreply@github.com>2022-01-29 02:03:50 +0100
commit64a68ccbb4ec533ba2ff378c60ff62c7be6315e9 (patch)
tree7ed65721d3be9b2468eeee51dcc7f9550b1034df /src/shader_recompiler/ir_opt
parentMerge pull request #7784 from german77/ds5 (diff)
parentspirv_atomic: Define U32x2 storage buffers for 64-bit storage atomics (diff)
downloadyuzu-64a68ccbb4ec533ba2ff378c60ff62c7be6315e9.tar
yuzu-64a68ccbb4ec533ba2ff378c60ff62c7be6315e9.tar.gz
yuzu-64a68ccbb4ec533ba2ff378c60ff62c7be6315e9.tar.bz2
yuzu-64a68ccbb4ec533ba2ff378c60ff62c7be6315e9.tar.lz
yuzu-64a68ccbb4ec533ba2ff378c60ff62c7be6315e9.tar.xz
yuzu-64a68ccbb4ec533ba2ff378c60ff62c7be6315e9.tar.zst
yuzu-64a68ccbb4ec533ba2ff378c60ff62c7be6315e9.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
index a78c469be..b6a20f904 100644
--- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
+++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
@@ -688,7 +688,7 @@ void VisitUsages(Info& info, IR::Inst& inst) {
case IR::Opcode::StorageAtomicAnd64:
case IR::Opcode::StorageAtomicOr64:
case IR::Opcode::StorageAtomicXor64:
- info.used_storage_buffer_types |= IR::Type::U64;
+ info.used_storage_buffer_types |= IR::Type::U64 | IR::Type::U32x2;
info.uses_int64_bit_atomics = true;
break;
case IR::Opcode::BindlessImageAtomicIAdd32: