gpu: add MultisampleState

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 15:30:02 -07:00 committed by Stephen Gutekanst
parent 0fd769923c
commit a6be646b94
3 changed files with 8 additions and 7 deletions

View file

@ -192,6 +192,7 @@ typedef struct WGPUConstantEntry {
double value;
} WGPUConstantEntry;
// TODO: Dawn-specific?
typedef struct WGPUCopyTextureForBrowserOptions {
WGPUChainedStruct const * nextInChain;
bool flipY;
@ -203,13 +204,6 @@ typedef struct WGPUCopyTextureForBrowserOptions {
WGPUAlphaMode dstAlphaMode;
} WGPUCopyTextureForBrowserOptions;
typedef struct WGPUMultisampleState {
WGPUChainedStruct const * nextInChain;
uint32_t count;
uint32_t mask;
bool alphaToCoverageEnabled;
} WGPUMultisampleState;
typedef struct WGPUPrimitiveState {
WGPUChainedStruct const * nextInChain;
WGPUPrimitiveTopology topology;