20 lines
345 B
WebGPU Shading Language
20 lines
345 B
WebGPU Shading Language
fn reflect_f47fdb() {
|
|
var res : vec3<f32> = reflect(vec3<f32>(), vec3<f32>());
|
|
}
|
|
|
|
[[stage(vertex)]]
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
reflect_f47fdb();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
[[stage(fragment)]]
|
|
fn fragment_main() {
|
|
reflect_f47fdb();
|
|
}
|
|
|
|
[[stage(compute), workgroup_size(1)]]
|
|
fn compute_main() {
|
|
reflect_f47fdb();
|
|
}
|