aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-05-24 11:25:30 +0200
committerSimon Ser <contact@emersion.fr>2023-05-26 12:29:30 +0000
commit28e8d92263280deb8e9f06261f57ca84fe6141cf (patch)
tree07316a98f3bdef895817d2e5ffbb911af693f804
parentf60b367db7775299bd455755068a3bcbc052357a (diff)
render/vulkan: document TEXTURE_TRANSFORM_* in shader
-rw-r--r--render/vulkan/shaders/texture.frag1
1 files changed, 1 insertions, 0 deletions
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