dawn-cmake/test
Ben Clayton a9156ff091 Rework Resolver so that we construct semantic types in a single pass.
The semantic nodes cannot be fully immutable, as they contain cyclic
references. Remove Resolver::CreateSemanticNodes(), and instead
construct and mutate the semantic nodes in the single traversal pass.

Give up on trying to maintain the 'authored' type names (aliased names).
These are a nightmare to maintain, and provided limited use.

Significantly simplfies the Resolver, and allows us to generate more
semantic to semantic references, reducing sem -> ast -> sem hops.

Note: This change introduces constant value propagation across constant
variables. This is unlocked by the earlier construction of the
sem::Variable.

Change-Id: I592092fdc47fe24d30e512952511c9ab7c16d7a1
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/68406
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2021-11-05 16:51:38 +00:00
..
access writer/msl: Fix swizzling on packed vectors 2021-10-20 16:12:33 +00:00
array msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
buffer msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
bug Rework Resolver so that we construct semantic types in a single pass. 2021-11-05 16:51:38 +00:00
expressions msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
intrinsics msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
layout/storage/mat2x2 msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
loops Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
matrix/constructor/elements Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
ptr_ref Disallow taking the address of a vector component 2021-11-04 19:55:57 +00:00
samples msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
shader_io msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
statements msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
struct Restore "MSL writer: make signed int overflow defined behaviour" 2021-07-30 18:59:06 +00:00
switch writer/hlsl: Inline fallthrough case statements 2021-08-02 12:58:19 +00:00
types msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
unittest/reader/spirv Add more SPIR-V reader unit test samples 2021-09-27 20:55:53 +00:00
var msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
vk-gl-cts spirv-reader: Sink pointer-to-vector-component 2021-11-04 19:55:57 +00:00
BUILD.gn Add support for matrix construction from scalars 2021-10-25 19:20:31 +00:00
extract-spvasm.py Add --dump-spirv option to tint_unittests 2021-05-05 09:46:31 +00:00
test-all.sh main: Replace --dawn-validation with --validate 2021-06-02 21:02:34 +00:00