dawn-cmake/docs
Ben Clayton 93e8f527ee wgsl: Deprecate [[access]] decorations
Handle access control on var declarations instead of via [[access]]
decorations. This change does the minimal work to migrate the WGSL
parser over to the new syntax. Additional changes will be needed
to correctly generate defaulted access qualifiers, as well as
validating access usage.

The [[access]] decorations are still supported by the WGSL parser,
with new deprecated warnings, but not for aliases. Example:
   var x : [[access(x)]] alias_to_struct;

Making this work is far more effort than I want to dedicate to backwards
compatibility, and I do not beleive any real-world usage will be doing
this.

Still TODO:
* Adding access control as the optional, third parameter to ptr<>.
* Calculating default accesses for the various storage types.
* Validating usage of variables against the different accesses.

Bug: tint:846
Change-Id: If8ca82e5d16ec319ecd01f9a2cafffd930963bde
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53088
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
Reviewed-by: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2021-06-04 20:41:47 +00:00
..
arch.md Rename semantic to sem 2021-04-16 19:07:51 +00:00
diagnostics_guide.md wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
experimental_extensions.md Proposed process for experimental extensions 2021-04-27 17:55:07 +00:00
spirv-input-output-variables.md Add translation scheme for HLSL-style input/outputs 2021-05-14 04:26:23 +00:00
spirv-ptr-ref.md Add SPIR-V translation scheme for ptr-ref 2021-05-13 16:37:12 +00:00
style_guide.md Add a style guide 2021-04-08 15:10:47 +00:00
translations.md Remove references 1D Array texture dimension 2021-02-24 05:05:21 +00:00