blob: 34e342edd19d64e11f91fbfbd2644b433d8a7d57 [file] [log] [blame]
@group(0) @binding(1) var t : texture_2d<f32>;
@group(0) @binding(2) var s : sampler;
@fragment
fn main(@location(0) x : f32) {
@diagnostic(warning, derivative_uniformity)
switch (i32(x == 0.0 && dpdx(1.0) == 0.0)) {
default {
}
}
}