gpu: add RenderPassDepthStencilAttachment

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 17:10:30 -07:00 committed by Stephen Gutekanst
parent 58fe1b12f7
commit b505c5aecf
3 changed files with 18 additions and 14 deletions

View file

@ -143,20 +143,6 @@ typedef struct WGPUPrimitiveDepthClampingState {
bool clampDepth;
} WGPUPrimitiveDepthClampingState;
typedef struct WGPURenderPassDepthStencilAttachment {
WGPUTextureView view;
WGPULoadOp depthLoadOp;
WGPUStoreOp depthStoreOp;
float clearDepth;
float depthClearValue;
bool depthReadOnly;
WGPULoadOp stencilLoadOp;
WGPUStoreOp stencilStoreOp;
uint32_t clearStencil;
uint32_t stencilClearValue;
bool stencilReadOnly;
} WGPURenderPassDepthStencilAttachment;
typedef struct WGPURenderPassColorAttachment {
WGPUTextureView view;
WGPUTextureView resolveTarget;