mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-04 13:29:45 -05:00
render/vulkan: introduce wlr_vk_frag_texture_pcr_data
Contains UBOs for texture.frag.
This commit is contained in:
parent
ec422ac389
commit
56d95c2ecb
3 changed files with 11 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue