Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 55fe8df9 by Henri Verbeet at 2025-07-31T14:55:33+02:00 vkd3d: Set the maximum viewport count in d3d12_pipeline_state_get_or_create_pipeline().
VK_DYNAMIC_STATE_VIEWPORT and VK_DYNAMIC_STATE_SCISSOR specify that viewports and scissor rectangles are dynamic state, but not their counts.
It took a while to notice this issue because the existing code seemed to largely work as intended on hardware implementations, but tests using the additional viewports would fail on llvmpipe.
- - - - - cd8cea69 by Conor McCarthy at 2025-07-31T14:55:33+02:00 tests: Replace test_ps_viewport_index() with a shader runner test.
Mainly to allow testing the functionality in question with DXIL shaders as well.
- - - - - b9fe1970 by Conor McCarthy at 2025-07-31T14:55:33+02:00 vkd3d-shader/dxil: Handle SV_ViewportArrayIndex.
- - - - -
13 changed files:
- Makefile.am - libs/vkd3d-shader/dxil.c - libs/vkd3d/command.c - libs/vkd3d/state.c - tests/d3d12.c - + tests/hlsl/vp-array-index.shader_test - tests/shader_runner.c - tests/shader_runner.h - tests/shader_runner_d3d11.c - tests/shader_runner_d3d12.c - tests/shader_runner_d3d9.c - tests/shader_runner_gl.c - tests/shader_runner_vulkan.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/74d8c23f71b6525e9fc4c17f1c9e6...