mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 10:25:28 +00:00
tint/writer: Handle and emit 'const' variables
Bug: tint:1580 Change-Id: Ib3a5ff5c567e19eca1ba8fb3c2f7e83dee68e2a0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94686 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
b3b324c0d1
commit
19576e9015
@@ -4,7 +4,7 @@ void tint_symbol() {
|
||||
int zero[2][3] = int[2][3](int[3](0, 0, 0), int[3](0, 0, 0));
|
||||
int tint_symbol_1[3] = int[3](1, 2, 3);
|
||||
int tint_symbol_2[3] = int[3](4, 5, 6);
|
||||
int init[2][3] = int[2][3](tint_symbol_1, tint_symbol_2);
|
||||
int init[2][3] = int[2][3](int[3](1, 2, 3), int[3](4, 5, 6));
|
||||
}
|
||||
|
||||
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
||||
|
||||
Reference in New Issue
Block a user