dawn-cmake/test/tint/builtins/gen/literal/fwidth/df38ef.wgsl.expected.wgsl

12 lines
196 B
WebGPU Shading Language

fn fwidth_df38ef() {
var res : f32 = fwidth(1.0f);
prevent_dce = res;
}
@group(2) @binding(0) var<storage, read_write> prevent_dce : f32;
@fragment
fn fragment_main() {
fwidth_df38ef();
}