Skip to content

Commit d7dcc9b

Browse files
committed
Make public more things
1 parent f979162 commit d7dcc9b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

wgpu-hal/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ mod gles;
7373
#[cfg(all(feature = "metal"))]
7474
mod metal;
7575
#[cfg(feature = "vulkan")]
76-
mod vulkan;
76+
pub mod vulkan;
7777

7878
pub mod auxil;
7979
pub mod api {

wgpu-hal/src/vulkan/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Otherwise, we manage a pool of `VkFence` objects behind each `hal::Fence`.
2727

2828
mod adapter;
2929
mod command;
30-
mod conv;
30+
pub mod conv;
3131
mod device;
3232
mod instance;
3333

@@ -350,8 +350,8 @@ pub struct Texture {
350350
raw: vk::Image,
351351
drop_guard: Option<crate::DropGuard>,
352352
block: Option<gpu_alloc::MemoryBlock<vk::DeviceMemory>>,
353-
usage: crate::TextureUses,
354-
aspects: crate::FormatAspects,
353+
pub usage: crate::TextureUses,
354+
pub aspects: crate::FormatAspects,
355355
format_info: wgt::TextureFormatInfo,
356356
raw_flags: vk::ImageCreateFlags,
357357
copy_size: crate::CopyExtent,

0 commit comments

Comments
 (0)