dawn-cmake/test/tint/builtins/atomics/from_gen/literal
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
..
atomicAdd [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
atomicAnd [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
atomicCompareExchangeWeak Tint/GLSL: rename identifiers containing double-underscores. 2023-05-26 04:53:17 +00:00
atomicExchange [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
atomicLoad [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
atomicMax [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
atomicMin [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
atomicOr [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
atomicStore [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
atomicSub [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
atomicXor [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
spvAtomicDecrement [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
spvAtomicIncrement [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00