Skip to content

Commit 27aa91a

Browse files
committed
shaders: gamma_correction and channel_mixer gpu nodes
1 parent 70b1da7 commit 27aa91a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

node-graph/graster-nodes/src/adjustments.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fn luminance<T: Adjust<Color>>(
7272
input
7373
}
7474

75-
#[node_macro::node(category("Raster"), cfg(feature = "std"))]
75+
#[node_macro::node(category("Raster"), shader_node(PerPixelAdjust))]
7676
fn gamma_correction<T: Adjust<Color>>(
7777
_: impl Ctx,
7878
#[implementations(
@@ -656,7 +656,7 @@ pub enum DomainWarpType {
656656
// Aims for interoperable compatibility with:
657657
// https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#:~:text=%27mixr%27%20%3D%20Channel%20Mixer
658658
// https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#:~:text=Lab%20color%20only-,Channel%20Mixer,-Key%20is%20%27mixr
659-
#[node_macro::node(category("Raster: Adjustment"), properties("channel_mixer_properties"), cfg(feature = "std"))]
659+
#[node_macro::node(category("Raster: Adjustment"), properties("channel_mixer_properties"), shader_node(PerPixelAdjust))]
660660
fn channel_mixer<T: Adjust<Color>>(
661661
_: impl Ctx,
662662
#[implementations(

0 commit comments

Comments
 (0)