gpu: add MultisampleState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
0fd769923c
commit
a6be646b94
3 changed files with 8 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue