20 lines
329 B
WebGPU Shading Language
20 lines
329 B
WebGPU Shading Language
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)]]
|
|
fn compute_main() {
|
|
determinant_a0a87c();
|
|
}
|