Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 04d7ad90 by Anna (navi) Figueiredo Gomes at 2024-09-11T14:08:37+02:00 tests/shader_runner: Extract a pipeline creation function from d3d12_runner_draw().
- - - - - 12a7cde0 by Anna (navi) Figueiredo Gomes at 2024-09-11T14:13:59+02:00 tests/shader_runner: Use ID3D12Device2_CreatePipelineState() when available.
- - - - - 3eb2a3d0 by Anna (navi) Figueiredo Gomes at 2024-09-11T14:53:21+02:00 tests/shader_runner: Introduce a 'depth-bounds' test option.
- - - - - e761b2ca by Anna (navi) Figueiredo Gomes at 2024-09-11T14:53:33+02:00 tests/shader_runner: Introduce a "d3d12" tag.
- - - - - 61a700bc by Anna (navi) Figueiredo Gomes at 2024-09-11T14:53:33+02:00 tests: Test depth bounds.
- - - - - 127ae6cf by Anna (navi) Figueiredo Gomes at 2024-09-11T14:53:33+02:00 vkd3d: Implement d3d12_command_list_OMSetDepthBounds().
Based on the design document, "The runtime will not clamp or validate the input, but implementations may clamp to the range [0,1] if necessary.", so we test for the EXT_depth_range_unrestricted extension, and only clamp if it's not available (thus, necessary to do so).
NaNs are converted to zero as per "NaNs must be treated as 0, but the runtime will convert NaNs to 0 on behalf of the implementation.", and a default bounds are set to 0.0 and 1.0.
- - - - -
14 changed files:
- Makefile.am - include/private/vkd3d_common.h - libs/vkd3d/command.c - libs/vkd3d/device.c - libs/vkd3d/state.c - libs/vkd3d/vkd3d_private.h - tests/d3d12.c - tests/d3d12_test_utils.h - + tests/hlsl/depth-bounds.shader_test - tests/shader_runner.c - tests/shader_runner.h - tests/shader_runner_d3d12.c - tests/shader_runner_gl.c - tests/shader_runner_vulkan.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/3b4e0ce8e94cd4091b9f2fe80d865...