7003ff2e3a
Instead of gathering XFB info over and over again every time we even want to know if the shader uses XFB, gather it once when we compile the shader and refer to the copy in the NIR. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16750>