roup(1) @binding(0) var default_sampler: sampler; fn textureLoadGeneral(tex: texture_cube, coords: vec3u, level: u32) -> vec4 { let sample_coords = coordToCubeSampleST(coords, params.levelSize); return vec4(textureGather(0, tex, default_sampler, sample_coords).w); } @group(0) @binding(0) var src_tex : texture_cube;