blob: a012a9b6d5197dfb6230dc8854fc58098193d127 [file] [log] [blame] [edit]
@fragment
fn main(@location(0) x : f32) {
switch (i32(x)) @diagnostic(warning, derivative_uniformity) {
default {
_ = dpdx(1.0);
}
}
}