dawn-cmake/test
James Price 1ca6fbad8f msl: Use a struct for threadgroup memory arguments
MSL has a limit on the number of threadgroup memory arguments, so use
a struct to support an arbitrary number of workgroup variables.

This commit introduces a `State` object to this transform, which is
used to track which structs have been cloned eagerly, in order to
avoid duplicating them.

Bug: tint:938
Change-Id: Ia467db186e176a08f160455eab5fd3b3662f56b8
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/65360
Auto-Submit: James Price <jrprice@google.com>
Kokoro: James Price <jrprice@google.com>
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-09-29 18:56:17 +00:00
..
access validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
array Allow array size to be a module-scope constant 2021-09-02 13:49:59 +00:00
buffer msl: Overload matrix-vector arithmetic operators 2021-08-23 21:45:23 +00:00
bug transform: Avoid symbol collision in Canonicalize IO 2021-09-27 21:40:33 +00:00
expressions msl: Overload matrix-vector arithmetic operators 2021-08-23 21:45:23 +00:00
intrinsics spirv backend: do not generate a load for ignored expressions 2021-09-16 13:32:57 +00:00
layout/storage/mat2x2 Allow array size to be a module-scope constant 2021-09-02 13:49:59 +00:00
loops Restore "MSL writer: make signed int overflow defined behaviour" 2021-07-30 18:59:06 +00:00
ptr_ref spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
samples msl: Only emit packed vectors when the width is 3 2021-08-23 21:45:23 +00:00
shader_io Implement and test num_workgroups for all backends 2021-09-13 17:11:58 +00:00
statements/for Restore "MSL writer: make signed int overflow defined behaviour" 2021-07-30 18:59:06 +00:00
struct Restore "MSL writer: make signed int overflow defined behaviour" 2021-07-30 18:59:06 +00:00
switch writer/hlsl: Inline fallthrough case statements 2021-08-02 12:58:19 +00:00
types spirv backend: do not generate a load for ignored expressions 2021-09-16 13:32:57 +00:00
unittest/reader/spirv Add more SPIR-V reader unit test samples 2021-09-27 20:55:53 +00:00
var msl: Use a struct for threadgroup memory arguments 2021-09-29 18:56:17 +00:00
vk-gl-cts test: Remove many expected files 2021-08-24 22:49:42 +00:00
BUILD.gn transform: Add NumWorkgroupsFromUniform transform 2021-09-13 17:11:58 +00:00
extract-spvasm.py Add --dump-spirv option to tint_unittests 2021-05-05 09:46:31 +00:00
test-all.sh main: Replace --dawn-validation with --validate 2021-06-02 21:02:34 +00:00