dawn-cmake/test/tint/builtins/gen/var/fwidth/b83ebb.wgsl.expected.wgsl

13 lines
240 B
WebGPU Shading Language

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