mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-07 19:38:29 +00:00
Remove redundant type declarations
This commit is contained in:
parent
b9c38fc6cc
commit
32d477ab0f
@ -38,7 +38,7 @@ impl Pipeline<VerticesVertex> {
|
||||
config: &wgpu::SurfaceConfiguration,
|
||||
uniforms: &wgpu::Buffer,
|
||||
) -> Self {
|
||||
let vertices_shaders = Shaders::<VerticesVertex>::new(
|
||||
let vertices_shaders = Shaders::new(
|
||||
device,
|
||||
config,
|
||||
wgpu::include_wgsl!("shaders/vertices.wgsl"),
|
||||
@ -53,7 +53,7 @@ impl Pipeline<TrianglesVertex> {
|
||||
config: &wgpu::SurfaceConfiguration,
|
||||
uniforms: &wgpu::Buffer,
|
||||
) -> Self {
|
||||
let triangles_shaders = Shaders::<TrianglesVertex>::new(
|
||||
let triangles_shaders = Shaders::new(
|
||||
device,
|
||||
config,
|
||||
wgpu::include_wgsl!("shaders/triangles.wgsl"),
|
||||
|
Loading…
Reference in New Issue
Block a user