dawn-cmake/test/tint/statements
Ben Clayton 619f9bd639 tint/transform: Fix ICE when combining polyfills
There's a reason the overload of `ctx.Replace()` that takes a pointer to the replacement is deprecated - it doesn't play well when used as part of another replacement.
Switch to using the callback overload of Replace() to fix bad transform output.

Bug: tint:1386647
Change-Id: I94292eeb65d24d7b2446b16b8b4ad13bdd27965a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/111000
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-11-21 17:11:05 +00:00
..
assign Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
compound_assign tint/transform: Fix ICE when combining polyfills 2022-11-21 17:11:05 +00:00
decrement tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
discard tint: Fix DemoteToHelper for atomicCmpXchgWeak 2022-11-14 20:30:38 +00:00
for tint/hlsl: remove [loop] attribute on all loops 2022-09-29 16:53:58 +00:00
increment tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
switch Remove fallthrough support from SPIRV-Reader. 2022-11-15 00:19:05 +00:00