radeonsi: fix compilation of monolithic PS
This was totally broken. Monolithic PS is only used if FBFETCH or interpolateAtSample are used. When the PS prolog was built, it overwrote ctx->main_fn. Discovered by @eefano. Fixes: 8832a884 "radeonsi: move PS LLVM code into si_shader_llvm_ps.c" Closes: #2814 Acked-by:Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <mesa/mesa!4918> (cherry picked from commit 29da5212)
Loading
Please register or sign in to comment