SKIP: FAILED


enable chromium_experimental_read_write_storage_texture;

@group(1) @binding(0) var arg_0 : texture_storage_2d_array<r32float, read_write>;

fn textureNumLayers_37bc8a() {
  var res : u32 = textureNumLayers(arg_0);
  prevent_dce = res;
}

@group(2) @binding(0) var<storage, read_write> prevent_dce : u32;

@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
  textureNumLayers_37bc8a();
  return vec4<f32>();
}

@fragment
fn fragment_main() {
  textureNumLayers_37bc8a();
}

@compute @workgroup_size(1)
fn compute_main() {
  textureNumLayers_37bc8a();
}

Failed to generate: builtins/gen/var/textureNumLayers/37bc8a.wgsl:24:8 error: SPIR-V backend does not support extension 'chromium_experimental_read_write_storage_texture'
enable chromium_experimental_read_write_storage_texture;
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

