From 52fd626fed10709c8a9bc046c1968978f5d7e2a6 Mon Sep 17 00:00:00 2001 From: VVishion Date: Thu, 16 Sep 2021 07:17:07 +0000 Subject: [PATCH] Expose wgpu's StencilOperation with bevy (#2819) # Objective Bevy should expose all wgpu types needed for building rendering pipelines. Closes #2818 ## Solution Add wgpu's StencilOperation to bevy_render2::render_resource's export. --- pipelined/bevy_render2/src/render_resource/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pipelined/bevy_render2/src/render_resource/mod.rs b/pipelined/bevy_render2/src/render_resource/mod.rs index f5f55ad4282a0..07dc4db88b43e 100644 --- a/pipelined/bevy_render2/src/render_resource/mod.rs +++ b/pipelined/bevy_render2/src/render_resource/mod.rs @@ -26,8 +26,8 @@ pub use wgpu::{ PipelineLayoutDescriptor, PolygonMode, PrimitiveState, PrimitiveTopology, RenderPassColorAttachment, RenderPassDepthStencilAttachment, RenderPassDescriptor, RenderPipelineDescriptor, SamplerDescriptor, ShaderFlags, ShaderModule, ShaderModuleDescriptor, - ShaderSource, ShaderStage, StencilFaceState, StencilState, StorageTextureAccess, TextureAspect, - TextureDescriptor, TextureDimension, TextureFormat, TextureSampleType, TextureUsage, - TextureViewDescriptor, TextureViewDimension, VertexAttribute, VertexBufferLayout, VertexFormat, - VertexState, + ShaderSource, ShaderStage, StencilFaceState, StencilOperation, StencilState, + StorageTextureAccess, TextureAspect, TextureDescriptor, TextureDimension, TextureFormat, + TextureSampleType, TextureUsage, TextureViewDescriptor, TextureViewDimension, VertexAttribute, + VertexBufferLayout, VertexFormat, VertexState, };