dawn-cmake/test/tint/bug
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
..
chromium tint/resolver: Materialize objects when indexed with non-const index 2022-07-21 15:25:35 +00:00
dawn tint/writer/msl: Generate an array<T,N> helper 2022-06-24 17:01:59 +00:00
fxc msl: Promote local private vars to function scope 2022-06-28 02:06:05 +00:00
tint tint: Implement constant expression structures 2022-07-14 20:46:39 +00:00