Ben Clayton
bbc235425b
Use tint::transform::Spirv
...
The new tint::transform::[Spirv,Hlsl,Msl] transforms sanitize the tint::Program for the given backend.
The tint::transform::Spirv transform handles edge cases for sample masks (crbug.com/tint/372). We can now enable these tests.
Rework dawn_native::[opengl,vulkan]::ShaderModule::Initialize() so that transforms are applied *before* calling ShaderModuleBase::InitializeBase(). This is done as InitializeBase() wants to validate the SPIR-V, which requires the pre-processing of tint::transform::Spirv.
InitializeBase() also performs shader reflection which needs to be performed on the post-transformed program for the information to be correct.
Bug: tint:372
Change-Id: I4c96ce89b6ae286972549d8c7efe59e77c469063
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/42223
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2021-02-24 12:50:00 +00:00
..
2021-02-23 01:51:06 +00:00
2021-02-23 01:51:06 +00:00
2021-01-05 02:39:18 +00:00
2021-02-24 12:50:00 +00:00
2021-02-24 12:50:00 +00:00
2020-10-14 13:33:15 +00:00
2020-10-14 13:33:15 +00:00
2020-12-03 18:42:13 +00:00
2020-12-03 18:42:13 +00:00
2020-01-10 13:28:18 +00:00
2020-01-10 13:28:18 +00:00
2020-12-21 20:14:26 +00:00
2020-06-19 21:39:23 +00:00
2021-01-13 22:25:58 +00:00
2020-12-03 18:42:13 +00:00
2020-07-14 22:20:35 +00:00
2020-12-12 02:09:56 +00:00
2020-12-21 20:14:26 +00:00
2020-04-10 19:04:42 +00:00
2020-04-30 15:58:28 +00:00
2020-06-11 18:58:26 +00:00
2019-10-29 18:40:12 +00:00
2021-02-04 15:33:42 +00:00
2021-01-27 15:54:12 +00:00
2021-02-22 18:27:36 +00:00
2020-12-03 18:42:13 +00:00
2020-12-08 16:32:34 +00:00
2021-02-22 18:27:36 +00:00
2020-08-13 20:25:39 +00:00
2020-08-13 20:25:39 +00:00
2020-12-08 12:39:03 +00:00
2020-10-01 19:56:49 +00:00
2021-02-23 16:37:29 +00:00
2021-02-23 16:37:29 +00:00
2021-02-18 18:06:28 +00:00
2021-02-23 01:51:06 +00:00
2020-11-18 09:47:52 +00:00
2021-02-02 05:30:50 +00:00
2021-02-05 20:11:24 +00:00
2021-02-23 01:51:06 +00:00
2021-02-04 03:10:03 +00:00
2020-12-22 06:55:36 +00:00
2020-12-03 18:42:13 +00:00
2020-12-03 18:42:13 +00:00
2021-02-10 20:17:14 +00:00
2020-12-02 08:13:09 +00:00
2021-02-22 18:27:36 +00:00
2021-02-23 01:51:06 +00:00
2021-01-20 19:39:28 +00:00
2021-02-04 19:32:12 +00:00
2021-02-22 19:43:56 +00:00
2021-02-22 18:27:36 +00:00
2020-09-28 19:35:14 +00:00
2020-09-28 19:35:14 +00:00
2020-11-14 01:24:03 +00:00
2020-11-14 01:24:03 +00:00
2020-08-06 17:00:29 +00:00
2021-01-21 10:11:54 +00:00
2020-06-16 17:53:38 +00:00
2021-02-19 18:31:02 +00:00
2020-04-01 12:07:43 +00:00
2020-04-01 12:07:43 +00:00
2020-01-06 19:56:17 +00:00
2020-01-06 19:56:17 +00:00
2021-02-19 18:17:22 +00:00
2021-02-19 18:17:22 +00:00
2021-02-05 20:11:24 +00:00
2021-02-05 20:11:24 +00:00
2021-02-04 15:33:42 +00:00
2021-01-27 15:54:12 +00:00
2021-02-16 19:55:09 +00:00
2021-02-16 19:55:09 +00:00
2020-06-11 00:34:14 +00:00
2021-02-11 08:26:38 +00:00
2021-02-11 08:26:38 +00:00
2020-09-28 19:35:14 +00:00
2020-12-22 06:55:36 +00:00
2020-04-06 18:20:02 +00:00
2020-04-20 17:36:22 +00:00
2020-12-03 18:42:13 +00:00
2020-12-16 07:53:30 +00:00
2021-01-22 19:53:46 +00:00
2021-01-22 19:53:46 +00:00
2020-05-04 17:10:49 +00:00
2020-12-16 07:53:30 +00:00
2020-12-16 07:53:30 +00:00
2019-10-23 11:57:41 +00:00
2019-10-23 11:57:41 +00:00
2020-12-03 18:42:13 +00:00
2020-12-03 18:42:13 +00:00
2021-01-29 14:42:54 +00:00
2020-12-03 18:42:13 +00:00
2020-12-16 07:53:30 +00:00
2020-08-17 17:47:15 +00:00
2021-01-28 14:44:15 +00:00
2021-02-23 01:51:06 +00:00
2021-01-27 21:27:54 +00:00
2021-02-23 01:51:06 +00:00
2021-02-10 14:01:36 +00:00
2021-02-10 14:01:36 +00:00
2021-02-19 18:17:22 +00:00
2021-01-27 15:54:12 +00:00
2021-01-27 17:20:16 +00:00
2021-02-23 01:51:06 +00:00
2021-01-28 14:44:15 +00:00
2021-01-27 17:20:16 +00:00
2021-02-23 16:37:29 +00:00
2021-01-27 17:20:16 +00:00
2021-01-28 14:44:15 +00:00
2021-01-27 17:20:16 +00:00
2021-02-10 19:47:13 +00:00
2021-02-23 01:51:06 +00:00
2020-07-10 18:19:38 +00:00
2019-10-30 00:19:43 +00:00
2020-07-10 18:19:38 +00:00
2020-03-09 15:53:19 +00:00
2020-09-28 19:35:14 +00:00
2020-09-28 19:35:14 +00:00
2020-12-30 19:47:33 +00:00
2020-12-24 03:11:17 +00:00
2021-02-24 12:50:00 +00:00
2021-01-29 14:42:54 +00:00
2020-12-21 20:14:26 +00:00
2020-12-21 20:14:26 +00:00
2020-07-10 18:19:38 +00:00
2020-07-10 18:19:38 +00:00
2021-02-05 20:11:24 +00:00
2021-02-05 20:11:24 +00:00
2021-01-21 11:07:44 +00:00
2020-01-15 13:14:12 +00:00
2020-10-27 11:31:26 +00:00
2020-10-27 11:31:26 +00:00
2021-01-11 18:04:12 +00:00
2020-10-27 11:31:26 +00:00
2021-02-19 05:15:47 +00:00
2021-01-20 19:39:28 +00:00
2020-06-11 00:34:14 +00:00
2021-02-18 18:06:28 +00:00
2021-02-18 18:06:28 +00:00
2021-02-11 08:26:38 +00:00
2021-02-11 08:26:38 +00:00