fmt: cargo fmt

This commit is contained in:
chyyran 2024-09-18 00:48:50 -04:00 committed by Ronny Chan
parent e4eed34c10
commit 59937aced5
2 changed files with 13 additions and 5 deletions

View file

@ -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;

View file

@ -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);