mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-11 17:13:30 +00:00
The old non-pointer argument overload remains, but is now deprecated. Bug: tint:806 Change-Id: Ic917ccec0f162414ce1b03df49e332ad84d8060f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54061 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
14 lines
280 B
HLSL
14 lines
280 B
HLSL
|
|
ByteAddressBuffer G : register(t0, space0);
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void main() {
|
|
uint tint_symbol_1 = 0u;
|
|
G.GetDimensions(tint_symbol_1);
|
|
const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
|
|
const uint l1 = tint_symbol_2;
|
|
const uint l2 = tint_symbol_2;
|
|
return;
|
|
}
|
|
|