dawn-cmake/test/builtins/gen/textureSample/02aa9b.wgsl.expected.wgsl
Ben Clayton b85e692aa7 Rename 'intrinsic' to 'builtin'
This matches the term used in the WGSL spec.

Change-Id: I4603332b828450c126ef806f1064ed54f372013f
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78787
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-02-02 23:07:11 +00:00

13 lines
281 B
WebGPU Shading Language

@group(1) @binding(0) var arg_0 : texture_2d_array<f32>;
@group(1) @binding(1) var arg_1 : sampler;
fn textureSample_02aa9b() {
var res : vec4<f32> = textureSample(arg_0, arg_1, vec2<f32>(), 1, vec2<i32>());
}
@stage(fragment)
fn fragment_main() {
textureSample_02aa9b();
}