gpu: add Buffer.BindingLayout

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-15 00:44:53 -07:00 committed by Stephen Gutekanst
parent 2890aa48ea
commit 71ed3ad6f7
2 changed files with 8 additions and 7 deletions

View file

@ -1,10 +1,3 @@
typedef struct WGPUBufferBindingLayout {
WGPUChainedStruct const * nextInChain;
WGPUBufferBindingType type;
bool hasDynamicOffset;
uint64_t minBindingSize;
} WGPUBufferBindingLayout;
typedef struct WGPUBufferDescriptor {
WGPUChainedStruct const * nextInChain;
char const * label; // nullable