Add default to VertexState.bufferCount
Bug: dawn:764 Change-Id: Ib4fe94b198c6980c8dd849b3bb15f88e7f063c5f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/47980 Auto-Submit: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
413dcf8a40
commit
41b4c9de9d
|
@ -1639,7 +1639,7 @@
|
||||||
"members": [
|
"members": [
|
||||||
{"name": "module", "type": "shader module"},
|
{"name": "module", "type": "shader module"},
|
||||||
{"name": "entry point", "type": "char", "annotation": "const*", "length": "strlen"},
|
{"name": "entry point", "type": "char", "annotation": "const*", "length": "strlen"},
|
||||||
{"name": "buffer count", "type": "uint32_t"},
|
{"name": "buffer count", "type": "uint32_t", "default": 0},
|
||||||
{"name": "buffers", "type": "vertex buffer layout", "annotation": "const*", "length": "buffer count"}
|
{"name": "buffers", "type": "vertex buffer layout", "annotation": "const*", "length": "buffer count"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue