dawn-cmake/test
Ben Clayton 51e37c6f91 Fixes for bugs around unreachable code
Remove the ICE check for expression behaviors always being either `{Next}` or `{Next, Discard}`. Unreachable code may be result in something else.

Add the RemoveUnreachableStatements transform to the SPIR-V writer sanitizer transform list. The writer cannot correctly handle unreachable statements.

Bug: tint:1369
Bug: chromium:1285622
Change-Id: I9fa54c6d2096b1ee633dd551b628c7dd3ba64fb5
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/76300
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-01-14 10:16:24 +00:00
..
access Update GLSL expectations. 2022-01-07 09:38:45 +00:00
array tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
buffer tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
bug Fixes for bugs around unreachable code 2022-01-14 10:16:24 +00:00
expressions Re-allow dynamic indexing of 'let' arrays and matrices 2022-01-06 18:11:01 +00:00
identifiers/underscore Add new GLSL test expectations. 2022-01-06 15:31:21 +00:00
intrinsics Add new GLSL test expectations. 2022-01-06 15:31:21 +00:00
layout/storage/mat2x2 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +00:00
let GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
loops Manually generate HLSL skip files for vk-gl-cts e2e tests 2021-12-08 04:26:58 +00:00
ptr_ref Update GLSL expectations. 2022-01-07 09:38:45 +00:00
samples Update GLSL expectations. 2022-01-07 09:38:45 +00:00
shader_io Update GLSL expected results. 2021-12-21 01:48:13 +00:00
shadowing Add new GLSL test expectations. 2022-01-06 15:31:21 +00:00
statements transform: Fix PromoteInitializersToConstVar handling of for-loops 2022-01-06 21:32:41 +00:00
struct GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
types GLSL: fix single-valued vector init. 2021-11-22 16:14:16 +00:00
unittest/reader/spirv Re-allow dynamic indexing of 'let' arrays and matrices 2022-01-06 18:11:01 +00:00
var Reland "HLSL: force FXC to never unroll loops" 2021-11-25 18:44:50 +00:00
vk-gl-cts Add new GLSL test expectations. 2022-01-06 15:31:21 +00:00
BUILD.gn Re-allow dynamic indexing of 'let' arrays and matrices 2022-01-06 18:11:01 +00:00
extract-spvasm.py Add --dump-spirv option to tint_unittests 2021-05-05 09:46:31 +00:00
test-all.sh main: Replace --dawn-validation with --validate 2021-06-02 21:02:34 +00:00