dawn-cmake/fuzzers
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
..
BUILD.gn Remove fuzzing for transform::EmitVertPointSize 2021-05-07 15:48:04 +00:00
CMakeLists.txt Remove fuzzing for transform::EmitVertPointSize 2021-05-07 15:48:04 +00:00
dictionary.txt [wgsl-reader] Disallow explicit storage classes on handle types 2021-03-22 15:49:16 +00:00
tint_all_transforms_fuzzer.cc Remove fuzzing for transform::EmitVertPointSize 2021-05-07 15:48:04 +00:00
tint_ast_clone_fuzzer.cc ast: Add type nodes 2021-04-20 15:04:21 +00:00
tint_binding_remapper_fuzzer.cc Add fuzzing for transform::VertexPulling 2021-05-06 15:43:33 +00:00
tint_bound_array_accessors_fuzzer.cc src/transform: Remove deprecated APIs 2021-04-26 20:38:36 +00:00
tint_common_fuzzer.cc wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
tint_common_fuzzer.h Add fuzzing for transform::VertexPulling 2021-05-06 15:43:33 +00:00
tint_first_index_offset_fuzzer.cc Add fuzzing for transform::VertexPulling 2021-05-06 15:43:33 +00:00
tint_hlsl_transform_fuzzer.cc Add fuzzing for transform::Hlsl 2021-04-29 20:03:35 +00:00
tint_inspector_fuzzer.cc Add in Inspector Fuzzer implementation file 2021-01-13 20:15:32 +00:00
tint_msl_transform_fuzzer.cc Add fuzzing for transform::Msl 2021-04-29 20:06:25 +00:00
tint_renamer_fuzzer.cc Add fuzzing for transform::Renamer 2021-04-29 20:43:45 +00:00
tint_single_entry_point_fuzzer.cc Add fuzzing for transform::VertexPulling 2021-05-06 15:43:33 +00:00
tint_spirv_transform_fuzzer.cc Add fuzzing for transform::Spirv 2021-04-29 20:12:05 +00:00
tint_spv_reader_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_spv_reader_hlsl_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_spv_reader_msl_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_spv_reader_spv_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_spv_reader_wgsl_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_vertex_pulling_fuzzer.cc Remove fuzzing for transform::EmitVertPointSize 2021-05-07 15:48:04 +00:00
tint_wgsl_reader_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_wgsl_reader_hlsl_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_wgsl_reader_msl_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_wgsl_reader_spv_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_wgsl_reader_wgsl_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00