Re: [PATCH v4 0/1] MR632: vkd3d: Implement d3d12_command_list_OMSetDepthBounds()
20 Feb
2024
20 Feb
'24
9:53 a.m.
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.
If, as it seems, there isn't one, then I think `DepthBoundsTestSupported` should be intended as advertising support for an unrestricted range, so shouldn't be set unless we're able to uphold to that promise (i.e., `VK_EXT_depth_range_unrestricted` is available). Why is clamping to \[0, 1\] a good solution? The application is likely to misrender if we change the requested parameters under its feet. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/632#note_62012
745
Age (days ago)
745
Last active (days ago)
0 comments
1 participants
participants (1)
-
Giovanni Mascellani (@giomasce)