dawn-cmake/test/types
James Price 7a47fa8495 writer/msl: Handle private and workgroup variables
Add a transform that pushes these into the entry point and then passes
them by pointer to any functions that need them.

Since WGSL does not allow non-function storage class at
function-scope, add a DisableValidation attribute to bypass this
check.

Fixed: tint/726
Change-Id: Ic1f4cd691a54c19e77a60e8ba178508e4249bfd9
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51962
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: James Price <jrprice@google.com>
Auto-Submit: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-05-26 15:41:02 +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 test: Add expected files for HLSL tests that pass 2021-05-21 13:57:48 +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_let.wgsl writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_let.wgsl.expected.hlsl writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_let.wgsl.expected.msl writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_let.wgsl.expected.spvasm writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_let.wgsl.expected.wgsl writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_var.wgsl writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_var.wgsl.expected.hlsl writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_var.wgsl.expected.msl writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_var.wgsl.expected.spvasm writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_var.wgsl.expected.wgsl writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_var_initializers.wgsl writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_var_initializers.wgsl.expected.hlsl writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_var_initializers.wgsl.expected.msl writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_var_initializers.wgsl.expected.spvasm writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
module_scope_var_initializers.wgsl.expected.wgsl writer/msl: Handle private and workgroup variables 2021-05-26 15:41:02 +00:00
parameters.wgsl writer/msl: Fix array type emission 2021-05-20 21:20:47 +00:00
parameters.wgsl.expected.hlsl test: Add expected files for HLSL tests that pass 2021-05-21 13:57:48 +00:00
parameters.wgsl.expected.msl writer/msl: Emit const on array and ptr parameters 2021-05-22 12:40:04 +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