diff --git a/gpu/src/TODO b/gpu/src/TODO index 5a477965..e914a113 100644 --- a/gpu/src/TODO +++ b/gpu/src/TODO @@ -348,21 +348,12 @@ typedef struct WGPUFragmentState { WGPUColorTargetState const * targets; } WGPUFragmentState; - - - typedef struct WGPUComputePassTimestampWrite { WGPUQuerySet querySet; uint32_t queryIndex; WGPUComputePassTimestampLocation location; } WGPUComputePassTimestampWrite; -typedef struct WGPUExtent3D { - uint32_t width; - uint32_t height; - uint32_t depthOrArrayLayers; -} WGPUExtent3D; - typedef struct WGPUExternalTextureBindingEntry { WGPUChainedStruct chain; WGPUExternalTexture externalTexture; @@ -372,17 +363,32 @@ typedef struct WGPUExternalTextureBindingLayout { WGPUChainedStruct chain; } 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 { uint32_t x; uint32_t y; uint32_t z; } WGPUOrigin3D; -typedef struct WGPUPrimitiveDepthClampingState { - WGPUChainedStruct chain; - bool clampDepth; -} WGPUPrimitiveDepthClampingState; - typedef struct WGPURenderPassDepthStencilAttachment { WGPUTextureView view; WGPULoadOp depthLoadOp; @@ -397,12 +403,6 @@ typedef struct WGPURenderPassDepthStencilAttachment { bool stencilReadOnly; } WGPURenderPassDepthStencilAttachment; -typedef struct WGPURenderPassTimestampWrite { - WGPUQuerySet querySet; - uint32_t queryIndex; - WGPURenderPassTimestampLocation location; -} WGPURenderPassTimestampWrite; - typedef struct WGPUStencilFaceState { WGPUCompareFunction compare; WGPUStencilOperation failOp;