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>
diff --git a/dawn.json b/dawn.json
index 036f212..8ba51e3 100644
--- a/dawn.json
+++ b/dawn.json
@@ -14,8 +14,13 @@
"See the License for the specific language governing permissions and",
"limitations under the License."
],
- "bool": {
- "category": "native"
+ "address mode": {
+ "category": "enum",
+ "values": [
+ {"value": 0, "name":"repeat"},
+ {"value": 1, "name":"mirrored repeat"},
+ {"value": 2, "name":"clamp to edge"}
+ ]
},
"bind group": {
"category": "object"
@@ -159,6 +164,9 @@
}
]
},
+ "bool": {
+ "category": "native"
+ },
"builder error status": {
"category": "enum",
"values": [
@@ -673,14 +681,6 @@
{"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": {
"category": "native"
},
@@ -1010,6 +1010,19 @@
{"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": {
"category": "bitmask",
"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": {
"category": "enum",
"values": [
@@ -1067,13 +1067,13 @@
"void": {
"category": "native"
},
- "uint8_t": {
- "category": "native"
- },
"uint32_t": {
"category": "native"
},
"uint64_t": {
"category": "native"
+ },
+ "uint8_t": {
+ "category": "native"
}
}