dawn-cmake/test/intrinsics/arrayLength
Stephen White 0b39270e01 GLSL: move entry point handling to CanonicalizeEntryPointIO transform.
Move builtin_to_string() and builtin_type() to
the CanonicalizeEntryPointIO transform. Use the former to
rename entry point IO variables to the gl_ names, and the latter
to cast values to the correct type.

Change-Id: Iddfad574ddd660ff1bfd89a399a001b967b6b67e
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78380
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-01-28 22:36:58 +00:00
..
complex_via_let.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
complex_via_let.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
complex_via_let.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
complex_via_let.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
complex_via_let.wgsl.expected.spvasm Add arrayLength() intrinsic that accepts a pointer argument 2021-06-10 18:43:04 +00:00
complex_via_let.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
complex_via_let_no_struct.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
complex_via_let_no_struct.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
complex_via_let_no_struct.wgsl.expected.hlsl transform: Handle arrayLength for non-struct buffers 2022-01-19 15:55:56 +00:00
complex_via_let_no_struct.wgsl.expected.msl transform: Handle arrayLength for non-struct buffers 2022-01-19 15:55:56 +00:00
complex_via_let_no_struct.wgsl.expected.spvasm transform: Handle arrayLength for non-struct buffers 2022-01-19 15:55:56 +00:00
complex_via_let_no_struct.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
deprecated.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
deprecated.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
deprecated.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
deprecated.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
deprecated.wgsl.expected.spvasm Add arrayLength() intrinsic that accepts a pointer argument 2021-06-10 18:43:04 +00:00
deprecated.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
simple.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
simple.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
simple.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
simple.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
simple.wgsl.expected.spvasm Add arrayLength() intrinsic that accepts a pointer argument 2021-06-10 18:43:04 +00:00
simple.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
simple_no_struct.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
simple_no_struct.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
simple_no_struct.wgsl.expected.hlsl transform: Handle arrayLength for non-struct buffers 2022-01-19 15:55:56 +00:00
simple_no_struct.wgsl.expected.msl transform: Handle arrayLength for non-struct buffers 2022-01-19 15:55:56 +00:00
simple_no_struct.wgsl.expected.spvasm transform: Handle arrayLength for non-struct buffers 2022-01-19 15:55:56 +00:00
simple_no_struct.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
via_let.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
via_let.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
via_let.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
via_let.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
via_let.wgsl.expected.spvasm Add arrayLength() intrinsic that accepts a pointer argument 2021-06-10 18:43:04 +00:00
via_let.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
via_let_complex.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
via_let_complex.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
via_let_complex.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
via_let_complex.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
via_let_complex.wgsl.expected.spvasm Add arrayLength() intrinsic that accepts a pointer argument 2021-06-10 18:43:04 +00:00
via_let_complex.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
via_let_complex_no_struct.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
via_let_complex_no_struct.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
via_let_complex_no_struct.wgsl.expected.hlsl transform: Handle arrayLength for non-struct buffers 2022-01-19 15:55:56 +00:00
via_let_complex_no_struct.wgsl.expected.msl transform: Handle arrayLength for non-struct buffers 2022-01-19 15:55:56 +00:00
via_let_complex_no_struct.wgsl.expected.spvasm transform: Handle arrayLength for non-struct buffers 2022-01-19 15:55:56 +00:00
via_let_complex_no_struct.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
via_let_no_struct.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
via_let_no_struct.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
via_let_no_struct.wgsl.expected.hlsl transform: Handle arrayLength for non-struct buffers 2022-01-19 15:55:56 +00:00
via_let_no_struct.wgsl.expected.msl transform: Handle arrayLength for non-struct buffers 2022-01-19 15:55:56 +00:00
via_let_no_struct.wgsl.expected.spvasm transform: Handle arrayLength for non-struct buffers 2022-01-19 15:55:56 +00:00
via_let_no_struct.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00