21 lines
349 B
WebGPU Shading Language
21 lines
349 B
WebGPU Shading Language
fn firstTrailingBit_3a2acc() {
|
|
var arg_0 = 1;
|
|
var res : i32 = firstTrailingBit(arg_0);
|
|
}
|
|
|
|
@vertex
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
|
firstTrailingBit_3a2acc();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
@fragment
|
|
fn fragment_main() {
|
|
firstTrailingBit_3a2acc();
|
|
}
|
|
|
|
@compute @workgroup_size(1)
|
|
fn compute_main() {
|
|
firstTrailingBit_3a2acc();
|
|
}
|