struct VertexOutput { @builtin(position) position: vec4f, @location(0) tex_coord: vec2f, } @group(0) @binding(0) var input_texture: texture_2d; @group(0) @binding(1) var input_sampler: sampler; @fragment fn fragment_main(input: VertexOutput) -> @location(0) vec4f { return textureSample(input_texture, input_sampler, input.tex_coord); }