@@ -69,7 +69,7 @@ fn luminance<T: Adjust<Color>>(
6969 input
7070}
7171
72- #[ node_macro:: node( category( "Raster" ) , shader_node ( PerPixelAdjust ) ) ]
72+ #[ node_macro:: node( category( "Raster" ) , cfg ( feature = "std" ) ) ]
7373fn gamma_correction < T : Adjust < Color > > (
7474 _: impl Ctx ,
7575 #[ implementations(
@@ -143,7 +143,7 @@ fn make_opaque<T: Adjust<Color>>(
143143//
144144// Some further analysis available at:
145145// https://geraldbakker.nl/psnumbers/brightness-contrast.html
146- #[ node_macro:: node( name( "Brightness/Contrast" ) , category( "Raster: Adjustment" ) , properties( "brightness_contrast_properties" ) , shader_node ( PerPixelAdjust ) ) ]
146+ #[ node_macro:: node( name( "Brightness/Contrast" ) , category( "Raster: Adjustment" ) , properties( "brightness_contrast_properties" ) , cfg ( feature = "std" ) ) ]
147147fn brightness_contrast < T : Adjust < Color > > (
148148 _: impl Ctx ,
149149 #[ implementations(
@@ -651,7 +651,7 @@ pub enum DomainWarpType {
651651// Aims for interoperable compatibility with:
652652// https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#:~:text=%27mixr%27%20%3D%20Channel%20Mixer
653653// https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#:~:text=Lab%20color%20only-,Channel%20Mixer,-Key%20is%20%27mixr
654- #[ node_macro:: node( category( "Raster: Adjustment" ) , properties( "channel_mixer_properties" ) , shader_node ( PerPixelAdjust ) ) ]
654+ #[ node_macro:: node( category( "Raster: Adjustment" ) , properties( "channel_mixer_properties" ) , cfg ( feature = "std" ) ) ]
655655fn channel_mixer < T : Adjust < Color > > (
656656 _: impl Ctx ,
657657 #[ implementations(
@@ -781,7 +781,7 @@ pub enum SelectiveColorChoice {
781781//
782782// Algorithm based on:
783783// https://blog.pkh.me/p/22-understanding-selective-coloring-in-adobe-photoshop.html
784- #[ node_macro:: node( category( "Raster: Adjustment" ) , properties( "selective_color_properties" ) , shader_node ( PerPixelAdjust ) ) ]
784+ #[ node_macro:: node( category( "Raster: Adjustment" ) , properties( "selective_color_properties" ) , cfg ( feature = "std" ) ) ]
785785fn selective_color < T : Adjust < Color > > (
786786 _: impl Ctx ,
787787 #[ implementations(
0 commit comments