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

@ -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;