2024-02-21 13:28:50 +08:00
|
|
|
#version 450
|
|
|
|
|
|
|
|
layout (location = 0) out vec4 outColor;
|
|
|
|
|
2024-04-03 21:28:08 +08:00
|
|
|
layout(push_constant) uniform Push{
|
|
|
|
mat2 transform;
|
|
|
|
vec2 offset;
|
|
|
|
vec3 color;
|
|
|
|
} push;
|
|
|
|
|
2024-02-21 13:28:50 +08:00
|
|
|
void main(){
|
2024-04-03 21:28:08 +08:00
|
|
|
outColor = vec4(push.color, 1.0);
|
2024-02-21 13:28:50 +08:00
|
|
|
}
|