dawn.json: split pipeline async status error

GPUPipelineError differentiates between validation and internal errors,
so update the async pipeline creation status accordingly. The "error"
enum value is kept temporarily while Chromium is updated.

Bug: chromium:1404422
Change-Id: Iac8174a9a3d15068caa5dcf815123c5b2b99fe5f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/119240
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2023-02-08 19:36:53 +00:00 committed by Dawn LUCI CQ
parent 132be47737
commit e4b4c4737e
1 changed files with 6 additions and 4 deletions

View File

@ -971,10 +971,12 @@
"emscripten_no_enum_table": true, "emscripten_no_enum_table": true,
"values": [ "values": [
{"value": 0, "name": "success"}, {"value": 0, "name": "success"},
{"value": 1, "name": "error"}, {"value": 1, "name": "validation error"},
{"value": 2, "name": "device lost"}, {"value": 2, "name": "internal error"},
{"value": 3, "name": "device destroyed"}, {"value": 3, "name": "device lost"},
{"value": 4, "name": "unknown"} {"value": 4, "name": "device destroyed"},
{"value": 5, "name": "unknown"},
{"value": 6, "name": "error"}
] ]
}, },
"create render pipeline async callback": { "create render pipeline async callback": {