dawn-cmake/test
Ben Clayton b05e185a36 resolver: Support shadowing
Add transform::Unshadow to renamed shadowed symbols. Required by a
number of other transforms.

Replace Resolver symbol resolution with dep-graph.

The dependency graph now performs full symbol resolution before the
regular resolver pass.
Make use of this instead of duplicating the effort.

Simplfies code, and actually performs variable shadowing consistently.

Fixed: tint:819
Bug: tint:1266
Change-Id: I595d1812aebe1d79d2d32e724ff90de36e74cf4b
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/70523
Reviewed-by: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2021-11-23 20:45:51 +00:00
..
access GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
array Revert "HLSL: force FXC to never unroll loops" 2021-11-22 19:31:56 +00:00
buffer Revert "HLSL: force FXC to never unroll loops" 2021-11-22 19:31:56 +00:00
bug resolver: Support shadowing 2021-11-23 20:45:51 +00:00
expressions GLSL: implement inf, nan. 2021-11-18 13:11:43 +00:00
identifiers/underscore IntrinsicTable: remove double underscores 2021-11-22 15:24:16 +00:00
intrinsics intrinsics: Deprecate isNan, isInf, isFinite, isNormal 2021-11-23 18:57:57 +00:00
layout/storage/mat2x2 Revert "HLSL: force FXC to never unroll loops" 2021-11-22 19:31:56 +00:00
let GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
loops Revert "HLSL: force FXC to never unroll loops" 2021-11-22 19:31:56 +00:00
matrix/constructor/elements GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
ptr_ref GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
samples Revert "HLSL: force FXC to never unroll loops" 2021-11-22 19:31:56 +00:00
shader_io GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
shadowing resolver: Support shadowing 2021-11-23 20:45:51 +00:00
statements Revert "HLSL: force FXC to never unroll loops" 2021-11-22 19:31:56 +00:00
struct GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
types GLSL: fix single-valued vector init. 2021-11-22 16:14:16 +00:00
unittest/reader/spirv Add more SPIR-V reader unit test samples 2021-09-27 20:55:53 +00:00
var Revert "HLSL: force FXC to never unroll loops" 2021-11-22 19:31:56 +00:00
vk-gl-cts spirv-reader: Sink pointer-to-vector-component 2021-11-04 19:55:57 +00:00
BUILD.gn resolver: Support shadowing 2021-11-23 20:45:51 +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