aboutsummaryrefslogtreecommitdiff
path: root/render/vulkan/shaders
diff options
context:
space:
mode:
authorzccrs <zccrs@live.com>2022-11-09 17:57:56 +0800
committerzccrs <zccrs@live.com>2022-11-15 10:58:45 +0800
commit5b34fe55136cca32c10e70e5fe44fea2d7c6520d (patch)
tree747c6eba917645912cf11dfb541bfcb4cff3c1b4 /render/vulkan/shaders
parent65836ce357e4140d4e5250228a05ddd96119a883 (diff)
render/vulkan: add wlr_vk_texture_has_alpha
Allow to get whether has alpha channel of the VkImage, it can help an optimization to disable blending when the texture doesn't have alpha. Because the VkFormat isn't enough because it's always set to VK_FORMAT_B8G8R8A8_SRGB or VK_FORMAT_R8G8B8A8_SRGB.
Diffstat (limited to 'render/vulkan/shaders')
0 files changed, 0 insertions, 0 deletions