mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-30 23:43:33 +08:00
shader: Implement FragDepth
This commit is contained in:
@@ -25,7 +25,7 @@ void ExitFragment(TranslatorVisitor& v) {
|
||||
throw NotImplementedException("Sample mask");
|
||||
}
|
||||
if (sph.ps.omap.depth != 0) {
|
||||
throw NotImplementedException("Fragment depth");
|
||||
v.ir.SetFragDepth(v.F(src_reg + 1));
|
||||
}
|
||||
}
|
||||
} // Anonymous namespace
|
||||
|
||||
Reference in New Issue
Block a user