summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/maxwell
diff options
context:
space:
mode:
authorGravatar FernandoS272021-03-25 20:27:09 +0100
committerGravatar ameerj2021-07-22 21:51:24 -0400
commitf5672777c8af4700c9e0fc32af52cb2563f564f4 (patch)
treeabb38c87d961475efecff436f2c1a76247c5f8be /src/shader_recompiler/frontend/maxwell
parentshader: Implement TLD4S. (diff)
downloadyuzu-f5672777c8af4700c9e0fc32af52cb2563f564f4.tar.gz
yuzu-f5672777c8af4700c9e0fc32af52cb2563f564f4.tar.xz
yuzu-f5672777c8af4700c9e0fc32af52cb2563f564f4.zip
shader: Implement FragDepth
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp
index ea9b33da9..58a53c0ec 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp
@@ -25,7 +25,7 @@ void ExitFragment(TranslatorVisitor& v) {
25 throw NotImplementedException("Sample mask"); 25 throw NotImplementedException("Sample mask");
26 } 26 }
27 if (sph.ps.omap.depth != 0) { 27 if (sph.ps.omap.depth != 0) {
28 throw NotImplementedException("Fragment depth"); 28 v.ir.SetFragDepth(v.F(src_reg + 1));
29 } 29 }
30} 30}
31} // Anonymous namespace 31} // Anonymous namespace