From 90902015bf811c9775caad322c660eaa7de3f121 Mon Sep 17 00:00:00 2001 From: sagudev <16504129+sagudev@users.noreply.github.com> Date: Fri, 6 Dec 2024 09:53:45 +0100 Subject: [PATCH] Make some webgpu stuff pub insted of pub(crate) this matches wgpu-core backend Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --- wgpu/src/backend/webgpu.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wgpu/src/backend/webgpu.rs b/wgpu/src/backend/webgpu.rs index 789d2f22cdd..fb78dcd1b58 100644 --- a/wgpu/src/backend/webgpu.rs +++ b/wgpu/src/backend/webgpu.rs @@ -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>, /// Unique identifier for this context. @@ -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, } @@ -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, } @@ -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, }