dawn-cmake/test/statements/assign/indexed_assign_to_array_in_...
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
..
in_for_loop_body.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
in_for_loop_body.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
in_for_loop_body.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
in_for_loop_body.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
in_for_loop_body.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
in_for_loop_body.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
in_for_loop_continuing.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
in_for_loop_continuing.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
in_for_loop_continuing.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
in_for_loop_continuing.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
in_for_loop_continuing.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
in_for_loop_continuing.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
in_for_loop_init.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
in_for_loop_init.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
in_for_loop_init.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
in_for_loop_init.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
in_for_loop_init.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
in_for_loop_init.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
indexing_with_side_effect_func.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
indexing_with_side_effect_func.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
indexing_with_side_effect_func.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
indexing_with_side_effect_func.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
indexing_with_side_effect_func.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
indexing_with_side_effect_func.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_array.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_array.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
struct_array.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
struct_array.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_array.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_array.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_array_array.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_array_array.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
struct_array_array.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
struct_array_array.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_array_array.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_array_array.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_array_struct.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_array_struct.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
struct_array_struct.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
struct_array_struct.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_array_struct.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_array_struct.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_array_struct_array.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_array_struct_array.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
struct_array_struct_array.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
struct_array_struct_array.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_array_struct_array.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_array_struct_array.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_dynamic_array.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_dynamic_array.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
struct_dynamic_array.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
struct_dynamic_array.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_dynamic_array.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_dynamic_array.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_dynamic_array_struct_array.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_dynamic_array_struct_array.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
struct_dynamic_array_struct_array.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
struct_dynamic_array_struct_array.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_dynamic_array_struct_array.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_dynamic_array_struct_array.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_matrix.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_matrix.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
struct_matrix.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
struct_matrix.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_matrix.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_matrix.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_multiple_arrays.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_multiple_arrays.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
struct_multiple_arrays.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
struct_multiple_arrays.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_multiple_arrays.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_multiple_arrays.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_struct_array.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_struct_array.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
struct_struct_array.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
struct_struct_array.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_struct_array.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_struct_array.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_vector.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_vector.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
struct_vector.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
struct_vector.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_vector.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
struct_vector.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
vector_assign.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
vector_assign.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
vector_assign.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
vector_assign.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
vector_assign.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
vector_assign.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
via_pointer.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
via_pointer.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
via_pointer.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
via_pointer.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
via_pointer.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
via_pointer.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
via_pointer_arg.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
via_pointer_arg.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
via_pointer_arg.wgsl.expected.hlsl HLSL: work around FXC failures when dynamically indexing arrays in structs 2021-12-13 15:55:11 +00:00
via_pointer_arg.wgsl.expected.msl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
via_pointer_arg.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
via_pointer_arg.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00