gpu: implement Limits and conversion

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-07 23:08:54 -07:00 committed by Stephen Gutekanst
parent 39ab0105a9
commit 4d97c52353
3 changed files with 60 additions and 39 deletions

View file

@ -994,6 +994,11 @@ typedef struct WGPUComputePipelineDescriptor {
WGPUProgrammableStageDescriptor compute;
} WGPUComputePipelineDescriptor;
typedef struct WGPUSupportedLimits {
WGPUChainedStructOut * nextInChain;
WGPULimits limits;
} WGPUSupportedLimits;
typedef struct WGPUDeviceProperties {
uint32_t deviceID;
uint32_t vendorID;