mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-10 12:58:28 +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,
|
config: &wgpu::SurfaceConfiguration,
|
||||||
uniforms: &wgpu::Buffer,
|
uniforms: &wgpu::Buffer,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
let vertices_shaders = Shaders::<VerticesVertex>::new(
|
let vertices_shaders = Shaders::new(
|
||||||
device,
|
device,
|
||||||
config,
|
config,
|
||||||
wgpu::include_wgsl!("shaders/vertices.wgsl"),
|
wgpu::include_wgsl!("shaders/vertices.wgsl"),
|
||||||
@ -53,7 +53,7 @@ impl Pipeline<TrianglesVertex> {
|
|||||||
config: &wgpu::SurfaceConfiguration,
|
config: &wgpu::SurfaceConfiguration,
|
||||||
uniforms: &wgpu::Buffer,
|
uniforms: &wgpu::Buffer,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
let triangles_shaders = Shaders::<TrianglesVertex>::new(
|
let triangles_shaders = Shaders::new(
|
||||||
device,
|
device,
|
||||||
config,
|
config,
|
||||||
wgpu::include_wgsl!("shaders/triangles.wgsl"),
|
wgpu::include_wgsl!("shaders/triangles.wgsl"),
|
||||||
|
Loading…
Reference in New Issue
Block a user