render/vulkan: document TEXTURE_TRANSFORM_* in shader

This commit is contained in:
Simon Ser 2023-05-24 11:25:30 +02:00
parent f60b367db7
commit 28e8d92263
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ layout(push_constant) uniform UBO {
layout (constant_id = 0) const int TEXTURE_TRANSFORM = 0;
// Matches enum wlr_vk_texture_transform
#define TEXTURE_TRANSFORM_IDENTITY 0
#define TEXTURE_TRANSFORM_SRGB 1