From ea0a54b993ec1740ec8b724a7482b6df02d0bf63 Mon Sep 17 00:00:00 2001 From: Jo Bates Date: Sat, 5 May 2018 14:40:12 -0500 Subject: [PATCH] Expose cmd_set_depth_bounds --- ash/src/device.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ash/src/device.rs b/ash/src/device.rs index 9de2172..bce3645 100644 --- a/ash/src/device.rs +++ b/ash/src/device.rs @@ -793,6 +793,16 @@ pub trait DeviceV1_0 { .cmd_set_blend_constants(command_buffer, &blend_constants); } + unsafe fn cmd_set_depth_bounds( + &self, + command_buffer: vk::CommandBuffer, + min_depth_bounds: f32, + max_depth_bounds: f32, + ) { + self.fp_v1_0() + .cmd_set_depth_bounds(command_buffer, min_depth_bounds, max_depth_bounds); + } + unsafe fn cmd_set_stencil_reference( &self, command_buffer: vk::CommandBuffer,