-
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.