dawn-cmake/test/tint/builtins/gen/var/dpdx/0763f7.wgsl.expected.wgsl

13 lines
234 B
WebGPU Shading Language

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