Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 16e98727 by Anna (navi) Figueiredo Gomes at 2024-08-15T17:53:46+02:00 vkd3d: Use D3D12_SHADER_VISIBILITY_ALL for 32-bit root constants when using vk_heaps.
The existing code sets "stageFlags" to VK_SHADER_STAGE_ALL when "use_vk_heaps" is true, but doesn't adjust the visibility. This potentially violates the "Any two elements of pPushConstantRanges must not include the same stage in stageFlags" constraint, and causes the validation layers to complain accordingly.
- - - - -
1 changed file:
- libs/vkd3d/state.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/16e987271833c8e9e753ab7bdf7467...