mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-31 18:27:20 +00:00
shader-rt: pass WgpuExecutor by reference
This commit is contained in:
parent
ceab867b86
commit
f2ed7c2238
1 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ impl PerPixelAdjust {
|
||||||
description: "".to_string(),
|
description: "".to_string(),
|
||||||
widget_override: Default::default(),
|
widget_override: Default::default(),
|
||||||
ty: ParsedFieldType::Regular(RegularParsedField {
|
ty: ParsedFieldType::Regular(RegularParsedField {
|
||||||
ty: parse_quote!(WgpuExecutor),
|
ty: parse_quote!(&'a WgpuExecutor),
|
||||||
exposed: false,
|
exposed: false,
|
||||||
value_source: Default::default(),
|
value_source: Default::default(),
|
||||||
number_soft_min: None,
|
number_soft_min: None,
|
||||||
|
@ -203,7 +203,7 @@ impl PerPixelAdjust {
|
||||||
fn_name,
|
fn_name,
|
||||||
struct_name,
|
struct_name,
|
||||||
mod_name: mod_name.clone(),
|
mod_name: mod_name.clone(),
|
||||||
fn_generics: vec![],
|
fn_generics: vec![parse_quote!('a: 'n)],
|
||||||
where_clause: None,
|
where_clause: None,
|
||||||
input: Input {
|
input: Input {
|
||||||
pat_ident: parsed.input.pat_ident.clone(),
|
pat_ident: parsed.input.pat_ident.clone(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue