mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
writer/msl: Generate address spaces for pointers
Add more E2E tests to cover pointers with different storage classes. Fixed: tint:815 Change-Id: I224a794cdf60648ce71dc9a0922d489542995be1 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51404 Auto-Submit: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
09d53d5ed1
commit
cbe816f93d
@@ -3,8 +3,8 @@
|
||||
using namespace metal;
|
||||
kernel void tint_symbol() {
|
||||
uint x_10 = 0u;
|
||||
uint* const x_1 = &(x_10);
|
||||
uint* const x_2 = x_1;
|
||||
thread uint* const x_1 = &(x_10);
|
||||
thread uint* const x_2 = x_1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user