90939e93f6
Fixes compilation of a Doom Eternal shader with PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT. ac_nir_lower_resinfo() was not happening because it is predicated on uses_resource_info_query and no later optimization updated it. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27195>