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