From e4b4c4737e97096216ce10ac760ea20c85a8c2a9 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Wed, 8 Feb 2023 19:36:53 +0000 Subject: [PATCH] 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 Kokoro: Kokoro Commit-Queue: Corentin Wallez --- dawn.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dawn.json b/dawn.json index 03cf47d0fe..682d3e8be1 100644 --- a/dawn.json +++ b/dawn.json @@ -971,10 +971,12 @@ "emscripten_no_enum_table": true, "values": [ {"value": 0, "name": "success"}, - {"value": 1, "name": "error"}, - {"value": 2, "name": "device lost"}, - {"value": 3, "name": "device destroyed"}, - {"value": 4, "name": "unknown"} + {"value": 1, "name": "validation error"}, + {"value": 2, "name": "internal error"}, + {"value": 3, "name": "device lost"}, + {"value": 4, "name": "device destroyed"}, + {"value": 5, "name": "unknown"}, + {"value": 6, "name": "error"} ] }, "create render pipeline async callback": {