dawn-cmake/test/ptr_ref/store
James Price 5102f87e38 writer/msl: Add parentheses for member accesses
The LHS should be wrapped in parentheses if it has lower precedence
than the access. This fixes issues with pointer dereferences followed
by member accesses, where we were previously generating *a.b.

Fixed: tint:831
Change-Id: I8a194ad4f54c80a01c24eb983ec8064037575216
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51963
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-05-27 14:15:47 +00:00
..
global writer/msl: Add parentheses for member accesses 2021-05-27 14:15:47 +00:00
local hlsl: Pointer support 2021-05-19 19:16:32 +00:00
param writer/msl: Emit const on array and ptr parameters 2021-05-22 12:40:04 +00:00