dawn-cmake/test/intrinsics/gen/fwidth/d2ab9a.wgsl.expected.wgsl

20 lines
308 B
WebGPU Shading Language

fn fwidth_d2ab9a() {
var res : vec4<f32> = fwidth(vec4<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
fwidth_d2ab9a();
return vec4<f32>();
}
[[stage(fragment)]]
fn fragment_main() {
fwidth_d2ab9a();
}
[[stage(compute)]]
fn compute_main() {
fwidth_d2ab9a();
}