gpu: sort data struct TODOs

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 14:45:43 -07:00 committed by Stephen Gutekanst
parent a7b0a50dd4
commit 8abcbd6444

View file

@ -348,21 +348,12 @@ typedef struct WGPUFragmentState {
WGPUColorTargetState const * targets; WGPUColorTargetState const * targets;
} WGPUFragmentState; } WGPUFragmentState;
typedef struct WGPUComputePassTimestampWrite { typedef struct WGPUComputePassTimestampWrite {
WGPUQuerySet querySet; WGPUQuerySet querySet;
uint32_t queryIndex; uint32_t queryIndex;
WGPUComputePassTimestampLocation location; WGPUComputePassTimestampLocation location;
} WGPUComputePassTimestampWrite; } WGPUComputePassTimestampWrite;
typedef struct WGPUExtent3D {
uint32_t width;
uint32_t height;
uint32_t depthOrArrayLayers;
} WGPUExtent3D;
typedef struct WGPUExternalTextureBindingEntry { typedef struct WGPUExternalTextureBindingEntry {
WGPUChainedStruct chain; WGPUChainedStruct chain;
WGPUExternalTexture externalTexture; WGPUExternalTexture externalTexture;
@ -372,17 +363,32 @@ typedef struct WGPUExternalTextureBindingLayout {
WGPUChainedStruct chain; WGPUChainedStruct chain;
} WGPUExternalTextureBindingLayout; } WGPUExternalTextureBindingLayout;
typedef struct WGPUPrimitiveDepthClampingState {
WGPUChainedStruct chain;
bool clampDepth;
} WGPUPrimitiveDepthClampingState;
typedef struct WGPURenderPassTimestampWrite {
WGPUQuerySet querySet;
uint32_t queryIndex;
WGPURenderPassTimestampLocation location;
} WGPURenderPassTimestampWrite;
typedef struct WGPUExtent3D {
uint32_t width;
uint32_t height;
uint32_t depthOrArrayLayers;
} WGPUExtent3D;
typedef struct WGPUOrigin3D { typedef struct WGPUOrigin3D {
uint32_t x; uint32_t x;
uint32_t y; uint32_t y;
uint32_t z; uint32_t z;
} WGPUOrigin3D; } WGPUOrigin3D;
typedef struct WGPUPrimitiveDepthClampingState {
WGPUChainedStruct chain;
bool clampDepth;
} WGPUPrimitiveDepthClampingState;
typedef struct WGPURenderPassDepthStencilAttachment { typedef struct WGPURenderPassDepthStencilAttachment {
WGPUTextureView view; WGPUTextureView view;
WGPULoadOp depthLoadOp; WGPULoadOp depthLoadOp;
@ -397,12 +403,6 @@ typedef struct WGPURenderPassDepthStencilAttachment {
bool stencilReadOnly; bool stencilReadOnly;
} WGPURenderPassDepthStencilAttachment; } WGPURenderPassDepthStencilAttachment;
typedef struct WGPURenderPassTimestampWrite {
WGPUQuerySet querySet;
uint32_t queryIndex;
WGPURenderPassTimestampLocation location;
} WGPURenderPassTimestampWrite;
typedef struct WGPUStencilFaceState { typedef struct WGPUStencilFaceState {
WGPUCompareFunction compare; WGPUCompareFunction compare;
WGPUStencilOperation failOp; WGPUStencilOperation failOp;