diff --git a/gpu/TODO-webgpu.h b/gpu/TODO-webgpu.h index a7c15914..43976382 100644 --- a/gpu/TODO-webgpu.h +++ b/gpu/TODO-webgpu.h @@ -1,8 +1,3 @@ -pub const PrimitiveDepthClipControl = extern struct { - chain: ChainedStruct, - unclipped_depth: bool, -}; - pub const PrimitiveState = extern struct { next_in_chain: *const ChainedStruct, topology: PrimitiveTopology, diff --git a/gpu/src/types.zig b/gpu/src/types.zig index 193c15d3..73c7bea8 100644 --- a/gpu/src/types.zig +++ b/gpu/src/types.zig @@ -469,6 +469,11 @@ pub const PrimitiveDepthClampingState = extern struct { clamp_depth: bool, }; +pub const PrimitiveDepthClipControl = extern struct { + chain: ChainedStruct, + unclipped_depth: bool, +}; + test "BackendType name" { try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name()); }