
Removed `const_vec2`/`const_vec3` and replaced with equivalent `.from_array`. # Objective Fixes #5112 ## Solution - `encase` needs to update to `glam` as well. See teoxoy/encase#4 on progress on that. - `hexasphere` also needs to be updated, see OptimisticPeach/hexasphere#12.
55 lines
2.3 KiB
Rust
55 lines
2.3 KiB
Rust
mod bind_group;
|
|
mod bind_group_layout;
|
|
mod buffer;
|
|
mod buffer_vec;
|
|
mod pipeline;
|
|
mod pipeline_cache;
|
|
mod pipeline_specializer;
|
|
mod shader;
|
|
mod storage_buffer;
|
|
mod texture;
|
|
mod uniform_buffer;
|
|
|
|
pub use bind_group::*;
|
|
pub use bind_group_layout::*;
|
|
pub use buffer::*;
|
|
pub use buffer_vec::*;
|
|
pub use pipeline::*;
|
|
pub use pipeline_cache::*;
|
|
pub use pipeline_specializer::*;
|
|
pub use shader::*;
|
|
pub use storage_buffer::*;
|
|
pub use texture::*;
|
|
pub use uniform_buffer::*;
|
|
|
|
// TODO: decide where re-exports should go
|
|
pub use wgpu::{
|
|
util::BufferInitDescriptor, AdapterInfo as WgpuAdapterInfo, AddressMode, BindGroupDescriptor,
|
|
BindGroupEntry, BindGroupLayoutDescriptor, BindGroupLayoutEntry, BindingResource, BindingType,
|
|
BlendComponent, BlendFactor, BlendOperation, BlendState, BufferAddress, BufferBinding,
|
|
BufferBindingType, BufferDescriptor, BufferSize, BufferUsages, ColorTargetState, ColorWrites,
|
|
CommandEncoder, CommandEncoderDescriptor, CompareFunction, ComputePass, ComputePassDescriptor,
|
|
ComputePipelineDescriptor as RawComputePipelineDescriptor, DepthBiasState, DepthStencilState,
|
|
Extent3d, Face, Features as WgpuFeatures, FilterMode, FragmentState as RawFragmentState,
|
|
FrontFace, ImageCopyBuffer, ImageCopyBufferBase, ImageCopyTexture, ImageCopyTextureBase,
|
|
ImageDataLayout, ImageSubresourceRange, IndexFormat, Limits as WgpuLimits, LoadOp, MapMode,
|
|
MultisampleState, Operations, Origin3d, PipelineLayout, PipelineLayoutDescriptor, PolygonMode,
|
|
PrimitiveState, PrimitiveTopology, RenderPassColorAttachment, RenderPassDepthStencilAttachment,
|
|
RenderPassDescriptor, RenderPipelineDescriptor as RawRenderPipelineDescriptor,
|
|
SamplerBindingType, SamplerDescriptor, ShaderModule, ShaderModuleDescriptor, ShaderSource,
|
|
ShaderStages, StencilFaceState, StencilOperation, StencilState, StorageTextureAccess,
|
|
TextureAspect, TextureDescriptor, TextureDimension, TextureFormat, TextureSampleType,
|
|
TextureUsages, TextureViewDescriptor, TextureViewDimension, VertexAttribute,
|
|
VertexBufferLayout as RawVertexBufferLayout, VertexFormat, VertexState as RawVertexState,
|
|
VertexStepMode,
|
|
};
|
|
|
|
pub mod encase {
|
|
pub use bevy_encase_derive::ShaderType;
|
|
pub use encase::*;
|
|
}
|
|
|
|
pub use self::encase::{ShaderSize, ShaderType};
|
|
|
|
pub use naga::ShaderStage;
|