dawn.json: Update with recent WebIDL changes for upstream headers
Under the tag "upstream" this commit: - Adds TextureDescriptor::viewFormats - Adds MipmapFilterMode and uses it in SamplerDescriptor - Adds DeviceDescriptor::defaultQueue that's a newly introduced QueueDescriptor. - Rmove signalValue from Queue::OnSubmittedWorkDone Bug: dawn:1322 Bug: dawn:1323 Bug: dawn:1276 Change-Id: I6c2923a0672f16c8dc06f927405042f2c80f00fc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83821 Auto-Submit: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
d450c6edc9
commit
eee3449499
35
dawn.json
35
dawn.json
|
@ -152,7 +152,8 @@
|
||||||
{"name": "label", "type": "char", "annotation": "const*", "length": "strlen", "optional": true},
|
{"name": "label", "type": "char", "annotation": "const*", "length": "strlen", "optional": true},
|
||||||
{"name": "required features count", "type": "uint32_t", "default": 0},
|
{"name": "required features count", "type": "uint32_t", "default": 0},
|
||||||
{"name": "required features", "type": "feature name", "annotation": "const*", "length": "required features count", "default": "nullptr"},
|
{"name": "required features", "type": "feature name", "annotation": "const*", "length": "required features count", "default": "nullptr"},
|
||||||
{"name": "required limits", "type": "required limits", "annotation": "const*", "optional": true}
|
{"name": "required limits", "type": "required limits", "annotation": "const*", "optional": true},
|
||||||
|
{"name": "default queue", "type": "queue descriptor", "tags": ["upstream"]}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dawn toggles device descriptor": {
|
"dawn toggles device descriptor": {
|
||||||
|
@ -1469,6 +1470,14 @@
|
||||||
{"value": 2, "name": "write"}
|
{"value": 2, "name": "write"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"mipmap filter mode": {
|
||||||
|
"category": "enum",
|
||||||
|
"tags": ["upstream"],
|
||||||
|
"values": [
|
||||||
|
{"value": 0, "name": "nearest"},
|
||||||
|
{"value": 1, "name": "linear"}
|
||||||
|
]
|
||||||
|
},
|
||||||
"store op": {
|
"store op": {
|
||||||
"category": "enum",
|
"category": "enum",
|
||||||
"values": [
|
"values": [
|
||||||
|
@ -1610,12 +1619,21 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "on submitted work done",
|
"name": "on submitted work done",
|
||||||
|
"tags": ["dawn", "emscripten"],
|
||||||
"args": [
|
"args": [
|
||||||
{"name": "signal value", "type": "uint64_t"},
|
{"name": "signal value", "type": "uint64_t"},
|
||||||
{"name": "callback", "type": "queue work done callback"},
|
{"name": "callback", "type": "queue work done callback"},
|
||||||
{"name": "userdata", "type": "void", "annotation": "*"}
|
{"name": "userdata", "type": "void", "annotation": "*"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "on submitted work done",
|
||||||
|
"tags": ["upstream"],
|
||||||
|
"args": [
|
||||||
|
{"name": "callback", "type": "queue work done callback"},
|
||||||
|
{"name": "userdata", "type": "void", "annotation": "*"}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "write buffer",
|
"name": "write buffer",
|
||||||
"args": [
|
"args": [
|
||||||
|
@ -1648,6 +1666,14 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"queue descriptor": {
|
||||||
|
"category": "structure",
|
||||||
|
"extensible": "in",
|
||||||
|
"tags": ["upstream"],
|
||||||
|
"members": [
|
||||||
|
{"name": "label", "type": "char", "annotation": "const*", "length": "strlen", "optional": true}
|
||||||
|
]
|
||||||
|
},
|
||||||
"queue work done callback": {
|
"queue work done callback": {
|
||||||
"category": "function pointer",
|
"category": "function pointer",
|
||||||
"args": [
|
"args": [
|
||||||
|
@ -2202,7 +2228,8 @@
|
||||||
{"name": "address mode w", "type": "address mode", "default": "clamp to edge"},
|
{"name": "address mode w", "type": "address mode", "default": "clamp to edge"},
|
||||||
{"name": "mag filter", "type": "filter mode", "default": "nearest"},
|
{"name": "mag filter", "type": "filter mode", "default": "nearest"},
|
||||||
{"name": "min filter", "type": "filter mode", "default": "nearest"},
|
{"name": "min filter", "type": "filter mode", "default": "nearest"},
|
||||||
{"name": "mipmap filter", "type": "filter mode", "default": "nearest"},
|
{"name": "mipmap filter", "type": "filter mode", "default": "nearest", "tags": ["dawn", "emscripten"]},
|
||||||
|
{"name": "mipmap filter", "type": "mipmap filter mode", "default": "nearest", "tags": ["upstream"]},
|
||||||
{"name": "lod min clamp", "type": "float", "default": "0.0f"},
|
{"name": "lod min clamp", "type": "float", "default": "0.0f"},
|
||||||
{"name": "lod max clamp", "type": "float", "default": "1000.0f"},
|
{"name": "lod max clamp", "type": "float", "default": "1000.0f"},
|
||||||
{"name": "compare", "type": "compare function", "default": "undefined"},
|
{"name": "compare", "type": "compare function", "default": "undefined"},
|
||||||
|
@ -2487,7 +2514,9 @@
|
||||||
{"name": "size", "type": "extent 3D"},
|
{"name": "size", "type": "extent 3D"},
|
||||||
{"name": "format", "type": "texture format"},
|
{"name": "format", "type": "texture format"},
|
||||||
{"name": "mip level count", "type": "uint32_t", "default": 1},
|
{"name": "mip level count", "type": "uint32_t", "default": 1},
|
||||||
{"name": "sample count", "type": "uint32_t", "default": 1}
|
{"name": "sample count", "type": "uint32_t", "default": 1},
|
||||||
|
{"name": "view format count", "type": "uint32_t", "default": 0, "tags": ["upstream"]},
|
||||||
|
{"name": "view formats", "type": "texture format", "annotation": "const*", "length": "view format count", "tags": ["upstream"]}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"texture dimension": {
|
"texture dimension": {
|
||||||
|
|
Loading…
Reference in New Issue