gpu: add constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
85041d6f93
commit
c045ce7caa
2 changed files with 10 additions and 23 deletions
23
gpu/src/TODO
23
gpu/src/TODO
|
|
@ -1,26 +1,3 @@
|
|||
#define WGPU_ARRAY_LAYER_COUNT_UNDEFINED (0xffffffffUL)
|
||||
#define WGPU_COPY_STRIDE_UNDEFINED (0xffffffffUL)
|
||||
#define WGPU_LIMIT_U32_UNDEFINED (0xffffffffUL)
|
||||
#define WGPU_LIMIT_U64_UNDEFINED (0xffffffffffffffffULL)
|
||||
#define WGPU_MIP_LEVEL_COUNT_UNDEFINED (0xffffffffUL)
|
||||
#define WGPU_STRIDE_UNDEFINED (0xffffffffUL)
|
||||
#define WGPU_WHOLE_MAP_SIZE SIZE_MAX
|
||||
#define WGPU_WHOLE_SIZE (0xffffffffffffffffULL)
|
||||
|
||||
typedef uint32_t WGPUFlags;
|
||||
|
||||
typedef struct WGPUChainedStruct {
|
||||
struct WGPUChainedStruct const * next;
|
||||
WGPUSType sType;
|
||||
} WGPUChainedStruct;
|
||||
|
||||
typedef struct WGPUChainedStructOut {
|
||||
struct WGPUChainedStructOut * next;
|
||||
WGPUSType sType;
|
||||
} WGPUChainedStructOut;
|
||||
|
||||
|
||||
|
||||
// TODO: Dawn specific
|
||||
typedef struct WGPUDawnCacheDeviceDescriptor {
|
||||
WGPUChainedStruct chain;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue