Add new errors to WGPUBufferMapAsyncStatusStatus
This CL adds "mapping already pending", "offset out of range",
"size out of range", and "validation error".
Those errors will be used in future CLs both in Dawn and Blink.
Bug: chromium:1431622
Change-Id: I70121f49542042b47e30f4acc67a8e9a869fc452
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/130260
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Fr <beaufort.francois@gmail.com>
diff --git a/dawn.json b/dawn.json
index 09c1f06..f7f969f 100644
--- a/dawn.json
+++ b/dawn.json
@@ -489,7 +489,11 @@
{"value": 2, "name": "unknown"},
{"value": 3, "name": "device lost"},
{"value": 4, "name": "destroyed before callback"},
- {"value": 5, "name": "unmapped before callback"}
+ {"value": 5, "name": "unmapped before callback"},
+ {"value": 6, "name": "mapping already pending"},
+ {"value": 7, "name": "offset out of range"},
+ {"value": 8, "name": "size out of range"},
+ {"value": 9, "name": "validation error"}
]
},
"buffer map state": {