mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-12-01 21:44:17 +01:00
reset depth bias
This commit is contained in:
parent
be98734358
commit
ed7354fa1b
@ -752,6 +752,10 @@ void MetalRenderer::draw_execute(uint32 baseVertex, uint32 baseInstance, uint32
|
|||||||
|
|
||||||
renderCommandEncoder->setDepthBias(frontOffset, frontScale, offsetClamp);
|
renderCommandEncoder->setDepthBias(frontOffset, frontScale, offsetClamp);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
renderCommandEncoder->setDepthBias(0.0f, 0.0f, 0.0f);
|
||||||
|
}
|
||||||
|
|
||||||
// todo - how does culling behave with rects?
|
// todo - how does culling behave with rects?
|
||||||
// right now we just assume that their winding is always CW
|
// right now we just assume that their winding is always CW
|
||||||
|
Loading…
Reference in New Issue
Block a user