fmt: cargo fmt
This commit is contained in:
parent
e4eed34c10
commit
59937aced5
|
@ -4,9 +4,7 @@ use crate::ctypes::{
|
|||
use crate::error::{assert_non_null, assert_some_ptr, LibrashaderError};
|
||||
use crate::ffi::extern_fn;
|
||||
use crate::LIBRASHADER_API_VERSION;
|
||||
use librashader::runtime::gl::{
|
||||
FilterChain, FilterChainOptions, FrameOptions, GLImage,
|
||||
};
|
||||
use librashader::runtime::gl::{FilterChain, FilterChainOptions, FrameOptions, GLImage};
|
||||
use librashader::runtime::FilterChainParameters;
|
||||
use librashader::runtime::{Size, Viewport};
|
||||
use std::ffi::CStr;
|
||||
|
|
|
@ -106,8 +106,18 @@ where
|
|||
.collect::<Result<Vec<(ShaderPassConfig, ShaderSource, CompilerBackend<_>)>, E>>()?;
|
||||
|
||||
for (config, source, _) in &passes {
|
||||
insert_pass_semantics(&mut uniform_semantics, &mut texture_semantics, config.alias.as_ref(), config.id as usize);
|
||||
insert_pass_semantics(&mut uniform_semantics, &mut texture_semantics, source.name.as_ref(), config.id as usize);
|
||||
insert_pass_semantics(
|
||||
&mut uniform_semantics,
|
||||
&mut texture_semantics,
|
||||
config.alias.as_ref(),
|
||||
config.id as usize,
|
||||
);
|
||||
insert_pass_semantics(
|
||||
&mut uniform_semantics,
|
||||
&mut texture_semantics,
|
||||
source.name.as_ref(),
|
||||
config.id as usize,
|
||||
);
|
||||
}
|
||||
|
||||
insert_lut_semantics(textures, &mut uniform_semantics, &mut texture_semantics);
|
||||
|
|
Loading…
Reference in a new issue