dawn-cmake/test/tint/bug/chromium/1367602-3.wgsl.expected.fxc.hlsl
dan sinclair 66d3efb669 Limit array element count to less then 65536 elements.
This CL adds element count limits to arrays. In FXC there is a maximum
of 65536 elements in an array. This limit is not yet in WGSL, but adding
this here allows us to fix the issue with large arrays and GLSL.

Bug: chromium:1367602
Change-Id: I7df9d3e4f6c3e5107420d5f8e576d1f33e453161
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/104240
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-10-03 17:25:42 +00:00

9 lines
152 B
HLSL

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
ByteAddressBuffer v : register(t0, space0);
ByteAddressBuffer b : register(t1, space0);