dawn-cmake/test/tint/vk-gl-cts
James Price 744d0eb4aa tint: Use "demote-to-helper" semantics for discard
Discard statements no longer affect the behavior or uniformity
analysis. Update the resolver, validator, and several tests to reflect
this.

Some E2E tests were removed as they had loops that are now considered
to be infinite.

Use the DemoteToHelper transform to emulate the correct semantics on
platforms where discard is (or may) terminate the invocation in a
manner that would affect derivative operations.

We no longer need the UnwindDiscardFunctions transform for HLSL, which
already implements the correct semantics. However, we still run the
DemoteToHelper transform for the HLSL backend due to issues with FXC's
handling of discard statements (see crbug.com/tint/1118).

Fixed: tint:1723
Change-Id: Ib49ff187919ae81c4af8675e1b66acd57e2ff7d2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/109003
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: James Price <jrprice@google.com>
2022-11-09 19:58:59 +00:00
..
api/descriptor_set/descriptor_set_layout_binding/layout_binding_order Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
binding_model/dynamic_offset Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
combined_operations/negintdivand Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
graphicsfuzz tint: Use "demote-to-helper" semantics for discard 2022-11-09 19:58:59 +00:00
non_robust_buffer_access Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
rasterization/line_continuity/line-strip Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
spirv_assembly/instruction tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00 Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
texture Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00