diff options
author | Billy Laws <blaws05@gmail.com> | 2023-01-05 23:10:21 +0100 |
---|---|---|
committer | Billy Laws <blaws05@gmail.com> | 2023-01-05 23:18:10 +0100 |
commit | 58fec43768c837c63453e87df8f337a2d139324a (patch) | |
tree | 161a20fc84cdc3c3086a470ca7afd09fe9f56169 /src/shader_recompiler/ir_opt | |
parent | externals: Update sirit (diff) | |
download | yuzu-58fec43768c837c63453e87df8f337a2d139324a.tar yuzu-58fec43768c837c63453e87df8f337a2d139324a.tar.gz yuzu-58fec43768c837c63453e87df8f337a2d139324a.tar.bz2 yuzu-58fec43768c837c63453e87df8f337a2d139324a.tar.lz yuzu-58fec43768c837c63453e87df8f337a2d139324a.tar.xz yuzu-58fec43768c837c63453e87df8f337a2d139324a.tar.zst yuzu-58fec43768c837c63453e87df8f337a2d139324a.zip |
Diffstat (limited to 'src/shader_recompiler/ir_opt')
-rw-r--r-- | src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp | 3 |
1 files changed, 2 insertions, 1 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 f8d20af3c..9101722ba 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 @@ -538,7 +538,8 @@ void GlobalMemoryToStorageBufferPass(IR::Program& program, const HostTranslateIn const IR::U32 index{IR::Value{static_cast<u32>(info.set.index_of(it))}}; IR::Block* const block{storage_inst.block}; IR::Inst* const inst{storage_inst.inst}; - const IR::U32 offset{StorageOffset(*block, *inst, storage_buffer, host_info.min_ssbo_alignment)}; + const IR::U32 offset{ + StorageOffset(*block, *inst, storage_buffer, host_info.min_ssbo_alignment)}; Replace(*block, *inst, index, offset); } } |