-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Description of Bug
Depth Test Overlay doesn't account for Depth Bounds Test in Vulkan Backend (D3D12 works perfectly).
Steps to reproduce
Create pipeline that supports with depthBoundsTest = true
and with dynamic states containing VK_DYNAMIC_STATE_DEPTH_BOUNDS
.
Set depth bounds to something low enough so that any mesh in front of you won't pass depths bounds. E.g. vkCmdSetDepthBounds(cmd, 0.0f, 0.01f)
.
Draw any mesh in front of you.
Environment
- RenderDoc version: 1.40
- Operating System: Windows 11
- Graphics API: Vulkan
Additional Details
Here is a screenshot from my capture. I rasterize multiple spheres and (for the test) set depth bound so low that none of them should pass Depth Bounds Test. They do no pass it (nothing is drawn), Pixel History shows "Depth bounds test failed" but Depth Test Overlay still shows some parts as green. Everything works as expected in D3D12 capture.

Metadata
Metadata
Assignees
Labels
No labels