mirror of
https://github.com/hannobraun/Fornjot
synced 2025-11-21 06:52:44 +00:00
Prepare for follow-on change
This commit is contained in:
parent
ccd9b7d472
commit
443492e9f0
@ -68,6 +68,11 @@ impl Renderer {
|
||||
let triangles_pipeline =
|
||||
Pipeline::new(&device, &triangles_shaders, &uniforms);
|
||||
|
||||
let pipelines = Pipelines {
|
||||
vertices: vertices_pipeline,
|
||||
triangles: triangles_pipeline,
|
||||
};
|
||||
|
||||
let depth_view = {
|
||||
let depth_texture =
|
||||
device.create_texture(&wgpu::TextureDescriptor {
|
||||
@ -93,10 +98,7 @@ impl Renderer {
|
||||
surface,
|
||||
device,
|
||||
queue,
|
||||
pipelines: Pipelines {
|
||||
vertices: vertices_pipeline,
|
||||
triangles: triangles_pipeline,
|
||||
},
|
||||
pipelines,
|
||||
depth_view,
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user