mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-03 13:11:34 +00:00
docs/ -> docs/tint/ fuzzers/ -> src/tint/fuzzers/ samples/ -> src/tint/cmd/ src/ -> src/tint/ test/ -> test/tint/ BUG=tint:1418,tint:1433 Change-Id: Id2aa79f989aef3245b80ef4aa37a27ff16cd700b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80482 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
13 lines
281 B
WebGPU Shading Language
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();
|
|
}
|