dawn-cmake/test/tint/statements/compound_assign/scalar
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
..
and.wgsl
and.wgsl.expected.dxc.hlsl
and.wgsl.expected.fxc.hlsl
and.wgsl.expected.glsl Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
and.wgsl.expected.msl
and.wgsl.expected.spvasm Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
and.wgsl.expected.wgsl
divide.wgsl
divide.wgsl.expected.dxc.hlsl tint/transform: Fix ICE when combining polyfills 2022-11-21 17:11:05 +00:00
divide.wgsl.expected.fxc.hlsl tint/transform: Fix ICE when combining polyfills 2022-11-21 17:11:05 +00:00
divide.wgsl.expected.glsl tint/transform: Fix ICE when combining polyfills 2022-11-21 17:11:05 +00:00
divide.wgsl.expected.msl tint/transform: Fix ICE when combining polyfills 2022-11-21 17:11:05 +00:00
divide.wgsl.expected.spvasm tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
divide.wgsl.expected.wgsl
minus.wgsl
minus.wgsl.expected.dxc.hlsl
minus.wgsl.expected.fxc.hlsl
minus.wgsl.expected.glsl Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
minus.wgsl.expected.msl
minus.wgsl.expected.spvasm Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
minus.wgsl.expected.wgsl
modulo.wgsl
modulo.wgsl.expected.dxc.hlsl tint/transform: Fix ICE when combining polyfills 2022-11-21 17:11:05 +00:00
modulo.wgsl.expected.fxc.hlsl tint/transform: Fix ICE when combining polyfills 2022-11-21 17:11:05 +00:00
modulo.wgsl.expected.glsl tint/transform: Fix ICE when combining polyfills 2022-11-21 17:11:05 +00:00
modulo.wgsl.expected.msl tint/transform: Fix ICE when combining polyfills 2022-11-21 17:11:05 +00:00
modulo.wgsl.expected.spvasm tint/transform: Implement div / mod polyfill 2022-11-09 22:04:11 +00:00
modulo.wgsl.expected.wgsl
or.wgsl
or.wgsl.expected.dxc.hlsl
or.wgsl.expected.fxc.hlsl
or.wgsl.expected.glsl Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
or.wgsl.expected.msl
or.wgsl.expected.spvasm Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
or.wgsl.expected.wgsl
plus.wgsl
plus.wgsl.expected.dxc.hlsl
plus.wgsl.expected.fxc.hlsl
plus.wgsl.expected.glsl Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
plus.wgsl.expected.msl
plus.wgsl.expected.spvasm Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
plus.wgsl.expected.wgsl
shift_left.wgsl
shift_left.wgsl.expected.dxc.hlsl
shift_left.wgsl.expected.fxc.hlsl
shift_left.wgsl.expected.glsl Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
shift_left.wgsl.expected.msl
shift_left.wgsl.expected.spvasm Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
shift_left.wgsl.expected.wgsl
shift_right.wgsl
shift_right.wgsl.expected.dxc.hlsl
shift_right.wgsl.expected.fxc.hlsl
shift_right.wgsl.expected.glsl Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
shift_right.wgsl.expected.msl
shift_right.wgsl.expected.spvasm Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
shift_right.wgsl.expected.wgsl
times.wgsl
times.wgsl.expected.dxc.hlsl
times.wgsl.expected.fxc.hlsl
times.wgsl.expected.glsl Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
times.wgsl.expected.msl
times.wgsl.expected.spvasm Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
times.wgsl.expected.wgsl
xor.wgsl
xor.wgsl.expected.dxc.hlsl
xor.wgsl.expected.fxc.hlsl
xor.wgsl.expected.glsl Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
xor.wgsl.expected.msl
xor.wgsl.expected.spvasm Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
xor.wgsl.expected.wgsl