dawn-cmake/test/tint
Stephen White 0c7a99f894 Tint/GLSL: rename identifiers containing double-underscores.
This is prohibited by the GLSL ES spec:

"In addition, all identifiers containing two consecutive underscores (__) are reserved for use by underlying
software layers. Defining such a name in a shader does not itself result in an error, but may result in
unintended behaviors that stem from having multiple definitions of the same name."

(https://registry.khronos.org/OpenGL/specs/es/3.1/GLSL_ES_Specification_3.10.withchanges.pdf, section 3.7).

However, while glslang validation will not give an error on this, NVidia
ES drivers will. So I've added a Dawn end2end test instead of a WGSL test.

Bug: tint:1944
Change-Id: I4b965af00039ca7a232bc11be884483f8e02ccf6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/134140
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-05-26 04:53:17 +00:00
..
access [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
array [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
benchmark [tint][bench] Trim core benchmarks 2023-05-25 16:26:37 +00:00
buffer [tint] do not emit space for binding group 0 2023-03-31 17:55:19 +00:00
bug [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
builtins Tint/GLSL: rename identifiers containing double-underscores. 2023-05-26 04:53:17 +00:00
const
diagnostic_filtering [tint] do not emit space for binding group 0 2023-03-31 17:55:19 +00:00
expressions tint: Add vec2(), vec3(), vec4() 2023-04-21 12:19:49 +00:00
extensions/parsing tint: Support multiple extensions per 'enable' 2023-03-15 05:06:57 +00:00
identifiers/underscore Tint/GLSL: rename identifiers containing double-underscores. 2023-05-26 04:53:17 +00:00
layout/storage/mat2x2 [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
let/inferred
loops tint: Use MergeReturn transform in SPIR-V backend 2022-10-31 15:41:41 +00:00
out_of_order_decls tint/msl: Fix emission of private variables 2023-03-20 21:46:01 +00:00
ptr_ref [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
samples [spirv-reader] Use builtin vector aliases 2023-05-09 10:36:41 +00:00
shader_io Fix MSL invariant translation. 2023-04-24 19:41:41 +00:00
shadowing
statements tint/resolver: Resolve builtin structs 2023-04-26 18:27:53 +00:00
struct
types [tint] do not emit space for binding group 0 2023-03-31 17:55:19 +00:00
unicode tint/writer/glsl: Set default precision to highp 2023-03-09 19:58:23 +00:00
unittest/reader/spirv
var tint/msl: Fix emission of private variables 2023-03-20 21:46:01 +00:00
vk-gl-cts [tint] do not emit space for binding group 0 2023-03-31 17:55:19 +00:00
extract-spvasm.py
parse_hlsl_errors.py
test-all.sh