mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Work around cbindgen issue
cbindgen spins out of control if wgpu_hal reexports a wgpu_types type using pub type in stead of pub use while keeping the same name.
This commit is contained in:
committed by
Teodor Tanasoaia
parent
dc842ae289
commit
ff7b2c3993
@@ -1572,8 +1572,8 @@ pub struct AccelerationStructureTriangleTransform<'a, A: Api> {
|
||||
pub offset: u32,
|
||||
}
|
||||
|
||||
pub type AccelerationStructureBuildFlags = wgt::AccelerationStructureFlags;
|
||||
pub type AccelerationStructureGeometryFlags = wgt::AccelerationStructureGeometryFlags;
|
||||
pub use wgt::AccelerationStructureFlags as AccelerationStructureBuildFlags;
|
||||
pub use wgt::AccelerationStructureGeometryFlags;
|
||||
|
||||
bitflags::bitflags! {
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||
|
||||
Reference in New Issue
Block a user