mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
render/vulkan: add luminance multiplier for texture shader
This commit is contained in:
parent
fa1feb447f
commit
ae85c31176
3 changed files with 14 additions and 0 deletions
|
|
@ -343,6 +343,7 @@ struct wlr_vk_vert_pcr_data {
|
|||
struct wlr_vk_frag_texture_pcr_data {
|
||||
float matrix[4][4]; // only a 3x3 subset is used
|
||||
float alpha;
|
||||
float luminance_multiplier;
|
||||
};
|
||||
|
||||
struct wlr_vk_frag_output_pcr_data {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue