diff --git a/gpu/src/main.zig b/gpu/src/main.zig index 2f30b61e..0ca1b50d 100644 --- a/gpu/src/main.zig +++ b/gpu/src/main.zig @@ -77,12 +77,14 @@ pub const RenderPassDepthStencilAttachment = extern struct { view: texture_view.TextureView, depth_load_op: types.LoadOp = .undef, depth_store_op: types.StoreOp = .undef, - clear_depth: f32 = std.math.nan(f32), // deprecated + /// deprecated + clear_depth: f32 = std.math.nan(f32), depth_clear_value: f32 = 0, depth_read_only: bool = false, stencil_load_op: types.LoadOp = .undef, stencil_store_op: types.StoreOp = .undef, - clear_stencil: u32 = 0, // deprecated + /// deprecated + clear_stencil: u32 = 0, stencil_clear_value: u32 = 0, stencil_read_only: bool = false, }; diff --git a/gpu/src/swap_chain.zig b/gpu/src/swap_chain.zig index e45c3c7b..e558cde5 100644 --- a/gpu/src/swap_chain.zig +++ b/gpu/src/swap_chain.zig @@ -36,7 +36,6 @@ pub const SwapChainDescriptor = extern struct { width: u32, height: u32, present_mode: PresentMode, - - /// Deprecated + /// deprecated implementation: u64 = 0, };