dawn.json: add tags to not expose Dawn-specificities upstream.
Bug: None Change-Id: Idfda83227dbc6958f49d824d593026b9fc6d78c0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133101 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Loko Kung <lokokung@google.com>
This commit is contained in:
parent
70f9becc0d
commit
047bca4306
10
dawn.json
10
dawn.json
|
@ -54,7 +54,7 @@
|
||||||
{"name": "compatible surface", "type": "surface", "optional": true},
|
{"name": "compatible surface", "type": "surface", "optional": true},
|
||||||
{"name": "power preference", "type": "power preference", "default": "undefined"},
|
{"name": "power preference", "type": "power preference", "default": "undefined"},
|
||||||
{"name": "force fallback adapter", "type": "bool", "default": "false"},
|
{"name": "force fallback adapter", "type": "bool", "default": "false"},
|
||||||
{"name": "compatibility mode", "type": "bool", "default": "false"}
|
{"name": "compatibility mode", "type": "bool", "default": "false", "tags": ["dawn", "emscripten"]}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"request adapter status": {
|
"request adapter status": {
|
||||||
|
@ -142,7 +142,7 @@
|
||||||
{"name": "driver description", "type": "char", "annotation": "const*", "length": "strlen"},
|
{"name": "driver description", "type": "char", "annotation": "const*", "length": "strlen"},
|
||||||
{"name": "adapter type", "type": "adapter type"},
|
{"name": "adapter type", "type": "adapter type"},
|
||||||
{"name": "backend type", "type": "backend type"},
|
{"name": "backend type", "type": "backend type"},
|
||||||
{"name": "compatibility mode", "type": "bool", "default": "false"}
|
{"name": "compatibility mode", "type": "bool", "default": "false", "tags": ["dawn", "emscripten"]}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"adapter type": {
|
"adapter type": {
|
||||||
|
@ -1228,6 +1228,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "get supported surface usage",
|
"name": "get supported surface usage",
|
||||||
|
"tags": ["dawn"],
|
||||||
"returns": "texture usage",
|
"returns": "texture usage",
|
||||||
"args": [
|
"args": [
|
||||||
{"name": "surface", "type": "surface"}
|
{"name": "surface", "type": "surface"}
|
||||||
|
@ -1449,7 +1450,7 @@
|
||||||
{"value": 1005, "name": "chromium experimental dp4a", "tags": ["dawn"]},
|
{"value": 1005, "name": "chromium experimental dp4a", "tags": ["dawn"]},
|
||||||
{"value": 1006, "name": "timestamp query inside passes", "tags": ["dawn"]},
|
{"value": 1006, "name": "timestamp query inside passes", "tags": ["dawn"]},
|
||||||
{"value": 1007, "name": "implicit device synchronization", "tags": ["dawn", "native"]},
|
{"value": 1007, "name": "implicit device synchronization", "tags": ["dawn", "native"]},
|
||||||
{"value": 1008, "name": "surface capabilities", "tags": ["dawn", "native"]},
|
{"value": 1008, "name": "surface capabilities", "tags": ["dawn"]},
|
||||||
{"value": 1009, "name": "transient attachments", "tags": ["dawn"]}
|
{"value": 1009, "name": "transient attachments", "tags": ["dawn"]}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -2404,7 +2405,8 @@
|
||||||
"chain roots": ["shader module descriptor"],
|
"chain roots": ["shader module descriptor"],
|
||||||
"members": [
|
"members": [
|
||||||
{"name": "source", "type": "char", "annotation": "const*", "length": "strlen", "default": "nullptr", "optional": true, "tags": ["dawn", "emscripten"]},
|
{"name": "source", "type": "char", "annotation": "const*", "length": "strlen", "default": "nullptr", "optional": true, "tags": ["dawn", "emscripten"]},
|
||||||
{"name": "code", "type": "char", "annotation": "const*", "length": "strlen", "default": "nullptr", "optional": true}
|
{"name": "code", "type": "char", "annotation": "const*", "length": "strlen", "default": "nullptr", "optional": true, "tags": ["dawn", "emscripten"]},
|
||||||
|
{"name": "code", "type": "char", "annotation": "const*", "length": "strlen", "default": "nullptr", "tags": ["upstream"]}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dawn shader module SPIRV options descriptor": {
|
"dawn shader module SPIRV options descriptor": {
|
||||||
|
|
Loading…
Reference in New Issue