dawn-cmake/test/types
Ben Clayton 4135ea55eb writer/hlsl: Don't wrap arrays in structures
FXC has trouble dealing with these.
This was originally added to handle returning arrays as structures.
HLSL supports typedefs, which is a much simpiler solution, and doesn't upset FXC.

Bug: tint:848
Bug: tint:904
Change-Id: Ie841c9c454461a885a35c41476fd4d05d3f34cbf
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/56774
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2021-07-05 15:20:57 +00:00
..
texture validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
function_scope_declarations.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
function_scope_var_conversions.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
function_scope_var_conversions.wgsl.expected.hlsl Validate scalar constructor and implement conversion to vecN<bool> in spir-v backend 2021-06-18 15:32:21 +00:00
function_scope_var_conversions.wgsl.expected.msl Validate scalar constructor and implement conversion to vecN<bool> in spir-v backend 2021-06-18 15:32:21 +00:00
function_scope_var_conversions.wgsl.expected.spvasm Validate scalar constructor and implement conversion to vecN<bool> in spir-v backend 2021-06-18 15:32:21 +00:00
function_scope_var_conversions.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
module_scope_let.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_var.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_var_conversions.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
module_scope_var_conversions.wgsl.expected.hlsl Validate scalar constructor and implement conversion to vecN<bool> in spir-v backend 2021-06-18 15:32:21 +00:00
module_scope_var_conversions.wgsl.expected.msl Validate scalar constructor and implement conversion to vecN<bool> in spir-v backend 2021-06-18 15:32:21 +00:00
module_scope_var_conversions.wgsl.expected.spvasm Validate scalar constructor and implement conversion to vecN<bool> in spir-v backend 2021-06-18 15:32:21 +00:00
module_scope_var_conversions.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
module_scope_var_initializers.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
parameters.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
return_types.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
sampler.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
sampler.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
sampler.wgsl.expected.msl writer/msl: Handle texture and sampler variables 2021-06-11 12:34:26 +00:00
sampler.wgsl.expected.spvasm writer/msl: Handle texture and sampler variables 2021-06-11 12:34:26 +00:00
sampler.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
struct_members.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +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 validation: structures cannot be empty 2021-07-01 08:13:41 +00:00