gtk/gsk/resources/vulkan/constants.glsl
Benjamin Otte c7d899c535 vulkan: Move push constants into their own header
This is the first step towards easing maintenance of the Vulkan shaders
by moving common code into headers.
2017-01-17 06:17:55 +01:00

12 lines
184 B
GLSL

#ifndef _CONSTANTS_
#define _CONSTANTS_
layout(push_constant) uniform PushConstants {
mat4 mvp;
vec4 clip_bounds;
vec4 clip_widths;
vec4 clip_heights;
} push;
#endif