mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-10 07:05:54 +00:00
Bug: tint:1526 Change-Id: I301a9ba6e94b162a1ffb436be3e3212b723b7401 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106682 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
13 lines
270 B
WebGPU Shading Language
13 lines
270 B
WebGPU Shading Language
@group(1) @binding(0) var arg_0 : texture_depth_2d_array;
|
|
|
|
@group(1) @binding(1) var arg_1 : sampler;
|
|
|
|
fn textureSample_4703d0() {
|
|
var res : f32 = textureSample(arg_0, arg_1, vec2<f32>(), 1u, vec2<i32>());
|
|
}
|
|
|
|
@fragment
|
|
fn fragment_main() {
|
|
textureSample_4703d0();
|
|
}
|