dawn-cmake/src
James Price d0ec88ce61 Add support for override keyword and @id attribute
This replaces the @override keyword that was previously used for
pipeline-overridable constants.

Support for pipeline-overridable constants in Dawn is hidden behind
the "disallow-unsafe-APIs" toggle, so we can make this change directly
instead of deprecating and continuing to support the old syntax.

Fixed: tint:1403
Change-Id: I9b2957a1e33b12772bfe449c0f3a31d929f8aa8b
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80480
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: James Price <jrprice@google.com>
2022-02-15 16:36:57 +00:00
..
ast Add support for override keyword and @id attribute 2022-02-15 16:36:57 +00:00
bench Move src/benchmark to src/bench 2022-01-31 19:49:00 +00:00
diagnostic diagnostic: Use shared_ptr for owned Source::Files 2022-02-01 17:16:01 +00:00
inspector Add support for override keyword and @id attribute 2022-02-15 16:36:57 +00:00
reader Add support for override keyword and @id attribute 2022-02-15 16:36:57 +00:00
resolver Add support for override keyword and @id attribute 2022-02-15 16:36:57 +00:00
sem Add sem::Module 2022-02-09 23:55:51 +00:00
transform Add support for override keyword and @id attribute 2022-02-15 16:36:57 +00:00
utils Add debugger::Break() to break into debugger if attached, and call when an ICE occurs 2022-02-04 22:25:45 +00:00
val Make HLSL validation run with same flags as Dawn 2021-12-07 14:40:47 +00:00
writer Add support for override keyword and @id attribute 2022-02-15 16:36:57 +00:00
BUILD.gn Add support for override keyword and @id attribute 2022-02-15 16:36:57 +00:00
CMakeLists.txt Add support for override keyword and @id attribute 2022-02-15 16:36:57 +00:00
block_allocator.h optimization: BlockAllocator: Actually allocate in blocks 2022-01-22 20:32:38 +00:00
block_allocator_test.cc optimization: BlockAllocator: Actually allocate in blocks 2022-01-22 20:32:38 +00:00
builtin_table.cc Rename 'intrinsic' to 'builtin' 2022-02-02 23:07:11 +00:00
builtin_table.h Rename 'intrinsic' to 'builtin' 2022-02-02 23:07:11 +00:00
builtin_table.inl Rename 'intrinsic' to 'builtin' 2022-02-02 23:07:11 +00:00
builtin_table.inl.tmpl Rename 'intrinsic' to 'builtin' 2022-02-02 23:07:11 +00:00
builtin_table_test.cc Rename 'intrinsic' to 'builtin' 2022-02-02 23:07:11 +00:00
builtins.def Rename 'intrinsic' to 'builtin' 2022-02-02 23:07:11 +00:00
castable.cc Optimize tint::IsAnyOf<>() for many types 2022-02-02 14:38:32 +00:00
castable.h Castable: Have Switch() support nullptr objects. 2022-02-09 21:37:57 +00:00
castable_bench.cc Add tint::Switch() 2022-02-04 15:38:23 +00:00
castable_test.cc Castable: Have Switch() support nullptr objects. 2022-02-09 21:37:57 +00:00
clone_context.cc optimizations: Implement transform::ShouldRun() 2022-01-25 21:36:04 +00:00
clone_context.h CloneContext: fix InsertAfter and InsertBack not working if done while cloning a node in a vector 2022-02-07 21:43:06 +00:00
clone_context_test.cc CloneContext: fix InsertAfter and InsertBack not working if done while cloning a node in a vector 2022-02-07 21:43:06 +00:00
debug.cc Add debugger::Break() to break into debugger if attached, and call when an ICE occurs 2022-02-04 22:25:45 +00:00
debug.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
debug_test.cc diag: Add System enumerator to all diagnostics 2021-06-24 11:27:36 +00:00
demangler.cc Validate that Symbols are all part of the same program 2021-04-15 18:20:03 +00:00
demangler.h Simplify calls to ast::Node::[to_]str() 2021-01-29 11:22:40 +00:00
demangler_test.cc Validate that Symbols are all part of the same program 2021-04-15 18:20:03 +00:00
program.cc optimizations: Implement transform::ShouldRun() 2022-01-25 21:36:04 +00:00
program.h optimizations: Implement transform::ShouldRun() 2022-01-25 21:36:04 +00:00
program_builder.cc Rename 'decoration' to 'attribute' 2022-02-02 23:07:11 +00:00
program_builder.h Add support for override keyword and @id attribute 2022-02-15 16:36:57 +00:00
program_builder_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
program_id.cc ProgramID: Move hot code out of template function 2021-10-15 13:46:50 +00:00
program_id.h ProgramID: Move hot code out of template function 2021-10-15 13:46:50 +00:00
program_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
scope_stack.h resolver: Add dependency-graph analysis 2021-11-22 11:44:57 +00:00
scope_stack_test.cc resolver: Add dependency-graph analysis 2021-11-22 11:44:57 +00:00
source.cc Optimize Source by removing a std::string 2022-01-27 17:36:27 +00:00
source.h Optimize Source by removing a std::string 2022-01-27 17:36:27 +00:00
source_test.cc Make use of std::string_view when parsing 2022-01-25 17:15:37 +00:00
symbol.cc Add TINT_SYMBOL_STORE_DEBUG_NAME option to help debugging the AST 2021-12-07 14:43:17 +00:00
symbol.h Add TINT_SYMBOL_STORE_DEBUG_NAME option to help debugging the AST 2021-12-07 14:43:17 +00:00
symbol_table.cc Add TINT_SYMBOL_STORE_DEBUG_NAME option to help debugging the AST 2021-12-07 14:43:17 +00:00
symbol_table.h Fix TextGenerator::UniqueIdentifier() failing with empty string arg 2021-06-29 22:07:05 +00:00
symbol_table_test.cc Fix TextGenerator::UniqueIdentifier() failing with empty string arg 2021-06-29 22:07:05 +00:00
symbol_test.cc Validate that Symbols are all part of the same program 2021-04-15 18:20:03 +00:00
test_main.cc Fix build when TINT_BUILD_[WGSL|SPV|MSL|HLSL]_[READER|WRITER] are toggled off 2021-09-03 14:16:56 +00:00
tint.natvis Add native visualizers for MSVC 2022-02-07 10:07:25 +00:00
traits.h Castable: Optimize Switch() 2022-02-04 18:58:33 +00:00
traits_test.cc Castable: Optimize Switch() 2022-02-04 18:58:33 +00:00