shader: Implement FragDepth
This commit is contained in:
parent
fda0835300
commit
f5672777c8
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue