dawn-cmake/src/tint
Ben Clayton f75e5c07b0 [tint][utils] Abstract absl dependency
Move the use of absl::from_chars() in the WGSL parser into utils, behind
a new abstraction.

If we decide one day to drop the absl dependency, we can reimplement
this function. It also consolodates tint source_set dependencies on absl
to the common utils module.

No new tests as this is a thin wrapper around an existing
implementation, and the single use is already heavily tested for parsing.

Change-Id: I1ce5d68857e81299d1c97322b0ec28f0a83a31b7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/134581
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2023-05-27 00:50:46 +00:00
..
ast [tint][utils] Add more string helpers 2023-05-26 21:20:36 +00:00
bench [tint][utils] Add more string helpers 2023-05-26 21:20:36 +00:00
builtin tint: Add StructMember attributes to sem. 2023-04-27 17:58:25 +00:00
cmd [ir] Add the Exit instructions. 2023-05-26 11:42:22 +00:00
constant [tint][constant] Use the new constant::Manager 2023-05-24 23:07:36 +00:00
diagnostic Add ability to use `{EXPECT|ASSERT}_THAT` with Diagnostics. 2023-03-22 16:47:44 +00:00
fuzzers [fuzzers] Substitute all override variables 2023-05-24 16:55:30 +00:00
inspector [tint] Introduce an ast::transform namespace 2023-05-11 21:27:16 +00:00
ir [ir] Emit initializer before var declaration 2023-05-26 13:45:10 +00:00
reader [tint][utils] Abstract absl dependency 2023-05-27 00:50:46 +00:00
resolver [tint][utils] Add more string helpers 2023-05-26 21:20:36 +00:00
sem [tint] static_assert that C in Castable<C[, B]> is correct 2023-05-12 12:00:06 +00:00
templates tint/resolver: Resolve builtin structs 2023-04-26 18:27:53 +00:00
transform [ir] Add explicit Return instructions. 2023-05-26 04:31:50 +00:00
type [tint][constant] Add constant::Manager 2023-05-24 23:07:36 +00:00
utils [tint][utils] Abstract absl dependency 2023-05-27 00:50:46 +00:00
val
writer [ir][spirv-writer] Implement loop instructions 2023-05-26 18:01:45 +00:00
BUILD.gn [tint][utils] Abstract absl dependency 2023-05-27 00:50:46 +00:00
CMakeLists.txt [tint][utils] Abstract absl dependency 2023-05-27 00:50:46 +00:00
OWNERS
clone_context.cc Move castable into utils. 2023-04-19 23:52:33 +00:00
clone_context.h Move castable into utils. 2023-04-19 23:52:33 +00:00
clone_context_test.cc Move castable into utils. 2023-04-19 23:52:33 +00:00
debug.cc
debug.h Convert most remaining usages to utils::StringStream. 2023-02-28 22:22:58 +00:00
debug_test.cc
intrinsics.def tint/resolver: Resolve builtin structs 2023-04-26 18:27:53 +00:00
number.cc Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
number.h Move traits into utils. 2023-04-19 16:52:46 +00:00
number_test.cc Convert most remaining usages to utils::StringStream. 2023-02-28 22:22:58 +00:00
program.cc [tint][constant] Use the new constant::Manager 2023-05-24 23:07:36 +00:00
program.h [tint][constant] Use the new constant::Manager 2023-05-24 23:07:36 +00:00
program_builder.cc [tint][constant] Use the new constant::Manager 2023-05-24 23:07:36 +00:00
program_builder.h [tint][constant] Use the new constant::Manager 2023-05-24 23:07:36 +00:00
program_builder_test.cc
program_id.cc
program_id.h Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
program_test.cc
reflection.h Move traits into utils. 2023-04-19 16:52:46 +00:00
reflection_test.cc
scope_stack.h
scope_stack_test.cc Add an allocator to store the symbol names. 2023-04-18 19:31:21 +00:00
source.cc Move text/unicode into utils. 2023-04-20 10:06:25 +00:00
source.h Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
source_test.cc
switch.h Move castable into utils. 2023-04-19 23:52:33 +00:00
switch_bench.cc Move castable into utils. 2023-04-19 23:52:33 +00:00
switch_test.cc Move castable into utils. 2023-04-19 23:52:33 +00:00
symbol.cc Add builtin information to Symbol. 2023-04-21 11:54:23 +00:00
symbol.h tint/ir: Add name metadata to Module 2023-05-10 09:44:10 +00:00
symbol_table.cc Make more SymbolTable methods string_view. 2023-04-19 16:58:12 +00:00
symbol_table.h Make more SymbolTable methods string_view. 2023-04-19 16:58:12 +00:00
symbol_table_test.cc Remove `SymbolTable::NameFor` 2023-04-18 19:38:25 +00:00
symbol_test.cc Add an allocator to store the symbol names. 2023-04-18 19:31:21 +00:00
test_main.cc
tint.cc
tint.natvis Add an allocator to store the symbol names. 2023-04-18 19:31:21 +00:00
tint_gdb.py
tint_lldb.py