wlroots-hyprland/render/vulkan
John Lindgren b1b34cd665 vulkan: perform sRGB-to-linear conversion correctly for premultiplied values
Pre-multipled sRGB values need to be un-multiplied before conversion
to linear and then re-multiplied after. Compare shaders/texture.frag.

This fixes an issue in labwc where titlebar corners (rendered as
ARGB textures) did not match the rest of the titlebar (rendered as
a solid wlr_scene_rect).

Note: 0.17 has other instances in render/vulkan/renderer.c that need
the same fix.
2024-04-11 09:24:03 +00:00
..
shaders render/vulkan: correct sRBG gamma expansion in shader 2024-01-26 13:50:55 +00:00
meson.build render/vulkan: use renamed glslang binary by default 2023-07-27 16:06:49 +08:00
pass.c vulkan: perform sRGB-to-linear conversion correctly for premultiplied values 2024-04-11 09:24:03 +00:00
pixel_format.c render/vulkan: Avoid double-free on calloc error 2024-02-22 23:07:58 +01:00
renderer.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00
texture.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00
util.c render/vulkan: drop unused vulkan_has_extension() 2023-05-26 12:25:53 +00:00
vulkan.c render/vulkan: Fix clang compiler error in 32 bit ARM Android 2024-04-10 14:03:38 +00:00