20 lines
285 B
WebGPU Shading Language
20 lines
285 B
WebGPU Shading Language
|
fn degrees_d43a49() {
|
||
|
var res = degrees(vec4(1.0));
|
||
|
}
|
||
|
|
||
|
@vertex
|
||
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||
|
degrees_d43a49();
|
||
|
return vec4<f32>();
|
||
|
}
|
||
|
|
||
|
@fragment
|
||
|
fn fragment_main() {
|
||
|
degrees_d43a49();
|
||
|
}
|
||
|
|
||
|
@compute @workgroup_size(1)
|
||
|
fn compute_main() {
|
||
|
degrees_d43a49();
|
||
|
}
|