mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +12:00
reset depth bias
This commit is contained in:
parent
be98734358
commit
ed7354fa1b
1 changed files with 4 additions and 0 deletions
|
@ -752,6 +752,10 @@ void MetalRenderer::draw_execute(uint32 baseVertex, uint32 baseInstance, uint32
|
|||
|
||||
renderCommandEncoder->setDepthBias(frontOffset, frontScale, offsetClamp);
|
||||
}
|
||||
else
|
||||
{
|
||||
renderCommandEncoder->setDepthBias(0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
|
||||
// todo - how does culling behave with rects?
|
||||
// right now we just assume that their winding is always CW
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue