Files
UnrealEngineUWP/Engine/Shaders/Private/PostProcessDeviceEncodingOnly.usf
eric renaudhoude 72b21e6b4b Tonemap: Cleanup/reduce shader permutation count.
* Replaced DIM_OUTPUT_DEVICE enum with OUTPUT_DEVICE_SRGB boolean, matching CombineLUTs logic.
* Removed USE_BLOOM since it was always active.
* Removed USE_VIGNETTE and replaced with dynamic branch.

The active permutations on windows desktop now total (44 out of 256) down from (280 out of 5120) for FTonemapPS before this change. METAL_MSAA_HDR_DECODE could also be removed in a subsequent CL which would bring the active count to (22 out of 128), though abstaining here since I have no means of profiling on iOS. Further changes (removal of) POST_PROCESS_ALPHA should follow shortly.

#jira UE-220034
#rb Jason.Nadro

[CL 35395019 by eric renaudhoude in ue5-main branch]
2024-08-08 10:12:55 -04:00

7.3 KiB