Skip to content

Commit

Permalink
Make some webgpu stuff pub insted of pub(crate)
Browse files Browse the repository at this point in the history
this matches wgpu-core backend

Signed-off-by: sagudev <[email protected]>
  • Loading branch information
sagudev committed Dec 6, 2024
1 parent 23abad4 commit 088532e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions wgpu/src/backend/webgpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ macro_rules! impl_send_sync {
};
}

pub(crate) struct ContextWebGpu {
pub struct ContextWebGpu {
/// `None` if browser does not advertise support for WebGPU.
gpu: Option<DefinedNonNullJsValue<webgpu_sys::Gpu>>,
/// Unique identifier for this context.
Expand Down Expand Up @@ -1244,13 +1244,13 @@ pub struct WebTexture {
}

#[derive(Debug)]
pub(crate) struct WebBlas {
pub struct WebBlas {
/// Unique identifier for this Blas.
ident: crate::cmp::Identifier,
}

#[derive(Debug)]
pub(crate) struct WebTlas {
pub struct WebTlas {
/// Unique identifier for this Blas.
ident: crate::cmp::Identifier,
}
Expand Down Expand Up @@ -1284,7 +1284,7 @@ pub struct WebComputePipeline {
}

#[derive(Debug)]
pub(crate) struct WebPipelineCache {
pub struct WebPipelineCache {
/// Unique identifier for this PipelineCache.
ident: crate::cmp::Identifier,
}
Expand Down Expand Up @@ -1341,7 +1341,7 @@ pub struct WebSurface {
}

#[derive(Debug)]
pub(crate) struct WebSurfaceOutputDetail {
pub struct WebSurfaceOutputDetail {
/// Unique identifier for this SurfaceOutputDetail.
ident: crate::cmp::Identifier,
}
Expand Down

0 comments on commit 088532e

Please sign in to comment.