From 5fa0b5b49824b5834569209945849cd9c7ccbb7d Mon Sep 17 00:00:00 2001 From: Dimev <49782454+Dimev@users.noreply.github.com> Date: Wed, 11 Aug 2021 20:28:50 +0000 Subject: [PATCH] Added ComputePipelineDescriptor (#2628) # Objective Fix ComputePipelineDescriptor missing from WGPU exports ## Solution Added it to the pub use wgpu::{ ... } Co-authored-by: Dimas --- .../bevy_render2/src/render_resource/mod.rs | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pipelined/bevy_render2/src/render_resource/mod.rs b/pipelined/bevy_render2/src/render_resource/mod.rs index e31a850d46..f5f55ad428 100644 --- a/pipelined/bevy_render2/src/render_resource/mod.rs +++ b/pipelined/bevy_render2/src/render_resource/mod.rs @@ -20,13 +20,14 @@ pub use wgpu::{ AddressMode, BindGroupDescriptor, BindGroupEntry, BindGroupLayout, BindGroupLayoutDescriptor, BindGroupLayoutEntry, BindingResource, BindingType, BlendComponent, BlendFactor, BlendOperation, BlendState, BufferAddress, BufferBindingType, BufferSize, BufferUsage, - ColorTargetState, ColorWrite, CompareFunction, DepthBiasState, DepthStencilState, Extent3d, - Face, FilterMode, FragmentState, FrontFace, IndexFormat, InputStepMode, LoadOp, - MultisampleState, Operations, 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, + ColorTargetState, ColorWrite, CompareFunction, ComputePassDescriptor, + ComputePipelineDescriptor, DepthBiasState, DepthStencilState, Extent3d, Face, FilterMode, + FragmentState, FrontFace, IndexFormat, InputStepMode, LoadOp, MultisampleState, Operations, + 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, };