Re: [PATCH v4 0/1] MR632: vkd3d: Implement d3d12_command_list_OMSetDepthBounds()
14 Feb
2024
14 Feb
'24
11:15 p.m.
Vulkan extension `VK_EXT_depth_range_unrestricted` should be detected and enabled to set the bounds freely.
We probably should, but I think we're also allowed to just clamp to [0, 1]. It's not immediately clear to me whether a corresponding caps bit exists for this in d3d12.
Conversely, availability of this feature should be advertised with `DepthBoundsTestSupported` in `D3D12_FEATURE_DATA_D3D12_OPTIONS2`.
We already do that, actually. We support enabling depth bounds through D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL1, but didn't implement adjusting the min/max values through OMSetDepthBounds() yet. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/632#note_61244
676
Age (days ago)
676
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet (@hverbeet)