21 lines
293 B
WebGPU Shading Language
21 lines
293 B
WebGPU Shading Language
|
fn log2_a52bbb() {
|
||
|
const arg_0 = vec4(1.0);
|
||
|
var res = log2(arg_0);
|
||
|
}
|
||
|
|
||
|
@vertex
|
||
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||
|
log2_a52bbb();
|
||
|
return vec4<f32>();
|
||
|
}
|
||
|
|
||
|
@fragment
|
||
|
fn fragment_main() {
|
||
|
log2_a52bbb();
|
||
|
}
|
||
|
|
||
|
@compute @workgroup_size(1)
|
||
|
fn compute_main() {
|
||
|
log2_a52bbb();
|
||
|
}
|