[[group(0), binding(0)]] var Texture: texture_2d; [[group(0), binding(1)]] var Sampler: sampler; fn test(Passed_Texture: texture_2d, Passed_Sampler: sampler) -> vec4 { return textureSample(Passed_Texture, Passed_Sampler, vec2(0.0, 0.0)); } [[stage(fragment)]] fn main() -> [[location(0)]] vec4 { return test(Texture, Sampler); }