gpu: add BindGroup.Entry

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-15 00:36:35 -07:00 committed by Stephen Gutekanst
parent 3c8dfa06a1
commit a6eab5ef18
5 changed files with 15 additions and 13 deletions

View file

@ -1,13 +1,3 @@
typedef struct WGPUBindGroupEntry {
WGPUChainedStruct const * nextInChain;
uint32_t binding;
WGPUBuffer buffer; // nullable
uint64_t offset;
uint64_t size;
WGPUSampler sampler; // nullable
WGPUTextureView textureView; // nullable
} WGPUBindGroupEntry;
typedef struct WGPUBlendComponent {
WGPUBlendOperation operation;
WGPUBlendFactor srcFactor;