mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 04:18:28 +00:00
Update name of function parameter
This commit is contained in:
parent
ed81321bac
commit
ac4d954af3
@ -11,7 +11,7 @@ pub struct Pipeline<V> {
|
|||||||
impl<V> Pipeline<V> {
|
impl<V> Pipeline<V> {
|
||||||
pub fn new(
|
pub fn new(
|
||||||
device: &wgpu::Device,
|
device: &wgpu::Device,
|
||||||
config: &wgpu::SurfaceConfiguration,
|
surface_configuration: &wgpu::SurfaceConfiguration,
|
||||||
shader_module_descriptor: wgpu::ShaderModuleDescriptor,
|
shader_module_descriptor: wgpu::ShaderModuleDescriptor,
|
||||||
uniforms: &wgpu::Buffer,
|
uniforms: &wgpu::Buffer,
|
||||||
) -> Self
|
) -> Self
|
||||||
@ -64,7 +64,7 @@ impl<V> Pipeline<V> {
|
|||||||
compilation_options:
|
compilation_options:
|
||||||
wgpu::PipelineCompilationOptions::default(),
|
wgpu::PipelineCompilationOptions::default(),
|
||||||
targets: &[Some(wgpu::ColorTargetState {
|
targets: &[Some(wgpu::ColorTargetState {
|
||||||
format: config.format,
|
format: surface_configuration.format,
|
||||||
blend: Some(wgpu::BlendState::REPLACE),
|
blend: Some(wgpu::BlendState::REPLACE),
|
||||||
write_mask: wgpu::ColorWrites::all(),
|
write_mask: wgpu::ColorWrites::all(),
|
||||||
})],
|
})],
|
||||||
|
Loading…
Reference in New Issue
Block a user