Rename StorageClass to AddressSpace.
This CL updates the internals to use AddressSpace instead of the old
StorageClass name.
Bug: tint:1404
Change-Id: Iecc208e839453437f4d630f65e0152206a52db7e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/104420
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
diff --git a/docs/tint/diagnostics_guide.md b/docs/tint/diagnostics_guide.md
index fc8fa22..72e5d4c 100644
--- a/docs/tint/diagnostics_guide.md
+++ b/docs/tint/diagnostics_guide.md
@@ -63,7 +63,7 @@
**Don't:**
```
-shader.wgsl:5:11 error: type cannot be used in storage class 'storage' as it is non-host-shareable
+shader.wgsl:5:11 error: type cannot be used in address space 'storage' as it is non-host-shareable
cond : bool;
^^^^
@@ -72,7 +72,7 @@
**Do:**
```
-shader.wgsl:5:11 error: type cannot be used in storage class 'storage' as it is non-host-shareable
+shader.wgsl:5:11 error: type cannot be used in address space 'storage' as it is non-host-shareable
cond : bool;
^^^^
diff --git a/docs/tint/extensions/chromium_experimental_push_constant.md b/docs/tint/extensions/chromium_experimental_push_constant.md
index d10e1ee..6f23c1a 100644
--- a/docs/tint/extensions/chromium_experimental_push_constant.md
+++ b/docs/tint/extensions/chromium_experimental_push_constant.md
@@ -12,7 +12,7 @@
## Pseudo-specification
-This extension adds a new `push_constant` storage class that's only allowed on global variable declarations.
+This extension adds a new `push_constant` address space that's only allowed on global variable declarations.
Push constant variables must only contain 32bit data types (or aggregates of such types).
Push constant variable declarations must not have an initializer.
It is an error for a entry point to statically use more than one `push_constant` variable.
diff --git a/docs/tint/spirv-input-output-variables.md b/docs/tint/spirv-input-output-variables.md
index 0ba4ae4..c9d6932 100644
--- a/docs/tint/spirv-input-output-variables.md
+++ b/docs/tint/spirv-input-output-variables.md
@@ -15,7 +15,7 @@
## Vulkan SPIR-V today
SPIR-V for Vulkan models inputs and outputs as module-scope variables in
-the Input and Output storage classes, respectively.
+the Input and Output address spaces, respectively.
The `OpEntryPoint` instruction has a list of module-scope variables that must
be a superset of all the input and output variables that are statically
diff --git a/docs/tint/translations.md b/docs/tint/translations.md
index 83370b6..e7f7576 100644
--- a/docs/tint/translations.md
+++ b/docs/tint/translations.md
@@ -141,7 +141,7 @@
## SPIR-V
TODO(dsinclair): Nested if's
-# Storage classes
+# Address spaces
TODO(dsinclair): do ...
# Storage buffers
@@ -155,7 +155,7 @@
## MSL
TODO(dsinclair): Rewrite with bools
-# Input / Output storage class
+# Input / Output address spaces
## HLSL
TODO(dsinclair): Structs and params