d0b7cf192b
Warn and replace the query with the constant value 1. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9148 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23407>