mesa: fix bindless uniform samplers update
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 16 Jul 2021 16:43:32 +0000 (18:43 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 20 Jul 2021 08:06:44 +0000 (08:06 +0000)
commit8be61e8a9e49190593e0c90077a8ce100b5743de
treea0604c4ab72a4a14f4d7430b6f22e6bfbb1f9a95
parent9b1a296172df38561d650abf98ee2e1c77ac6fc2
mesa: fix bindless uniform samplers update

According to the comment below some extra magic is needed
for bindless samplers, so don't do an early return in this
case.

Fixes: 736f1f70ab8 ("mesa: skip redundant uniform updates for glUniform")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4806
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11930>
src/mesa/main/uniform_query.cpp