dawn-cmake/test/types
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
..
texture GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +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: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +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: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +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: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +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: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +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: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +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: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +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: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +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: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +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: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +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: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +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