freedreno: rebind resource in all contexts
authorRob Clark <robdclark@chromium.org>
Fri, 24 Apr 2020 22:00:20 +0000 (15:00 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 00:08:57 +0000 (00:08 +0000)
commitd9e56d8a695304a0f2fb109cea6fc46991f98007
treebe15260d080c44abc474d547f8183572af128e60
parentf12188ff5264b29f6270c40c7592543aca6c2f4a
freedreno: rebind resource in all contexts

If the resource is rebound, we need to invalidate in all contexts.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4744>
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_resource.c
src/gallium/drivers/freedreno/freedreno_screen.c
src/gallium/drivers/freedreno/freedreno_screen.h