Skip to content

Commit 07ea4a2

Browse files
authored
make smaa_luts and tonemap_luts not unconditionally bring in rendering crates (#20726)
# Objective - i dont actually know if this is desirable, but i think i'd prefer this. its also consistent with how bluenoise texture is set up. i feel that these are "addon" features that should only really do anything if the base crate they apply to is in use. ## Solution - i really have no idea how to use this pr template a lot of the time ## Testing -
1 parent 3037a97 commit 07ea4a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_internal/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ statically-linked-dxc = ["bevy_render/statically-linked-dxc"]
6666
raw_vulkan_init = ["bevy_render/raw_vulkan_init"]
6767

6868
# Include tonemapping LUT KTX2 files.
69-
tonemapping_luts = ["bevy_core_pipeline/tonemapping_luts"]
69+
tonemapping_luts = ["bevy_core_pipeline?/tonemapping_luts"]
7070
# Include Bluenoise texture for environment map generation.
7171
bluenoise_texture = ["bevy_pbr?/bluenoise_texture"]
7272

7373
# Include SMAA LUT KTX2 Files
74-
smaa_luts = ["bevy_anti_aliasing/smaa_luts"]
74+
smaa_luts = ["bevy_anti_aliasing?/smaa_luts"]
7575

7676
# NVIDIA Deep Learning Super Sampling
7777
dlss = ["bevy_anti_aliasing/dlss", "bevy_solari?/dlss"]

0 commit comments

Comments
 (0)