Skip to content

Commit

Permalink
Maintenance1/Maintenance3: Make API functions public
Browse files Browse the repository at this point in the history
Fixes: a0a1f5d ("Add VK_KHR_maintenance extensions (#406)")
  • Loading branch information
MarijnS95 committed May 8, 2021
1 parent f735b9c commit 900e9a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions ash/src/extensions/khr/maintenance1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(dead_code)]
use crate::vk;
use crate::{Device, Instance};
use std::ffi::CStr;
Expand Down Expand Up @@ -26,7 +25,7 @@ impl Maintenance1 {
}

#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkTrimCommandPoolKHR.html>"]
unsafe fn trim_command_pool(
pub unsafe fn trim_command_pool(
&self,
command_pool: vk::CommandPool,
flags: vk::CommandPoolTrimFlagsKHR,
Expand Down
3 changes: 1 addition & 2 deletions ash/src/extensions/khr/maintenance3.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(dead_code)]
use crate::vk;
use crate::{Device, Instance};
use std::ffi::CStr;
Expand Down Expand Up @@ -26,7 +25,7 @@ impl Maintenance3 {
}

#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDescriptorSetLayoutSupportKHR.html>"]
unsafe fn get_descriptor_set_layout_support(
pub unsafe fn get_descriptor_set_layout_support(
&self,
create_info: &vk::DescriptorSetLayoutCreateInfo,
out: &mut vk::DescriptorSetLayoutSupportKHR,
Expand Down

0 comments on commit 900e9a2

Please sign in to comment.