2022-01-19 22:46:57 +00:00
|
|
|
@group(1) @binding(0) var arg_0 : texture_1d<u32>;
|
2021-07-15 16:14:34 +00:00
|
|
|
|
|
|
|
fn textureNumLevels_1e6f3b() {
|
|
|
|
var res : i32 = textureNumLevels(arg_0);
|
|
|
|
}
|
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(vertex)
|
|
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
2021-07-15 16:14:34 +00:00
|
|
|
textureNumLevels_1e6f3b();
|
|
|
|
return vec4<f32>();
|
|
|
|
}
|
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(fragment)
|
2021-07-15 16:14:34 +00:00
|
|
|
fn fragment_main() {
|
|
|
|
textureNumLevels_1e6f3b();
|
|
|
|
}
|
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(compute) @workgroup_size(1)
|
2021-07-15 16:14:34 +00:00
|
|
|
fn compute_main() {
|
|
|
|
textureNumLevels_1e6f3b();
|
|
|
|
}
|