summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2022-03-13 21:49:40 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-03-13 21:49:40 +0100
commit185fc03c3cb79a1ee1b65b0907749f75de34b45b (patch)
treed8c873d8ba52ad29ecc30a6ac91f3c15bd09833b
parentShader decompiler: Fix storage tracking in deko3d. (diff)
downloadyuzu-185fc03c3cb79a1ee1b65b0907749f75de34b45b.tar
yuzu-185fc03c3cb79a1ee1b65b0907749f75de34b45b.tar.gz
yuzu-185fc03c3cb79a1ee1b65b0907749f75de34b45b.tar.bz2
yuzu-185fc03c3cb79a1ee1b65b0907749f75de34b45b.tar.lz
yuzu-185fc03c3cb79a1ee1b65b0907749f75de34b45b.tar.xz
yuzu-185fc03c3cb79a1ee1b65b0907749f75de34b45b.tar.zst
yuzu-185fc03c3cb79a1ee1b65b0907749f75de34b45b.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate_program.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate_program.cpp b/src/shader_recompiler/frontend/maxwell/translate_program.cpp
index 248ad3ced..b22725584 100644
--- a/src/shader_recompiler/frontend/maxwell/translate_program.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate_program.cpp
@@ -212,11 +212,11 @@ IR::Program TranslateProgram(ObjectPool<IR::Inst>& inst_pool, ObjectPool<IR::Blo
}
Optimization::SsaRewritePass(program);
+ Optimization::ConstantPropagationPass(program);
+
Optimization::GlobalMemoryToStorageBufferPass(program);
Optimization::TexturePass(env, program);
- Optimization::ConstantPropagationPass(program);
-
if (Settings::values.resolution_info.active) {
Optimization::RescalingPass(program);
}