File tree Expand file tree Collapse file tree 5 files changed +330
-219
lines changed Expand file tree Collapse file tree 5 files changed +330
-219
lines changed Original file line number Diff line number Diff line change 8181 *
8282 * @{
8383 */
84-
84+ {{ if eq .Name "webgpu"}}
8585/**
8686 * 'True' value of @ref WGPUBool.
8787 *
9696 * `stdbool.h` or C++) casts to the same value.
9797 */
9898#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 }}
99108{{- range .Constants}}
100109{{- MComment .Doc 0}}
101110#define WGPU_{{ConstantCaseName .Base}} ({{.Value | CValue}})
Original file line number Diff line number Diff line change 292292 "type" : " string"
293293 },
294294 "type" : {
295- "$ref" : " #/definitions/PrimitiveType "
295+ "$ref" : " #/definitions/Type "
296296 }
297297 },
298298 "required" : [
Original file line number Diff line number Diff line change 3232 * @{
3333 */
3434
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))
4935/**
5036 * New constant should have the namespace prefix in the name by default.
5137 */
You can’t perform that action at this time.
0 commit comments