From 28e8d92263280deb8e9f06261f57ca84fe6141cf Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 24 May 2023 11:25:30 +0200 Subject: render/vulkan: document TEXTURE_TRANSFORM_* in shader --- render/vulkan/shaders/texture.frag | 1 + 1 file changed, 1 insertion(+) (limited to 'render/vulkan') diff --git a/render/vulkan/shaders/texture.frag b/render/vulkan/shaders/texture.frag index 15ef52af..8b5a0c8d 100644 --- a/render/vulkan/shaders/texture.frag +++ b/render/vulkan/shaders/texture.frag @@ -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 -- cgit v1.2.3