diff --git a/ash/Cargo.toml b/ash/Cargo.toml index 9a30726..205661e 100644 --- a/ash/Cargo.toml +++ b/ash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ash" -version = "0.24.2" +version = "0.24.3" authors = ["maik klein "] description = "Vulkan bindings for Rust" license = "MIT" diff --git a/ash/src/device.rs b/ash/src/device.rs index 9126735..3299f66 100644 --- a/ash/src/device.rs +++ b/ash/src/device.rs @@ -795,6 +795,21 @@ pub trait DeviceV1_0 { ); } + unsafe fn cmd_set_depth_bias( + &self, + command_buffer: vk::CommandBuffer, + constant_factor: f32, + clamp: f32, + slope_factor: f32, + ) { + self.fp_v1_0().cmd_set_depth_bias( + command_buffer, + constant_factor, + clamp, + slope_factor, + ); + } + unsafe fn cmd_set_blend_constants( &self, command_buffer: vk::CommandBuffer, @@ -814,6 +829,26 @@ pub trait DeviceV1_0 { .cmd_set_depth_bounds(command_buffer, min_depth_bounds, max_depth_bounds); } + unsafe fn cmd_set_stencil_compare_mask( + &self, + command_buffer: vk::CommandBuffer, + face_mask: vk::StencilFaceFlags, + compare_mask: u32, + ) { + self.fp_v1_0() + .cmd_set_stencil_compare_mask(command_buffer, face_mask, compare_mask); + } + + unsafe fn cmd_set_stencil_write_mask( + &self, + command_buffer: vk::CommandBuffer, + face_mask: vk::StencilFaceFlags, + write_mask: u32, + ) { + self.fp_v1_0() + .cmd_set_stencil_write_mask(command_buffer, face_mask, write_mask); + } + unsafe fn cmd_set_stencil_reference( &self, command_buffer: vk::CommandBuffer,