summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/ir_opt
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/ir_opt')
-rw-r--r--src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp b/src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp
index 34393e1d5..08fd364bb 100644
--- a/src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp
+++ b/src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp
@@ -161,8 +161,8 @@ std::optional<StorageBufferAddr> Track(const IR::Value& value, const Bias* bias)
161 return std::nullopt; 161 return std::nullopt;
162 } 162 }
163 const StorageBufferAddr storage_buffer{ 163 const StorageBufferAddr storage_buffer{
164 .index = index.U32(), 164 .index{index.U32()},
165 .offset = offset.U32(), 165 .offset{offset.U32()},
166 }; 166 };
167 if (bias && !MeetsBias(storage_buffer, *bias)) { 167 if (bias && !MeetsBias(storage_buffer, *bias)) {
168 // We have to blacklist some addresses in case we wrongly point to them 168 // We have to blacklist some addresses in case we wrongly point to them