Loko Kung
75c978f9b9
Fixes buffer unmapping issue in D3D12
...
- Ensures that the D3D12 buffer destruction implementation no longer handles unmapping as that is now handled in the frontend.
- Moves around when the frontend buffer state is set to MappedAtCreation so that it only happens when the staging buffer (when necessary) is created successfully. Note that if the staging buffer was not created successfully, we will never return that buffer and would instead return an error buffer anyways. We need the state to be Unmapped though since it needs to be properly destroyed.
Bug: chromium:1265923, dawn:628
Change-Id: I62f98f0f1379a9cf0af565adfb8256ffe592b1ad
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/68880
Commit-Queue: Loko Kung <lokokung@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-11-10 20:28:02 +00:00
..
2021-11-10 20:28:02 +00:00
2021-11-04 18:43:10 +00:00
2021-11-01 23:42:52 +00:00
2021-11-03 22:48:34 +00:00
2021-11-04 22:21:20 +00:00
2021-11-04 18:43:10 +00:00
2021-10-20 17:42:38 +00:00
2021-10-19 22:52:14 +00:00
2021-06-04 05:12:06 +00:00
2021-06-04 22:23:56 +00:00
2021-09-28 15:40:01 +00:00
2021-09-28 15:40:01 +00:00
2021-10-20 17:42:38 +00:00
2020-01-10 13:28:18 +00:00
2021-11-01 18:14:21 +00:00
2021-11-01 18:14:21 +00:00
2021-11-01 18:14:21 +00:00
2021-11-01 18:14:21 +00:00
2021-08-05 14:45:48 +00:00
2021-10-19 16:14:51 +00:00
2021-10-19 16:14:51 +00:00
2021-06-04 22:23:56 +00:00
2021-06-04 22:23:56 +00:00
2020-06-11 18:58:26 +00:00
2019-10-29 18:40:12 +00:00
2021-11-10 20:28:02 +00:00
2021-11-01 23:42:52 +00:00
2021-11-04 22:21:20 +00:00
2020-12-03 18:42:13 +00:00
2021-09-28 15:40:01 +00:00
2021-05-02 03:22:30 +00:00
2021-05-27 00:49:03 +00:00
2021-11-05 20:59:31 +00:00
2021-09-15 18:29:00 +00:00
2021-09-15 18:29:00 +00:00
2021-11-02 18:23:49 +00:00
2021-11-02 18:23:49 +00:00
2021-11-02 15:39:49 +00:00
2021-10-29 18:52:33 +00:00
2021-11-03 22:48:34 +00:00
2021-11-02 18:23:49 +00:00
2021-11-02 18:23:49 +00:00
2021-11-02 19:53:09 +00:00
2021-10-05 00:34:30 +00:00
2021-10-01 17:05:55 +00:00
2021-06-18 13:29:39 +00:00
2021-06-18 13:29:39 +00:00
2021-11-04 22:21:20 +00:00
2021-10-29 18:52:33 +00:00
2021-11-01 18:14:21 +00:00
2021-11-01 18:14:21 +00:00
2021-11-04 22:21:20 +00:00
2021-03-04 18:13:45 +00:00
2021-11-02 03:07:52 +00:00
2021-10-13 00:43:05 +00:00
2021-10-27 19:07:37 +00:00
2021-10-12 13:21:56 +00:00
2021-11-03 01:31:19 +00:00
2021-11-03 01:31:19 +00:00
2021-06-23 09:22:22 +00:00
2020-09-28 19:35:14 +00:00
2021-10-28 00:13:17 +00:00
2021-11-03 01:31:19 +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-10-12 18:53:57 +00:00
2021-11-03 01:31:19 +00:00
2021-09-29 19:39:02 +00:00
2020-01-06 19:56:17 +00:00
2020-01-06 19:56:17 +00:00
2021-09-23 17:34:53 +00:00
2021-02-19 18:17:22 +00:00
2021-10-01 15:34:25 +00:00
2021-09-28 15:40:01 +00:00
2021-10-11 10:18:09 +00:00
2021-10-04 11:30:02 +00:00
2021-11-03 22:48:34 +00:00
2021-10-11 10:18:09 +00:00
2021-10-27 19:07:37 +00:00
2021-11-02 18:23:49 +00:00
2021-11-02 18:23:49 +00:00
2021-11-04 22:21:20 +00:00
2021-10-13 18:57:18 +00:00
2021-10-20 17:42:38 +00:00
2021-10-04 11:30:02 +00:00
2021-09-01 22:15:41 +00:00
2021-09-23 00:15:19 +00:00
2021-10-29 18:52:33 +00:00
2021-10-20 17:42:38 +00:00
2021-09-28 01:04:10 +00:00
2021-11-01 23:42:52 +00:00
2021-11-01 23:42:52 +00:00
2020-12-03 18:42:13 +00:00
2020-12-16 07:53:30 +00:00
2021-06-01 19:45:53 +00:00
2021-09-17 17:07:43 +00:00
2021-07-16 17:44:59 +00:00
2021-06-04 05:12:06 +00:00
2021-06-04 05:12:06 +00:00
2021-10-19 16:14:51 +00:00
2021-10-19 16:14:51 +00:00
2021-11-04 18:43:10 +00:00
2021-11-01 18:14:21 +00:00
2021-11-01 18:14:21 +00:00
2021-11-01 18:14:21 +00:00
2020-12-16 07:53:30 +00:00
2020-08-17 17:47:15 +00:00
2021-11-03 01:31:19 +00:00
2021-10-28 00:13:17 +00:00
2021-11-04 22:21:20 +00:00
2021-05-18 01:13:08 +00:00
2021-11-01 23:42:52 +00:00
2021-11-01 23:42:52 +00:00
2021-10-20 17:42:38 +00:00
2021-09-28 15:40:01 +00:00
2021-10-19 21:10:23 +00:00
2021-10-19 21:10:23 +00:00
2021-11-03 01:31:19 +00:00
2021-10-27 19:07:37 +00:00
2021-11-03 01:31:19 +00:00
2021-10-19 21:10:23 +00:00
2021-11-10 02:06:05 +00:00
2021-10-27 19:07:37 +00:00
2021-11-01 18:14:21 +00:00
2021-11-01 18:14:21 +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
2021-06-23 09:22:22 +00:00
2021-06-07 18:23:52 +00:00
2021-06-23 09:22:22 +00:00
2021-11-01 18:14:21 +00:00
2021-11-01 18:14:21 +00:00
2021-09-23 00:15:19 +00:00
2021-09-23 00:15:19 +00:00
2021-11-04 18:43:10 +00:00
2021-11-04 18:43:10 +00:00
2021-10-21 19:25:04 +00:00
2021-08-12 05:20:48 +00:00
2020-07-10 18:19:38 +00:00
2020-07-10 18:19:38 +00:00
2021-09-23 17:34:53 +00:00
2021-04-01 20:46:42 +00:00
2021-07-27 18:42:59 +00:00
2020-01-15 13:14:12 +00:00
2021-10-21 23:45:54 +00:00
2021-10-27 19:07:37 +00:00
2021-11-01 18:14:21 +00:00
2021-09-28 15:40:01 +00:00
2021-10-13 18:57:18 +00:00
2021-10-01 01:45:14 +00:00
2021-03-25 15:37:44 +00:00
2021-03-25 15:37:44 +00:00
2021-04-19 08:52:35 +00:00
2021-10-29 13:17:27 +00:00
2021-10-29 13:17:27 +00:00
2021-07-22 08:57:29 +00:00
2021-07-22 08:57:29 +00:00
2021-02-11 08:26:38 +00:00
2021-02-11 08:26:38 +00:00