dawn-cmake/test/tint
dan sinclair 256f1116b8 Add transform to substitute overrides with const expressions.
This CL adds a SubstituteOverride transform which will convert
an `override` into a `const`. The transform is provided a map of
(string, double) which matches what the WebGPU API accepts as
data for overrides.

Bug: tint:1582
Change-Id: I6e6bf51b98ce4d4746f8de55128666c36735e585
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96760
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-07-22 16:05:06 +00:00
..
access tint/resolver: Evaluate const-expr swizzles 2022-07-07 17:49:02 +00:00
array tint: Implement constant expression structures 2022-07-14 20:46:39 +00:00
benchmark tint: Add a benchmark for atan2 const eval 2022-07-19 14:50:33 +00:00
buffer tint: Disallow write-only storage buffers 2022-07-04 15:17:00 +00:00
bug tint/resolver: Materialize objects when indexed with non-const index 2022-07-21 15:25:35 +00:00
builtins tint: Implement constant expression structures 2022-07-14 20:46:39 +00:00
const tint: Deprecated module-scope 'let' for 'const' 2022-06-29 00:55:36 +00:00
expressions tint: Remove single scalar matrix constructors. 2022-07-15 15:25:30 +00:00
extensions/parsing tint/writer/spirv: Support for F16 type, constructor, and convertor 2022-07-12 12:35:09 +00:00
identifiers/underscore tint: Deprecated module-scope 'let' for 'const' 2022-06-29 00:55:36 +00:00
layout/storage/mat2x2 tint/writer/msl: Generate an array<T,N> helper 2022-06-24 17:01:59 +00:00
let/inferred tint: Deprecated module-scope 'let' for 'const' 2022-06-29 00:55:36 +00:00
loops Fixup continue support in while loops. 2022-06-16 15:27:38 +00:00
out_of_order_decls tint: Deprecated module-scope 'let' for 'const' 2022-06-29 00:55:36 +00:00
ptr_ref msl: Promote local private vars to function scope 2022-06-28 02:06:05 +00:00
samples tint: Deprecated module-scope 'let' for 'const' 2022-06-29 00:55:36 +00:00
shader_io tint: Implement constant expression structures 2022-07-14 20:46:39 +00:00
shadowing tint: Deprecated module-scope 'let' for 'const' 2022-06-29 00:55:36 +00:00
statements tint: Implement constant expression structures 2022-07-14 20:46:39 +00:00
struct tint: Implement constant expression structures 2022-07-14 20:46:39 +00:00
types tint: Implement constant expression structures 2022-07-14 20:46:39 +00:00
unicode Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
unittest/reader/spirv tint: Fix SPIR-V validation around interpolation decorations 2022-07-12 19:10:39 +00:00
var Add transform to substitute overrides with const expressions. 2022-07-22 16:05:06 +00:00
vk-gl-cts Delete tests with invalid SPIR-V inputs 2022-07-06 01:45:30 +00:00
extract-spvasm.py tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
test-all.sh tools: Replace copy-pasta scripts 2022-04-07 18:26:45 +00:00