dawn-cmake/test/tint/builtins/textureGather/f32/alpha.wgsl

8 lines
172 B
WebGPU Shading Language
Raw Permalink Normal View History

@group(1) @binding(0) var t : texture_2d<f32>;
@group(1) @binding(1) var s : sampler;
@fragment
fn main() {
var res : vec4<f32> = textureGather(3, t, s, vec2<f32>());
}