diff --git a/gpu/src/TODO b/gpu/src/TODO index e914a113..81bce5eb 100644 --- a/gpu/src/TODO +++ b/gpu/src/TODO @@ -377,12 +377,6 @@ typedef struct WGPURenderPassTimestampWrite { -typedef struct WGPUExtent3D { - uint32_t width; - uint32_t height; - uint32_t depthOrArrayLayers; -} WGPUExtent3D; - typedef struct WGPUOrigin3D { uint32_t x; uint32_t y; diff --git a/gpu/src/structs.zig b/gpu/src/structs.zig index a2f1353f..68c75299 100644 --- a/gpu/src/structs.zig +++ b/gpu/src/structs.zig @@ -43,3 +43,9 @@ pub const Color = extern struct { b: f64, a: f64, }; + +pub const Extent3D = extern struct { + width: u32, + height: u32, + depth_or_array_layers: u32, +};