mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-13 08:36:08 +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
262 B
WebGPU Shading Language
13 lines
262 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_d6b281() {
|
|
var res : vec4<f32> = textureSample(arg_0, arg_1, vec2<f32>(), 1u);
|
|
}
|
|
|
|
@fragment
|
|
fn fragment_main() {
|
|
textureSample_d6b281();
|
|
}
|