dawn-cmake/test/tint
James Price 9c03abfb55 tint: Show the reason for a uniformity requirement
When producing an error from the uniformity analysis, add notes to
show the underlying reason for the uniformity requirement.

For function calls that are required-to-be-uniform, show the innermost
builtin call that has the requirement.

For function parameters that are required-to-be-uniform, recurse into
that function to show where its requirement comes from.

Add some new tests to specifically test the error messages.

Bug: tint:880
Change-Id: Ib166fdeceaffb156a3afc50ebc5a4ad0860dc002
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89722
Reviewed-by: Ben Clayton <bclayton@google.com>
2022-05-11 22:05:15 +00:00
..
access tint: Change all ProgramBuilder literals to 'i' or 'u' suffix 2022-05-05 20:23:40 +00:00
array tint: Change all ProgramBuilder literals to 'i' or 'u' suffix 2022-05-05 20:23:40 +00:00
benchmark tint: Implement uniformity analaysis 2022-05-11 22:05:15 +00:00
buffer wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
bug tint: Show the reason for a uniformity requirement 2022-05-11 22:05:15 +00:00
builtins tint: Support dot4I8Packed and dot4U8Packed in sem 2022-05-10 09:05:54 +00:00
expressions tint: Lex different tokens for float suffixes 2022-05-10 14:55:34 +00:00
extensions/InternalExtensionForTesting tint: Add enable directive for extensions 2022-04-27 02:27:52 +00:00
identifiers/underscore wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
layout/storage/mat2x2 tint: Change all ProgramBuilder literals to 'i' or 'u' suffix 2022-05-05 20:23:40 +00:00
let Normalize all line endings to LF 2022-04-08 14:18:28 +00:00
loops HLSL: workaround FXC error "continue cannot be used in a switch" 2022-03-31 15:02:25 +00:00
out_of_order_decls wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
ptr_ref tint: Change all ProgramBuilder literals to 'i' or 'u' suffix 2022-05-05 20:23:40 +00:00
samples GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
shader_io GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
shadowing wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
statements Normalize all line endings to LF 2022-04-08 14:18:28 +00:00
struct wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
types tint/writer: Replace use of strings for cache keys 2022-04-28 13:08:22 +00:00
unicode test: Move unicode e2e test to tint dir 2022-02-21 16:51:06 +00:00
unittest/reader/spirv tint: Update SKIP line for specific DXC failure 2022-04-29 15:31:22 +00:00
var tint: add --overrides flag to specify pipeline overrides 2022-05-05 17:05:10 +00:00
vk-gl-cts tint: Update SKIP lines with specific FXC bug 2022-04-29 15:31:22 +00:00
BUILD.gn tint: Implement uniformity analaysis 2022-05-11 22:05:15 +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