mesa: don't return errors for gl_* GetFragData* queries
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 12 Aug 2021 02:26:07 +0000 (22:26 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 19 Aug 2021 01:52:46 +0000 (01:52 +0000)
commitbce19b3a779fd3526ef6368bc2fb180da23ba53e
tree9604eaa5bb3de76b619448055c1f4b6f05b130df
parent07cc5fd8933e24e7e169032b2d2a55f10e326caf
mesa: don't return errors for gl_* GetFragData* queries

There is nothing in the spec about this. BindFragDataLocation* is
supposed to return an error, but not Get.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5221
Fixes: 59012c3133 ("mesa: Implement glGetFragDataLocation")
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12333>
src/mesa/main/shader_query.cpp