dawn-cmake/test/tint
Ben Clayton 5716611bf0 tint/resolver: Materialize objects when indexed with non-const index
If an abstract-vector or abstract-matrix is indexed with a non-constant index expression, then the resulting value is non-constant, and so cannot be abstract.

In this situation the materialization cannot be done post-index, so materialization must happen on the object before indexing.

Bug: chromium:1345468
Change-Id: I9f29dc40301779a7ff8f173724374bd845a3a5b9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96684
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
2022-07-21 15:25:35 +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 tint: Deprecated module-scope 'let' for 'const' 2022-06-29 00:55:36 +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