summaryrefslogtreecommitdiff
path: root/gsk/vulkan/resources/constants.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'gsk/vulkan/resources/constants.glsl')
-rw-r--r--gsk/vulkan/resources/constants.glsl11
1 files changed, 11 insertions, 0 deletions
diff --git a/gsk/vulkan/resources/constants.glsl b/gsk/vulkan/resources/constants.glsl
new file mode 100644
index 0000000000..427f42bc1a
--- /dev/null
+++ b/gsk/vulkan/resources/constants.glsl
@@ -0,0 +1,11 @@
+#ifndef _CONSTANTS_
+#define _CONSTANTS_
+
+layout(push_constant) uniform PushConstants {
+ mat4 mvp;
+ vec4 clip_bounds;
+ vec4 clip_widths;
+ vec4 clip_heights;
+} push;
+
+#endif