summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/ir_opt/passes.h
diff options
context:
space:
mode:
authorGravatar Billy Laws2022-11-23 21:30:23 +0000
committerGravatar Billy Laws2023-01-05 22:13:07 +0000
commit8804a4eb23e0c4f3e4bab03dee7c204bd38bf21e (patch)
treea250fb7a6485109609c5f89fee55fd73549b3a19 /src/shader_recompiler/ir_opt/passes.h
parentshader_recompiler: SPIRV: Only enable int64 feature when supported (diff)
downloadyuzu-8804a4eb23e0c4f3e4bab03dee7c204bd38bf21e.tar.gz
yuzu-8804a4eb23e0c4f3e4bab03dee7c204bd38bf21e.tar.xz
yuzu-8804a4eb23e0c4f3e4bab03dee7c204bd38bf21e.zip
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 '')
-rw-r--r--src/shader_recompiler/ir_opt/passes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/ir_opt/passes.h b/src/shader_recompiler/ir_opt/passes.h
index 1f8f2ba95..4ffad1172 100644
--- a/src/shader_recompiler/ir_opt/passes.h
+++ b/src/shader_recompiler/ir_opt/passes.h
@@ -15,7 +15,7 @@ namespace Shader::Optimization {
15void CollectShaderInfoPass(Environment& env, IR::Program& program); 15void CollectShaderInfoPass(Environment& env, IR::Program& program);
16void ConstantPropagationPass(Environment& env, IR::Program& program); 16void ConstantPropagationPass(Environment& env, IR::Program& program);
17void DeadCodeEliminationPass(IR::Program& program); 17void DeadCodeEliminationPass(IR::Program& program);
18void GlobalMemoryToStorageBufferPass(IR::Program& program); 18void GlobalMemoryToStorageBufferPass(IR::Program& program, const HostTranslateInfo& host_info);
19void IdentityRemovalPass(IR::Program& program); 19void IdentityRemovalPass(IR::Program& program);
20void LowerFp16ToFp32(IR::Program& program); 20void LowerFp16ToFp32(IR::Program& program);
21void LowerInt64ToInt32(IR::Program& program); 21void LowerInt64ToInt32(IR::Program& program);