dawn-cmake/test/tint/builtins/gen/literal/dpdy/a8b56e.wgsl.expected.wgsl

12 lines
213 B
WebGPU Shading Language
Raw Normal View History

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