dawn-cmake/test
Ben Clayton b7bcbf0d20 Resolver: Traverse expressions without recursion
This CL changes the way that the resolver traverses expressions to avoid stack overflows for deeply nested expressions.

Instead of having the expression resolver methods call back into
Expression(), add a TraverseExpressions() method that collects all the
expression nodes with a simple DFS.

This currently only changes the way that Expressions are traversed. We
may need to do the same for statements.

Bug: chromium:1246375
Change-Id: Ie81905da1b790b6dd1df9f1ac42e06593d397c21
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/63700
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: David Neto <dneto@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2021-09-08 15:18:36 +00:00
..
access validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
array Allow array size to be a module-scope constant 2021-09-02 13:49:59 +00:00
buffer msl: Overload matrix-vector arithmetic operators 2021-08-23 21:45:23 +00:00
bug Allow array size to be a module-scope constant 2021-09-02 13:49:59 +00:00
expressions msl: Overload matrix-vector arithmetic operators 2021-08-23 21:45:23 +00:00
intrinsics Implement atomicSub intrinsic 2021-08-26 15:26:25 +00:00
layout/storage/mat2x2 Allow array size to be a module-scope constant 2021-09-02 13:49:59 +00:00
loops Restore "MSL writer: make signed int overflow defined behaviour" 2021-07-30 18:59:06 +00:00
ptr_ref spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
samples msl: Only emit packed vectors when the width is 3 2021-08-23 21:45:23 +00:00
shader_io msl: Only emit packed vectors when the width is 3 2021-08-23 21:45:23 +00:00
statements/for Restore "MSL writer: make signed int overflow defined behaviour" 2021-07-30 18:59:06 +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: Automatically remap binding numbers in exe 2021-08-12 19:47:20 +00:00
unittest/reader/spirv test: Remove many expected files 2021-08-24 22:49:42 +00:00
var spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
vk-gl-cts test: Remove many expected files 2021-08-24 22:49:42 +00:00
BUILD.gn Resolver: Traverse expressions without recursion 2021-09-08 15:18:36 +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