Rename draw commands to match WebGPU IDL
BUG=dawn:51
Change-Id: I2a78f4e77c54aeae48d3fb78bf4701352ff40529
Reviewed-on: https://dawn-review.googlesource.com/c/3040
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
diff --git a/dawn.json b/dawn.json
index 1a076ee..617e2c0 100644
--- a/dawn.json
+++ b/dawn.json
@@ -797,7 +797,7 @@
]
},
{
- "name": "draw arrays",
+ "name": "draw",
"args": [
{"name": "vertex count", "type": "uint32_t"},
{"name": "instance count", "type": "uint32_t"},
@@ -806,7 +806,7 @@
]
},
{
- "name": "draw elements",
+ "name": "draw indexed",
"args": [
{"name": "index count", "type": "uint32_t"},
{"name": "instance count", "type": "uint32_t"},