blob: 6f96e170a9f57e5e93cf6e9beff165b1911c49c9 [file] [log] [blame]
Ben Clayton93e8f522021-06-04 20:41:47 +00001[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rg32sint, write>;
Ben Claytonb07a7ce2021-06-03 11:26:17 +00002
3fn textureNumLayers_058cc3() {
4 var res : i32 = textureNumLayers(arg_0);
5}
6
7[[stage(vertex)]]
James Price9fd3bef2021-06-04 17:31:48 +00008fn vertex_main() -> [[builtin(position)]] vec4<f32> {
Ben Claytonb07a7ce2021-06-03 11:26:17 +00009 textureNumLayers_058cc3();
James Price9fd3bef2021-06-04 17:31:48 +000010 return vec4<f32>();
Ben Claytonb07a7ce2021-06-03 11:26:17 +000011}
12
13[[stage(fragment)]]
14fn fragment_main() {
15 textureNumLayers_058cc3();
16}
17
Sarahe6cb51e2021-06-29 18:39:44 +000018[[stage(compute), workgroup_size(1)]]
Ben Claytonb07a7ce2021-06-03 11:26:17 +000019fn compute_main() {
20 textureNumLayers_058cc3();
21}