gpu: add RenderPassDepthStencilAttachment
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
58fe1b12f7
commit
b505c5aecf
3 changed files with 18 additions and 14 deletions
14
gpu/src/TODO
14
gpu/src/TODO
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue