mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-12 16:15:55 +00:00
Change-Id: I81b69d23e40675d7f525e6369afec9aa0659d043 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92321 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
14 lines
272 B
WebGPU Shading Language
14 lines
272 B
WebGPU Shading Language
@group(1) @binding(0) var arg_0 : texture_1d<f32>;
|
|
|
|
@group(1) @binding(1) var arg_1 : sampler;
|
|
|
|
fn textureSample_6e64fb() {
|
|
var arg_2 = 1.0;
|
|
var res : vec4<f32> = textureSample(arg_0, arg_1, arg_2);
|
|
}
|
|
|
|
@stage(fragment)
|
|
fn fragment_main() {
|
|
textureSample_6e64fb();
|
|
}
|