dawn.json: Fix ordering of types.

BUG=

Change-Id: Ie9257c58f523c3b760a4acb6e0d34111164ff135
Reviewed-on: https://dawn-review.googlesource.com/1420
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2018-09-11 18:16:54 +00:00 committed by Commit Bot service account
parent 4c35101b9c
commit a60799f5e1
1 changed files with 26 additions and 26 deletions

View File

@ -14,8 +14,13 @@
"See the License for the specific language governing permissions and", "See the License for the specific language governing permissions and",
"limitations under the License." "limitations under the License."
], ],
"bool": { "address mode": {
"category": "native" "category": "enum",
"values": [
{"value": 0, "name":"repeat"},
{"value": 1, "name":"mirrored repeat"},
{"value": 2, "name":"clamp to edge"}
]
}, },
"bind group": { "bind group": {
"category": "object" "category": "object"
@ -159,6 +164,9 @@
} }
] ]
}, },
"bool": {
"category": "native"
},
"builder error status": { "builder error status": {
"category": "enum", "category": "enum",
"values": [ "values": [
@ -673,14 +681,6 @@
{"value": 1, "name":"linear"} {"value": 1, "name":"linear"}
] ]
}, },
"address mode": {
"category": "enum",
"values": [
{"value": 0, "name":"repeat"},
{"value": 1, "name":"mirrored repeat"},
{"value": 2, "name":"clamp to edge"}
]
},
"float": { "float": {
"category": "native" "category": "native"
}, },
@ -1010,6 +1010,19 @@
{"value": 0, "name": "2D"} {"value": 0, "name": "2D"}
] ]
}, },
"texture format": {
"category": "enum",
"values": [
{"value": 0, "name": "r8 g8 b8 a8 unorm"},
{"value": 1, "name": "r8 g8 unorm"},
{"value": 2, "name": "r8 unorm"},
{"value": 3, "name": "r8 g8 b8 a8 uint"},
{"value": 4, "name": "r8 g8 uint"},
{"value": 5, "name": "r8 uint"},
{"value": 6, "name": "b8 g8 r8 a8 unorm"},
{"value": 7, "name": "d32 float s8 uint"}
]
},
"texture usage bit": { "texture usage bit": {
"category": "bitmask", "category": "bitmask",
"values": [ "values": [
@ -1034,19 +1047,6 @@
} }
] ]
}, },
"texture format": {
"category": "enum",
"values": [
{"value": 0, "name": "r8 g8 b8 a8 unorm"},
{"value": 1, "name": "r8 g8 unorm"},
{"value": 2, "name": "r8 unorm"},
{"value": 3, "name": "r8 g8 b8 a8 uint"},
{"value": 4, "name": "r8 g8 uint"},
{"value": 5, "name": "r8 uint"},
{"value": 6, "name": "b8 g8 r8 a8 unorm"},
{"value": 7, "name": "d32 float s8 uint"}
]
},
"vertex format": { "vertex format": {
"category": "enum", "category": "enum",
"values": [ "values": [
@ -1067,13 +1067,13 @@
"void": { "void": {
"category": "native" "category": "native"
}, },
"uint8_t": {
"category": "native"
},
"uint32_t": { "uint32_t": {
"category": "native" "category": "native"
}, },
"uint64_t": { "uint64_t": {
"category": "native" "category": "native"
},
"uint8_t": {
"category": "native"
} }
} }