Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 39db6731 by Evan Tang at 2025-07-16T16:54:55+02:00 vkd3d: Mask colour writes on graphics pipelines without fragment shaders.
Vulkan leaves the contents of colour attachments undefined in this case.
- - - - - 5c0e6747 by Evan Tang at 2025-07-16T17:28:43+02:00 tests/d3d12: Add a colour attachment to test_draw_depth_no_ps().
To show that draws without fragment shader should leave colour attachments unmodified.
- - - - - 9c040caa by Evan Tang at 2025-07-16T17:30:11+02:00 vkd3d: Get rid of the default fragment shader from d3d12_pipeline_state_init_graphics().
Vulkan does support rendering without a fragment shader, and this seems to work fine on current drivers. This commit gets rid of the last embedded shader binary in libvkd3d, and may have a slight performance advantage on hardware/drivers able to take advantage of the absence of a fragment shader.
- - - - -
2 changed files:
- libs/vkd3d/state.c - tests/d3d12.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/3163e589bc41b674c46750bef9a3c...