gtk/gsk/vulkan/resources/constants.glsl
Benjamin Otte 57222cc64c vulkan: Add scale to push constants
This way, it can be pushed to the shaders
2023-06-04 19:42:01 +02:00

13 lines
200 B
GLSL

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