8b11d8a127
This is not needed with TGSI, but will be needed by the next commit after we switch to NIR. Copied from i915 including the comments. Reviewed-by: Emma Anholt <emma@anholt.net> Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14732>