File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010### Added
1111
1212- Added ` VK_EXT_metal_objects ` device extension (#942 )
13+ - Added ` VK_EXT_depth_clamp_control ` device extension (#947 )
1314
1415## [ 0.38.0] - 2024-04-01
1516
Original file line number Diff line number Diff line change 1+ //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_depth_clamp_control.html>
2+
3+ use crate :: vk;
4+
5+ impl crate :: ext:: depth_clamp_control:: Device {
6+ /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetDepthClampRangeEXT.html>
7+ #[ inline]
8+ #[ doc( alias = "vkCmdSetDepthClampRangeEXT" ) ]
9+ pub unsafe fn cmd_set_depth_clamp_range (
10+ & self ,
11+ command_buffer : vk:: CommandBuffer ,
12+ depth_clamp_mode : vk:: DepthClampModeEXT ,
13+ depth_clamp_range : & vk:: DepthClampRangeEXT ,
14+ ) {
15+ ( self . fp . cmd_set_depth_clamp_range_ext ) ( command_buffer, depth_clamp_mode, depth_clamp_range)
16+ }
17+ }
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ pub mod debug_marker;
66#[ deprecated( note = "Please use the [DebugUtils](struct.DebugUtils.html) extension instead." ) ]
77pub mod debug_report;
88pub mod debug_utils;
9+ pub mod depth_clamp_control;
910pub mod descriptor_buffer;
1011pub mod extended_dynamic_state;
1112pub mod extended_dynamic_state2;
You can’t perform that action at this time.
0 commit comments