Skip to content

radv: Recompute max_waves after postprocessing RT config

Tatsuyuki Ishi requested to merge ishitatsuyuki/mesa:rt-max-waves into main

The max waves for RT prolog need to be recalculated after merging the resource usage of all shaders invoked from it.

Note that there is no need to panic, as the info was only used to calculate maximum scratch size and with the RT prolog being low footprint, this likely only caused overestimation rather than underestimation.

Fixes: 533ec984 ("radv: Precompute shader max_waves.")

Merge request reports