[spirv][ir] Add memory model annotations to Load/Store

This CL adds the Vulkan Memory Model `NonPrivatePointer` annotation to
the loads and stores.

Bug: 348702031
Change-Id: I65f3ae32bcd58ce4f6f9201d8b363be9c686a797
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/203495
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
diff --git a/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.spvasm b/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.spvasm
index 5c12577..2d2c1d2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.spvasm
+++ b/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.spvasm
@@ -44,23 +44,23 @@
 %textureDimensions_8a35f9 = OpFunction %v2uint None %11
          %12 = OpLabel
         %res = OpVariable %_ptr_Function_v2uint Function
-         %13 = OpLoad %8 %arg_0
+         %13 = OpLoad %8 %arg_0 None
          %14 = OpImageQuerySize %v2uint %13
                OpStore %res %14
-         %17 = OpLoad %v2uint %res
+         %17 = OpLoad %v2uint %res None
                OpReturnValue %17
                OpFunctionEnd
 %fragment_main = OpFunction %void None %20
          %21 = OpLabel
          %22 = OpFunctionCall %v2uint %textureDimensions_8a35f9
          %23 = OpAccessChain %_ptr_StorageBuffer_v2uint %1 %uint_0
-               OpStore %23 %22
+               OpStore %23 %22 None
                OpReturn
                OpFunctionEnd
 %compute_main = OpFunction %void None %20
          %27 = OpLabel
          %28 = OpFunctionCall %v2uint %textureDimensions_8a35f9
          %29 = OpAccessChain %_ptr_StorageBuffer_v2uint %1 %uint_0
-               OpStore %29 %28
+               OpStore %29 %28 None
                OpReturn
                OpFunctionEnd