dawn-cmake/test/types
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
..
texture GLSL: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +00:00
function_scope_declarations.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
function_scope_declarations.wgsl.expected.glsl GLSL: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +00:00
function_scope_declarations.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
function_scope_declarations.wgsl.expected.msl writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +00:00
function_scope_declarations.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
function_scope_declarations.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
function_scope_var_conversions.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
function_scope_var_conversions.wgsl.expected.glsl GLSL: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +00:00
function_scope_var_conversions.wgsl.expected.hlsl Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
function_scope_var_conversions.wgsl.expected.msl Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
function_scope_var_conversions.wgsl.expected.spvasm Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
function_scope_var_conversions.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
module_scope_let.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
module_scope_let.wgsl.expected.glsl GLSL: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +00:00
module_scope_let.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
module_scope_let.wgsl.expected.msl writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +00:00
module_scope_let.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_let.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
module_scope_var.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
module_scope_var.wgsl.expected.glsl GLSL: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +00:00
module_scope_var.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
module_scope_var.wgsl.expected.msl writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +00:00
module_scope_var.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_var.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
module_scope_var_conversions.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
module_scope_var_conversions.wgsl.expected.glsl GLSL: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +00:00
module_scope_var_conversions.wgsl.expected.hlsl Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
module_scope_var_conversions.wgsl.expected.msl Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
module_scope_var_conversions.wgsl.expected.spvasm Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
module_scope_var_conversions.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
module_scope_var_initializers.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
module_scope_var_initializers.wgsl.expected.glsl GLSL: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +00:00
module_scope_var_initializers.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
module_scope_var_initializers.wgsl.expected.msl writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +00:00
module_scope_var_initializers.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_var_initializers.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
parameters.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
parameters.wgsl.expected.glsl GLSL: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +00:00
parameters.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
parameters.wgsl.expected.msl writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +00:00
parameters.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
parameters.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
return_types.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
return_types.wgsl.expected.glsl GLSL: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +00:00
return_types.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
return_types.wgsl.expected.msl writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +00:00
return_types.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
return_types.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
sampler.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
sampler.wgsl.expected.glsl GLSL: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +00:00
sampler.wgsl.expected.hlsl Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
sampler.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
sampler.wgsl.expected.spvasm Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
sampler.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_members.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
struct_members.wgsl.expected.glsl GLSL: only emit default precision qualifier for frag shader. 2022-02-07 18:49:46 +00:00
struct_members.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
struct_members.wgsl.expected.msl writers: Use the new sem::Module::DependencyOrderedDeclarations 2022-02-09 23:55:51 +00:00
struct_members.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
struct_members.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00