gpu: consistent style for deprecation comments

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-27 10:11:08 -07:00 committed by Stephen Gutekanst
parent 7e6bd7b3e0
commit bd07e67224
2 changed files with 5 additions and 4 deletions

View file

@ -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,
};