diff --git a/librashader-capi/src/runtime/gl/filter_chain.rs b/librashader-capi/src/runtime/gl/filter_chain.rs index 0e9eb36..6b0c54f 100644 --- a/librashader-capi/src/runtime/gl/filter_chain.rs +++ b/librashader-capi/src/runtime/gl/filter_chain.rs @@ -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; diff --git a/librashader-reflect/src/reflect/presets.rs b/librashader-reflect/src/reflect/presets.rs index 1cbee0a..de57ca9 100644 --- a/librashader-reflect/src/reflect/presets.rs +++ b/librashader-reflect/src/reflect/presets.rs @@ -106,8 +106,18 @@ where .collect::)>, 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);