dawn-cmake/test/tint/builtins/gen/literal/dpdx/c487fa.wgsl.expected.wgsl

12 lines
213 B
WebGPU Shading Language
Raw Normal View History

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