atagen

monolith

public
Star0
Watch0
5c459f657de6f03dad8cfeb6d4e660d45fa24806
1
ssh://brewery@pls.lobotomise.me:33/atagen/monolith.git
crates/render-vk/shaders/push.glslGlsl12 lines318 B
1
// `color` must stay at offset 0. lavapipe in Mesa 26.2 returned the wrong
2
// fragment push constants for a member at offset 48 when `dst` held four
3
// equal values.
4
layout(push_constant) uniform Push {
5
    vec4 color;
6
    vec4 dst;
7
    vec2 uv[4];
8
    vec4 effect;
9
    vec4 clip;
10
    vec4 radii;
11
    vec4 ring;
12
} pc;