atagen

monolith

public
Star0
Watch0
a772647a949fb47d1ba814b15866d2551ed162cc
1
ssh://brewery@pls.lobotomise.me:33/atagen/monolith.git

Blame: crates/render-vk/shaders/push.glsl

824bf02b6e55atagen2026-10-16 09:15 UTC1
// `color` must stay at offset 0. lavapipe in Mesa 26.2 returned the wrong
824bf02b6e55atagen2026-10-16 09:15 UTC2
// fragment push constants for a member at offset 48 when `dst` held four
824bf02b6e55atagen2026-10-16 09:15 UTC3
// equal values.
824bf02b6e55atagen2026-10-16 09:15 UTC4
layout(push_constant) uniform Push {
824bf02b6e55atagen2026-10-16 09:15 UTC5
    vec4 color;
824bf02b6e55atagen2026-10-16 09:15 UTC6
    vec4 dst;
824bf02b6e55atagen2026-10-16 09:15 UTC7
    vec2 uv[4];
96db497859dcatagen2026-10-16 11:27 UTC8
    vec4 effect;
824bf02b6e55atagen2026-10-16 09:15 UTC9
} pc;