20 lines
290 B
WebGPU Shading Language
20 lines
290 B
WebGPU Shading Language
|
fn ldexp_376938() {
|
||
|
var res = ldexp(vec4(1.0), vec4<i32>(1i));
|
||
|
}
|
||
|
|
||
|
@vertex
|
||
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||
|
ldexp_376938();
|
||
|
return vec4<f32>();
|
||
|
}
|
||
|
|
||
|
@fragment
|
||
|
fn fragment_main() {
|
||
|
ldexp_376938();
|
||
|
}
|
||
|
|
||
|
@compute @workgroup_size(1)
|
||
|
fn compute_main() {
|
||
|
ldexp_376938();
|
||
|
}
|