dawn-cmake/test/statements/assign/indexed_assign_to_array_in_...
Ben Clayton 8ec32a6ec9 writers: Use the new sem::Module::DependencyOrderedDeclarations
As the resolver currently enforces in-order declarations, this does not
change the declaration order from iterating over the
ast::Module::GlobalDeclarations.

The MSL backend has been changed to use the
sem::Module::DependencyOrderedDeclarations list instead of looping over
different declaration types separately.

Bug: tint:1266
Change-Id: I698d612032285311017bfceab3c42adae1928a0e
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/79767
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +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 writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +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