webgpu.h: use UINT32_MAX etc. to define UNDEFINED macros
Fixed: dawn:2226
Change-Id: I1cc93a001e968b6dcef2945c0352129ff54d2309
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/162104
Auto-Submit: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/dawn.json b/dawn.json
index 00c03d9..b51706b 100644
--- a/dawn.json
+++ b/dawn.json
@@ -3643,7 +3643,7 @@
"whole size" : {
"category": "constant",
"type": "uint64_t",
- "value": "(0xffffffffffffffffULL)"
+ "value": "UINT64_MAX"
},
"whole map size" : {
"category": "constant",
@@ -3653,32 +3653,32 @@
"copy stride undefined" : {
"category": "constant",
"type": "uint32_t",
- "value": "(0xffffffffUL)"
+ "value": "UINT32_MAX"
},
"limit u32 undefined" : {
"category": "constant",
"type": "uint32_t",
- "value": "(0xffffffffUL)"
+ "value": "UINT32_MAX"
},
"limit u64 undefined" : {
"category": "constant",
"type": "uint64_t",
- "value": "(0xffffffffffffffffULL)"
+ "value": "UINT64_MAX"
},
"array layer count undefined" : {
"category": "constant",
"type": "uint32_t",
- "value": "(0xffffffffUL)"
+ "value": "UINT32_MAX"
},
"mip level count undefined" : {
"category": "constant",
"type": "uint32_t",
- "value": "(0xffffffffUL)"
+ "value": "UINT32_MAX"
},
"query set index undefined" : {
"category": "constant",
"type": "uint32_t",
- "value": "(0xffffffffUL)"
+ "value": "UINT32_MAX"
},
"ObjectType": {
"_comment": "Only used for the wire",