gpu: add StencilFaceState

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 14:49:07 -07:00 committed by Stephen Gutekanst
parent 9b08741970
commit ad03565ff5
3 changed files with 13 additions and 9 deletions

View file

@ -374,9 +374,6 @@ typedef struct WGPURenderPassTimestampWrite {
WGPURenderPassTimestampLocation location;
} WGPURenderPassTimestampWrite;
typedef struct WGPURenderPassDepthStencilAttachment {
WGPUTextureView view;
WGPULoadOp depthLoadOp;
@ -391,12 +388,9 @@ typedef struct WGPURenderPassDepthStencilAttachment {
bool stencilReadOnly;
} WGPURenderPassDepthStencilAttachment;
typedef struct WGPUStencilFaceState {
WGPUCompareFunction compare;
WGPUStencilOperation failOp;
WGPUStencilOperation depthFailOp;
WGPUStencilOperation passOp;
} WGPUStencilFaceState;
typedef struct WGPUVertexAttribute {
WGPUVertexFormat format;