dawn-cmake/test/builtins/gen/determinant/a0a87c.wgsl.expected.wgsl

20 lines
336 B
WebGPU Shading Language
Raw Normal View History

fn determinant_a0a87c() {
var res : f32 = determinant(mat4x4<f32>());
}
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
determinant_a0a87c();
return vec4<f32>();
}
@stage(fragment)
fn fragment_main() {
determinant_a0a87c();
}
@stage(compute) @workgroup_size(1)
fn compute_main() {
determinant_a0a87c();
}