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:
Corentin Wallez 2020-10-16 14:20:06 +00:00 committed by Commit Bot service account
parent 4196a546bf
commit 2931c429c9
1 changed files with 3 additions and 3 deletions

View File

@ -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": {