mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-09 22:56:06 +00:00
The transform was not correctly inserting the intrinsic call after array element types. Fixed: chromium:1290107 Change-Id: I7199d1846cb98305d789cf0bc362eb5872d9b917 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78542 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
11 lines
243 B
HLSL
11 lines
243 B
HLSL
ByteAddressBuffer arr : register(t0, space0);
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void main() {
|
|
uint tint_symbol_1 = 0u;
|
|
arr.GetDimensions(tint_symbol_1);
|
|
const uint tint_symbol_2 = (tint_symbol_1 / 4u);
|
|
const uint len = tint_symbol_2;
|
|
return;
|
|
}
|