render/vulkan: introduce wlr_vk_frag_texture_pcr_data

Contains UBOs for texture.frag.
This commit is contained in:
Simon Ser 2025-02-27 16:48:32 +01:00
parent ec422ac389
commit 56d95c2ecb
3 changed files with 11 additions and 2 deletions

View file

@ -339,6 +339,10 @@ struct wlr_vk_vert_pcr_data {
float uv_size[2];
};
struct wlr_vk_frag_texture_pcr_data {
float alpha;
};
struct wlr_vk_frag_output_pcr_data {
float matrix[4][4]; // only a 3x3 subset is used
float luminance_multiplier;