dawn-cmake/test/builtins/textureGather/i32/alpha.wgsl.expected.wgsl

9 lines
180 B
WebGPU Shading Language
Raw Normal View History

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