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