diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-23 06:39:21 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:39 +0200 |
commit | fb166b5ff4b42279b2c63c69f5b5a35feafa259e (patch) | |
tree | 16c302ad248d949b76add9a12be62fe2cbb675e0 /src/shader_recompiler | |
parent | shader: Add int64 to int32 lowering pass (diff) | |
download | yuzu-fb166b5ff4b42279b2c63c69f5b5a35feafa259e.tar yuzu-fb166b5ff4b42279b2c63c69f5b5a35feafa259e.tar.gz yuzu-fb166b5ff4b42279b2c63c69f5b5a35feafa259e.tar.bz2 yuzu-fb166b5ff4b42279b2c63c69f5b5a35feafa259e.tar.lz yuzu-fb166b5ff4b42279b2c63c69f5b5a35feafa259e.tar.xz yuzu-fb166b5ff4b42279b2c63c69f5b5a35feafa259e.tar.zst yuzu-fb166b5ff4b42279b2c63c69f5b5a35feafa259e.zip |
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate_program.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate_program.cpp b/src/shader_recompiler/frontend/maxwell/translate_program.cpp index e728b43cc..c084f3400 100644 --- a/src/shader_recompiler/frontend/maxwell/translate_program.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate_program.cpp @@ -154,6 +154,9 @@ IR::Program TranslateProgram(ObjectPool<IR::Inst>& inst_pool, ObjectPool<IR::Blo if (!host_info.support_float16) { Optimization::LowerFp16ToFp32(program); } + if (!host_info.support_int64) { + Optimization::LowerInt64ToInt32(program); + } Optimization::SsaRewritePass(program); Optimization::GlobalMemoryToStorageBufferPass(program); |