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