mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
57222cc64c
This way, it can be pushed to the shaders
13 lines
200 B
GLSL
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
|