File tree Expand file tree Collapse file tree 5 files changed +326
-215
lines changed Expand file tree Collapse file tree 5 files changed +326
-215
lines changed Original file line number Diff line number Diff line change 81
81
*
82
82
* @{
83
83
*/
84
-
84
+ {{ if eq .Name "webgpu"}}
85
85
/**
86
86
* 'True' value of @ref WGPUBool.
87
87
*
96
96
* `stdbool.h` or C++) casts to the same value.
97
97
*/
98
98
#define WGPU_FALSE (UINT32_C(0))
99
+ /**
100
+ * @deprecated alias for the new, more specific macro name.
101
+ */
102
+ #define WGPU_LIMITS_INIT WGPU_DEVICE_LIMITS_INIT
103
+ /**
104
+ * @deprecated alias for the new, more specific macro name.
105
+ */
106
+ #define WGPU_SUPPORTED_FEATURES_INIT WGPU_SUPPORTED_DEVICE_FEATURES_INIT
107
+ {{- end }}
99
108
{{- range .Constants}}
100
109
{{- MComment .Doc 0}}
101
110
#define WGPU_{{ConstantCaseName .Base}} ({{.Value | CValue}})
Original file line number Diff line number Diff line change 292
292
"type" : " string"
293
293
},
294
294
"type" : {
295
- "$ref" : " #/definitions/PrimitiveType "
295
+ "$ref" : " #/definitions/Type "
296
296
}
297
297
},
298
298
"required" : [
Original file line number Diff line number Diff line change 32
32
* @{
33
33
*/
34
34
35
- /**
36
- * 'True' value of @ref WGPUBool.
37
- *
38
- * @remark It's not usually necessary to use this, as `true` (from
39
- * `stdbool.h` or C++) casts to the same value.
40
- */
41
- #define WGPU_TRUE (UINT32_C(1))
42
- /**
43
- * 'False' value of @ref WGPUBool.
44
- *
45
- * @remark It's not usually necessary to use this, as `false` (from
46
- * `stdbool.h` or C++) casts to the same value.
47
- */
48
- #define WGPU_FALSE (UINT32_C(0))
49
35
/**
50
36
* New constant should have the namespace prefix in the name by default.
51
37
*/
You can’t perform that action at this time.
0 commit comments