blob: 88ce6fa3892bbfc8c3582ef5f9c02c8ae6245c29 [file] [log] [blame]
static bool tint_discarded = false;
RWByteAddressBuffer non_uniform_global : register(u0, space0);
RWByteAddressBuffer output : register(u1, space0);
void main() {
if ((asint(non_uniform_global.Load(0u)) < 0)) {
tint_discarded = true;
}
if (!(tint_discarded)) {
output.Store(0u, asuint(ddx(1.0f)));
}
if (tint_discarded) {
discard;
}
return;
}