mirror of
https://github.com/hannobraun/Fornjot
synced 2025-10-22 07:48:25 +00:00
Remove redundant type declarations
This commit is contained in:
parent
3440690452
commit
0b3ede5383
@ -17,13 +17,13 @@ impl Pipelines {
|
|||||||
config: &wgpu::SurfaceConfiguration,
|
config: &wgpu::SurfaceConfiguration,
|
||||||
uniforms: &wgpu::Buffer,
|
uniforms: &wgpu::Buffer,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
let vertices = Pipeline::<VerticesVertex>::new(
|
let vertices = Pipeline::new(
|
||||||
device,
|
device,
|
||||||
config,
|
config,
|
||||||
wgpu::include_wgsl!("shaders/vertices.wgsl"),
|
wgpu::include_wgsl!("shaders/vertices.wgsl"),
|
||||||
uniforms,
|
uniforms,
|
||||||
);
|
);
|
||||||
let triangles = Pipeline::<TrianglesVertex>::new(
|
let triangles = Pipeline::new(
|
||||||
device,
|
device,
|
||||||
config,
|
config,
|
||||||
wgpu::include_wgsl!("shaders/triangles.wgsl"),
|
wgpu::include_wgsl!("shaders/triangles.wgsl"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user