mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 06:03:34 +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>
22 lines
373 B
WebGPU Shading Language
22 lines
373 B
WebGPU Shading Language
@group(1) @binding(0) var arg_0 : texture_1d<u32>;
|
|
|
|
fn textureLoad_bc3201() {
|
|
var res : vec4<u32> = textureLoad(arg_0, 1u, 1u);
|
|
}
|
|
|
|
@vertex
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
|
textureLoad_bc3201();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
@fragment
|
|
fn fragment_main() {
|
|
textureLoad_bc3201();
|
|
}
|
|
|
|
@compute @workgroup_size(1)
|
|
fn compute_main() {
|
|
textureLoad_bc3201();
|
|
}
|