dawn-cmake/test
Ben Clayton 71f619b6f1 [resolver]: Begin constant value evaluation
Move the bulk of the constant evaulation logic out of transform::FoldConstants and into Resolver and sem::Expression.

transform::FoldConstants now replace TypeConstructor nodes that have a constant value on the expression.

This is ground work to:
* Cleaning up the HLSL uniform buffer indexing, which is `/` and `%` arithmatic heavy
* Prepares us to handle `constexpr` when it lands in the spec
* Provide a centralized place to do constant evaluation, instead of the
  having similar logic scattered around the codebase.

Change-Id: I3e2f542be692046a8d243b62a82556db519953e7
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57426
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: James Price <jrprice@google.com>
2021-07-13 12:18:13 +00:00
..
access validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
array writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
bug writer/hlsl: Emit helper functions for storage class atomic intrinsics 2021-07-09 16:50:14 +00:00
expressions Revert "writer/hlsl: Special case negative zero" 2021-07-08 16:49:33 +00:00
fxc_bugs/vector_assignment_in_loop reader/wgsl: Generate ForLoopStatements 2021-07-08 21:23:33 +00:00
intrinsics Revert "Validate storage class constraints" 2021-07-12 20:15:43 +00:00
loops test: Add loop test cases 2021-06-21 19:04:56 +00:00
ptr_ref writer/hlsl: Emit for-loops where possible. 2021-07-02 22:17:25 +00:00
samples reader/wgsl: Generate ForLoopStatements 2021-07-08 21:23:33 +00:00
shader_io writer/msl: Implement invariant attribute 2021-07-12 16:11:41 +00:00
statements/for reader/wgsl: Generate ForLoopStatements 2021-07-08 21:23:33 +00:00
struct writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
types writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
var writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
BUILD.gn [resolver]: Begin constant value evaluation 2021-07-13 12:18:13 +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