gpu: consistent style for deprecation comments
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
7e6bd7b3e0
commit
bd07e67224
2 changed files with 5 additions and 4 deletions
|
|
@ -77,12 +77,14 @@ pub const RenderPassDepthStencilAttachment = extern struct {
|
||||||
view: texture_view.TextureView,
|
view: texture_view.TextureView,
|
||||||
depth_load_op: types.LoadOp = .undef,
|
depth_load_op: types.LoadOp = .undef,
|
||||||
depth_store_op: types.StoreOp = .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_clear_value: f32 = 0,
|
||||||
depth_read_only: bool = false,
|
depth_read_only: bool = false,
|
||||||
stencil_load_op: types.LoadOp = .undef,
|
stencil_load_op: types.LoadOp = .undef,
|
||||||
stencil_store_op: types.StoreOp = .undef,
|
stencil_store_op: types.StoreOp = .undef,
|
||||||
clear_stencil: u32 = 0, // deprecated
|
/// deprecated
|
||||||
|
clear_stencil: u32 = 0,
|
||||||
stencil_clear_value: u32 = 0,
|
stencil_clear_value: u32 = 0,
|
||||||
stencil_read_only: bool = false,
|
stencil_read_only: bool = false,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,6 @@ pub const SwapChainDescriptor = extern struct {
|
||||||
width: u32,
|
width: u32,
|
||||||
height: u32,
|
height: u32,
|
||||||
present_mode: PresentMode,
|
present_mode: PresentMode,
|
||||||
|
/// deprecated
|
||||||
/// Deprecated
|
|
||||||
implementation: u64 = 0,
|
implementation: u64 = 0,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue