2021-06-04 20:41:47 +00:00
|
|
|
[[group(1), binding(0)]] var arg_0 : texture_storage_2d<r32float, read>;
|
2021-06-03 11:26:17 +00:00
|
|
|
|
|
|
|
fn textureDimensions_ba6e15() {
|
|
|
|
var res : vec2<i32> = textureDimensions(arg_0);
|
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(vertex)]]
|
2021-06-04 17:31:48 +00:00
|
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
2021-06-03 11:26:17 +00:00
|
|
|
textureDimensions_ba6e15();
|
2021-06-04 17:31:48 +00:00
|
|
|
return vec4<f32>();
|
2021-06-03 11:26:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(fragment)]]
|
|
|
|
fn fragment_main() {
|
|
|
|
textureDimensions_ba6e15();
|
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(compute)]]
|
|
|
|
fn compute_main() {
|
|
|
|
textureDimensions_ba6e15();
|
|
|
|
}
|