From 2f32a2a8618067a94fcbd906fd2f7242c4e9f7fe Mon Sep 17 00:00:00 2001 From: Dimev <49782454+Dimev@users.noreply.github.com> Date: Sun, 8 Aug 2021 19:10:39 +0000 Subject: [PATCH] Added StorageTextureAccess to the exposed wgpu API (#2614) # Objective This fixes not having access to StorageTextureAccess in the API, which is needed for using storage textures ## Solution Added it to the use in render_resource module Co-authored-by: Dimas --- pipelined/bevy_render2/src/render_resource/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pipelined/bevy_render2/src/render_resource/mod.rs b/pipelined/bevy_render2/src/render_resource/mod.rs index f1a655c014ed3..e31a850d467eb 100644 --- a/pipelined/bevy_render2/src/render_resource/mod.rs +++ b/pipelined/bevy_render2/src/render_resource/mod.rs @@ -26,7 +26,7 @@ pub use wgpu::{ PrimitiveTopology, RenderPassColorAttachment, RenderPassDepthStencilAttachment, RenderPassDescriptor, RenderPipelineDescriptor, SamplerDescriptor, ShaderFlags, ShaderModule, ShaderModuleDescriptor, ShaderSource, ShaderStage, StencilFaceState, StencilState, - TextureAspect, TextureDescriptor, TextureDimension, TextureFormat, TextureSampleType, - TextureUsage, TextureViewDescriptor, TextureViewDimension, VertexAttribute, VertexBufferLayout, - VertexFormat, VertexState, + StorageTextureAccess, TextureAspect, TextureDescriptor, TextureDimension, TextureFormat, + TextureSampleType, TextureUsage, TextureViewDescriptor, TextureViewDimension, VertexAttribute, + VertexBufferLayout, VertexFormat, VertexState, };