Update VertexInput (InputState) to match spec - Part 1
This is only a renaming: change VertexInput to VertexBuffer, and
change InputState to VertexInput.
The next two patches will do as follows:
1) change the structure of vertex input descriptor related stuff.
2) change num to count.
BUG=dawn:80, dawn:107
Change-Id: Ie76aa653a527759a9c3b4a4792e3254689f053b8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/7420
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Yunchao He <yunchao.he@intel.com>
diff --git a/dawn.json b/dawn.json
index b7a18ce..45bed41 100644
--- a/dawn.json
+++ b/dawn.json
@@ -597,7 +597,7 @@
{"name": "format", "type": "vertex format"}
]
},
- "vertex input descriptor": {
+ "vertex buffer descriptor": {
"category": "structure",
"extensible": false,
"members": [
@@ -606,15 +606,15 @@
{"name": "step mode", "type": "input step mode"}
]
},
- "input state descriptor": {
+ "vertex input descriptor": {
"category": "structure",
"extensible": true,
"members": [
{"name": "index format", "type": "index format"},
{"name": "num attributes", "type": "uint32_t"},
{"name": "attributes", "type": "vertex attribute descriptor", "annotation": "const*", "length": "num attributes"},
- {"name": "num inputs", "type": "uint32_t"},
- {"name": "inputs", "type": "vertex input descriptor", "annotation": "const*", "length": "num inputs"}
+ {"name": "num buffers", "type": "uint32_t"},
+ {"name": "buffers", "type": "vertex buffer descriptor", "annotation": "const*", "length": "num buffers"}
]
},
"input step mode": {
@@ -864,7 +864,7 @@
{"name": "layout", "type": "pipeline layout"},
{"name": "vertex stage", "type": "pipeline stage descriptor", "annotation": "const*"},
{"name": "fragment stage", "type": "pipeline stage descriptor", "annotation": "const*"},
- {"name": "input state", "type": "input state descriptor", "annotation": "const*"},
+ {"name": "vertex input", "type": "vertex input descriptor", "annotation": "const*"},
{"name": "primitive topology", "type": "primitive topology"},
{"name": "rasterization state", "type": "rasterization state descriptor", "annotation": "const*"},
{"name": "sample count", "type": "uint32_t"},