dawn-cmake/test/tint
David Neto a3f2bf6c60 spirv-reader: phis as a particular case of hoisting to a var
We already compute the "first" and "last" basic block that
uses a value, so we could know when to hoist a value into
a var declaration. You have to do this sometimes to make
sure all uses are in scope of the declaration.

Until now we tracked Phis with an entirely different mechanism.
But there are cases which broke down. That's what happens
in crbug.com/tint/1649.

Additionally, GraphicsFuzz cases generarte similar weirdness.

Also, be more careful about ensuring that the assignments
generated to feed phis behave as if they occur in parallel.
Within a single batch of such assignments, generate and
use intermediate let-declarations for phis that that batch
will overwrite.

Also, unwrap-references when rectifying the signedness of
binary operators.

Skip tests that fail due to crbug.comt/tint/98:
  test/tint/bug/tint/749.spvasm.*

Fixed: tint:1649
Change-Id: I7314c351b74a10bfa9a18011f3d80a520568011c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101220
Auto-Submit: David Neto <dneto@google.com>
Commit-Queue: David Neto <dneto@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-16 20:18:39 +00:00
..
access tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
array GLSL: implement host-visible memory padding. 2022-09-13 19:48:51 +00:00
benchmark GLSL: implement host-visible memory padding. 2022-09-13 19:48:51 +00:00
buffer GLSL: implement host-visible memory padding. 2022-09-13 19:48:51 +00:00
bug spirv-reader: phis as a particular case of hoisting to a var 2022-09-16 20:18:39 +00:00
builtins tint/intrinsics.def: Implement saturate() 2022-09-13 22:57:52 +00:00
const tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
expressions tint: const eval of binary XOR 2022-09-16 17:16:38 +00:00
extensions/parsing tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
identifiers/underscore When emitting a MSL struct initializer emit the struct name. 2022-08-11 02:28:01 +00:00
layout/storage/mat2x2 GLSL: implement host-visible memory padding. 2022-09-13 19:48:51 +00:00
let/inferred When emitting a MSL struct initializer emit the struct name. 2022-08-11 02:28:01 +00:00
loops tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
out_of_order_decls When emitting a MSL struct initializer emit the struct name. 2022-08-11 02:28:01 +00:00
ptr_ref GLSL: implement host-visible memory padding. 2022-09-13 19:48:51 +00:00
samples GLSL: implement host-visible memory padding. 2022-09-13 19:48:51 +00:00
shader_io GLSL: implement host-visible memory padding. 2022-09-13 19:48:51 +00:00
shadowing When emitting a MSL struct initializer emit the struct name. 2022-08-11 02:28:01 +00:00
statements GLSL: implement host-visible memory padding. 2022-09-13 19:48:51 +00:00
struct When emitting a MSL struct initializer emit the struct name. 2022-08-11 02:28:01 +00:00
types When emitting a MSL struct initializer emit the struct name. 2022-08-11 02:28:01 +00:00
unicode tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
unittest/reader/spirv tint: delete and regen SKIP e2e tests that were missing FXC error message 2022-09-13 22:04:22 +00:00
var tint: const eval of comparison operations 2022-09-07 19:34:44 +00:00
vk-gl-cts tint: delete and regen SKIP e2e tests that were missing FXC error message 2022-09-13 22:04:22 +00:00
extract-spvasm.py tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
test-all.sh tools: Replace copy-pasta scripts 2022-04-07 18:26:45 +00:00