2021-06-03 11:26:17 +00:00
|
|
|
[[group(1), binding(0)]] var arg_0 : texture_depth_2d;
|
|
|
|
|
|
|
|
fn textureDimensions_12c9bb() {
|
|
|
|
var res : vec2<i32> = textureDimensions(arg_0, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
[[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_12c9bb();
|
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_12c9bb();
|
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(compute)]]
|
|
|
|
fn compute_main() {
|
|
|
|
textureDimensions_12c9bb();
|
|
|
|
}
|