mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04: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
|
|
@ -5,6 +5,7 @@ layout(set = 0, binding = 0) uniform sampler2D tex;
|
|||
layout(location = 0) in vec2 uv;
|
||||
layout(location = 0) out vec4 out_color;
|
||||
|
||||
// struct wlr_vk_frag_texture_pcr_data
|
||||
layout(push_constant) uniform UBO {
|
||||
layout(offset = 80) float alpha;
|
||||
} data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue