diff options
author | Billy Laws <blaws05@gmail.com> | 2022-11-23 21:30:23 +0000 |
---|---|---|
committer | Billy Laws <blaws05@gmail.com> | 2023-01-05 22:13:07 +0000 |
commit | 8804a4eb23e0c4f3e4bab03dee7c204bd38bf21e (patch) | |
tree | a250fb7a6485109609c5f89fee55fd73549b3a19 /src/shader_recompiler/frontend/maxwell/translate_program.cpp | |
parent | 3f0985c7b01bbc5e7172bffb137f23385088aca6 (diff) |
shader_recompiler: Align SSBO offsets to meet host requirements
We can take advantage of SSBO addresses being passed in a constant bufer to account for the extra alignment requirements in the shader itself.
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate_program.cpp')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate_program.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate_program.cpp b/src/shader_recompiler/frontend/maxwell/translate_program.cpp index ac159d24b9..89fced84c8 100644 --- a/src/shader_recompiler/frontend/maxwell/translate_program.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate_program.cpp @@ -223,7 +223,7 @@ IR::Program TranslateProgram(ObjectPool<IR::Inst>& inst_pool, ObjectPool<IR::Blo Optimization::PositionPass(env, program); - Optimization::GlobalMemoryToStorageBufferPass(program); + Optimization::GlobalMemoryToStorageBufferPass(program, host_info); Optimization::TexturePass(env, program, host_info); if (Settings::values.resolution_info.active) { |