mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 18:08:26 +00:00
Prepare for follow-on change
This commit is contained in:
parent
6c3bdc125f
commit
d6f3d0c3f6
@ -32,7 +32,7 @@ pub struct Pipeline<V> {
|
||||
_vertex: PhantomData<V>,
|
||||
}
|
||||
|
||||
impl<V> Pipeline<V> {
|
||||
impl Pipeline<VerticesVertex> {
|
||||
pub fn vertices(
|
||||
device: &wgpu::Device,
|
||||
config: &wgpu::SurfaceConfiguration,
|
||||
@ -45,7 +45,9 @@ impl<V> Pipeline<V> {
|
||||
);
|
||||
Self::new(device, &vertices_shaders, uniforms)
|
||||
}
|
||||
}
|
||||
|
||||
impl<V> Pipeline<V> {
|
||||
pub fn triangles(
|
||||
device: &wgpu::Device,
|
||||
config: &wgpu::SurfaceConfiguration,
|
||||
|
Loading…
Reference in New Issue
Block a user