Make wgpu::Extent3D default to {1, 1, 1}.
Bug: dawn:22 Change-Id: Ibc9f8acdb5e09453f7b48c409a3f4a32d3927a33 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30400 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
4196a546bf
commit
2931c429c9
|
@ -719,9 +719,9 @@
|
|||
"extent 3D": {
|
||||
"category": "structure",
|
||||
"members": [
|
||||
{"name": "width", "type": "uint32_t"},
|
||||
{"name": "height", "type": "uint32_t"},
|
||||
{"name": "depth", "type": "uint32_t"}
|
||||
{"name": "width", "type": "uint32_t", "default": 1},
|
||||
{"name": "height", "type": "uint32_t", "default": 1},
|
||||
{"name": "depth", "type": "uint32_t", "default": 1}
|
||||
]
|
||||
},
|
||||
"fence": {
|
||||
|
|
Loading…
Reference in New Issue