wlroots/render/vulkan
Simon Ser 1a18e47efa render/vulkan: fix VkPushConstantRange for wlr_vk_frag_texture_pcr_data
We pass an alpha multiplier plus a luminance multiplier now.

Fixes the following validation layer error:

    vkCmdPushConstants(): is called with
    stageFlags (VK_SHADER_STAGE_FRAGMENT_BIT), offset (80), size (72)
    but the VkPipelineLayout 0x510000000051 doesn't have a VkPushConstantRange with VK_SHADER_STAGE_FRAGMENT_BIT.
    The Vulkan spec states: For each byte in the range specified by offset and size and for each shader stage in stageFlags, there must be a push constant range in layout that includes that byte and that stage (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-vkCmdPushConstants-offset-01795) (VUID-vkCmdPushConstants-offset-01795)

Fixes: 56d95c2ecb ("render/vulkan: introduce wlr_vk_frag_texture_pcr_data")
2025-08-27 14:26:21 -04:00
..
shaders render/vulkan: add luminance multiplier for texture shader 2025-06-18 19:37:55 +00:00
meson.build render/vulkan: use renamed glslang binary by default 2023-07-27 16:06:49 +08:00
pass.c render/vulkan: add luminance multiplier for texture shader 2025-06-18 19:37:55 +00:00
pixel_format.c render: unify getter for texture formats 2024-04-21 11:27:29 +00:00
renderer.c render/vulkan: fix VkPushConstantRange for wlr_vk_frag_texture_pcr_data 2025-08-27 14:26:21 -04:00
texture.c render/vulkan: add support for texture transfer functions 2025-06-18 19:37:55 +00:00
util.c render/vulkan: drop unused vulkan_has_extension() 2023-05-26 12:25:53 +00:00
vulkan.c xwayland,render/vulkan: fix some size assertions 2024-12-30 12:47:54 +03:00