blob: a1fbf92081c001cc1338fa8f73f6f574135ef3a9 [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)
if (x > 0) {
} else if (dpdx(1.0) > 0) {
}
}