mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-08 06:53:41 +00:00
Set stencil reference for non-stencil path, even if not needed
* We're not doing any stencil work, but we should still set the dynamic state properly as needed by the pipeline.
This commit is contained in:
1 file changed
+2
@@ -2085,6 +2085,8 @@ void VulkanDebugManager::FillWithDiscardPattern(VkCommandBuffer cmd, DiscardType
|
||||
}
|
||||
else
|
||||
{
|
||||
ObjDisp(cmd)->CmdSetStencilReference(
|
||||
Unwrap(cmd), VK_STENCIL_FACE_FRONT_BIT | VK_STENCIL_FACE_BACK_BIT, 0x00);
|
||||
ObjDisp(cmd)->CmdDraw(Unwrap(cmd), 4, 1, 0, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user