2022-02-23 21:18:09 +00:00
|
|
|
fn extractBits_a99a8d() {
|
2022-07-26 14:27:25 +00:00
|
|
|
var res : vec2<i32> = extractBits(vec2<i32>(1), 1u, 1u);
|
2022-02-23 21:18:09 +00:00
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@vertex
|
2022-02-23 21:18:09 +00:00
|
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
|
|
|
extractBits_a99a8d();
|
|
|
|
return vec4<f32>();
|
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@fragment
|
2022-02-23 21:18:09 +00:00
|
|
|
fn fragment_main() {
|
|
|
|
extractBits_a99a8d();
|
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@compute @workgroup_size(1)
|
2022-02-23 21:18:09 +00:00
|
|
|
fn compute_main() {
|
|
|
|
extractBits_a99a8d();
|
|
|
|
}
|