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
..
2021-05-10 18:27:31 +00:00
2021-05-21 14:32:38 +00:00
2021-05-21 14:32:38 +00:00
2021-05-10 18:27:31 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-05-10 18:27:31 +00:00
2021-04-30 19:58:49 +00:00
2021-04-30 19:58:49 +00:00
2021-04-15 17:47:23 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 18:27:31 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-04-15 17:47:23 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 18:06:31 +00:00
2021-04-15 17:47:23 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 18:27:31 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-05 09:09:41 +00:00
2021-05-05 09:09:41 +00:00
2021-05-20 15:10:48 +00:00
2021-04-15 17:47:23 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 18:27:31 +00:00
2021-04-28 13:50:43 +00:00
2021-04-28 13:50:43 +00:00
2021-05-10 18:27:31 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-03-10 11:41:49 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 18:27:31 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:57:34 +00:00
2021-04-16 19:57:34 +00:00
2021-04-15 17:47:23 +00:00
2021-05-22 12:42:14 +00:00
2021-05-22 12:42:14 +00:00
2021-04-15 17:47:23 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-28 13:50:43 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-13 23:27:27 +00:00
2021-04-13 23:27:27 +00:00
2021-03-10 11:41:49 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-03-11 17:39:32 +00:00
2021-04-13 23:27:27 +00:00
2021-05-10 18:27:31 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-05-26 15:41:02 +00:00
2021-05-26 15:41:02 +00:00
2021-03-10 11:41:49 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-15 17:47:23 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-19 22:54:43 +00:00
2021-05-10 18:27:31 +00:00
2021-04-26 14:55:25 +00:00
2021-04-26 14:55:25 +00:00
2021-05-10 18:27:31 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-03-10 11:41:49 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 18:27:31 +00:00
2021-04-28 13:50:43 +00:00
2021-04-28 13:50:43 +00:00
2021-05-19 13:40:08 +00:00
2021-05-19 08:15:18 +00:00
2021-05-20 15:10:48 +00:00
2021-05-10 18:27:31 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 18:27:31 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-04-15 18:20:03 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-15 17:47:23 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-28 13:50:43 +00:00
2021-04-28 13:50:43 +00:00
2021-05-19 13:40:08 +00:00
2021-04-16 19:07:51 +00:00
2021-05-12 12:54:21 +00:00
2021-05-20 15:10:48 +00:00
2021-05-05 16:19:22 +00:00
2021-04-28 13:50:43 +00:00
2021-04-28 13:50:43 +00:00
2021-05-10 18:27:31 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-15 17:47:23 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 18:27:31 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-04-15 17:47:23 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 19:16:46 +00:00
2021-04-15 17:47:23 +00:00
2021-05-05 09:09:41 +00:00
2021-05-05 09:09:41 +00:00
2021-05-10 18:27:31 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-04-30 19:58:49 +00:00
2021-04-30 19:58:49 +00:00
2021-04-16 19:07:51 +00:00
2021-04-19 22:51:23 +00:00
2021-05-13 20:11:22 +00:00
2021-05-13 20:11:22 +00:00
2021-05-13 20:11:22 +00:00
2020-03-02 15:47:43 -05:00
2021-04-09 16:51:38 +00:00
2021-05-10 18:27:31 +00:00
2021-04-26 14:19:55 +00:00
2021-05-13 13:36:32 +00:00
2021-04-15 17:47:23 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 18:27:31 +00:00
2021-04-26 14:19:55 +00:00
2021-04-26 14:19:55 +00:00
2021-05-10 18:27:31 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-04-28 13:50:43 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 18:27:31 +00:00
2021-04-28 13:50:43 +00:00
2021-04-28 13:50:43 +00:00
2021-05-10 18:27:31 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-13 23:27:27 +00:00
2021-04-13 23:27:27 +00:00
2021-05-10 19:16:46 +00:00
2021-05-10 19:16:46 +00:00
2021-05-10 18:27:31 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-05-10 18:27:31 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-23 22:11:14 +00:00
2021-05-10 18:27:31 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 18:27:31 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-10 18:27:31 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-05 09:09:41 +00:00
2021-05-05 09:09:41 +00:00
2021-05-20 15:10:48 +00:00
2021-05-10 18:27:31 +00:00
2021-05-06 16:03:33 +00:00
2021-04-30 19:58:49 +00:00
2021-04-28 13:50:43 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-04-09 16:51:38 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-05-21 20:25:53 +00:00
2021-05-05 09:09:41 +00:00
2021-05-05 09:09:41 +00:00
2021-05-20 15:10:48 +00:00
2021-04-28 13:39:53 +00:00
2021-04-23 15:41:34 +00:00
2021-05-10 18:06:31 +00:00
2021-05-10 18:27:31 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-05-10 18:27:31 +00:00
2021-04-28 13:50:43 +00:00
2021-04-28 13:50:43 +00:00
2021-04-15 17:47:23 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-17 14:48:37 +00:00
2021-05-17 14:48:37 +00:00
2021-04-15 17:47:23 +00:00
2021-04-16 19:07:51 +00:00
2021-04-16 19:07:51 +00:00
2021-05-14 12:26:33 +00:00
2021-05-14 17:51:13 +00:00
2021-05-20 15:10:48 +00:00
2021-05-10 18:27:31 +00:00
2021-04-26 14:19:55 +00:00
2021-04-26 14:19:55 +00:00
2021-04-20 15:04:21 +00:00
2021-04-20 15:04:21 +00:00
2021-05-19 13:40:08 +00:00
2021-05-19 13:40:08 +00:00
2021-05-19 13:40:08 +00:00