dawn-cmake/test/types
James Price 0c978e9bbb writer/msl: Fix array type emission
Add a special-case for pointer-to-array types, where the * and the
variable name need to be enclosed in parentheses in between the array
element type and the size.

Move the `const` qualifier to before the array size.

Add E2E tests to cover all non-handle types used in various places.

Fixed: tint:822
Change-Id: I93b7d6867f92397aa47838ab2c94530b6e634617
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51823
Auto-Submit: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-05-20 21:20:47 +00:00
..
function_scope_declarations.wgsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
function_scope_declarations.wgsl.expected.hlsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
function_scope_declarations.wgsl.expected.msl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
function_scope_declarations.wgsl.expected.spvasm writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
function_scope_declarations.wgsl.expected.wgsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
module_scope_declarations.wgsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
module_scope_declarations.wgsl.expected.hlsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
module_scope_declarations.wgsl.expected.msl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
module_scope_declarations.wgsl.expected.spvasm writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
module_scope_declarations.wgsl.expected.wgsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
parameters.wgsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
parameters.wgsl.expected.hlsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
parameters.wgsl.expected.msl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
parameters.wgsl.expected.spvasm writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
parameters.wgsl.expected.wgsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
return_types.wgsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
return_types.wgsl.expected.hlsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
return_types.wgsl.expected.msl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
return_types.wgsl.expected.spvasm writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
return_types.wgsl.expected.wgsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
struct_members.wgsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
struct_members.wgsl.expected.hlsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
struct_members.wgsl.expected.msl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
struct_members.wgsl.expected.spvasm writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
struct_members.wgsl.expected.wgsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00