blob: f720e61fdd2dc61fdc0901f7a9a6ec2a7fcc67b7 [file] [log] [blame] [edit]
diagnostic(warning, derivative_uniformity);
@group(0) @binding(1) var t : texture_2d<f32>;
@group(0) @binding(2) var s : sampler;
@fragment
fn main(@location(0) x : f32) {
if (x > 0) {
_ = textureSample(t, s, vec2(0, 0));
}
}