mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-09 22:56:06 +00:00
This CL rearranges testcases for E2E test/tint/bug/chromium/1367602, now it has testcases for both function, private, and storage address space array variable, with and without explicit initializer, and array count less than 65536. Bug: chromium:1367602 Change-Id: Ica0ec9c36586bc7eae0d46473575284e9b734092 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/105282 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
9 lines
143 B
WebGPU Shading Language
9 lines
143 B
WebGPU Shading Language
@group(0) @binding(0)
|
|
var<storage> v : array<i32, 1000000>;
|
|
|
|
struct A {
|
|
a : array<f32, 1000000>,
|
|
}
|
|
@group(0) @binding(1)
|
|
var<storage> b : A;
|