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