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