iris: Implement set_global_binding
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 25 Oct 2018 22:53:23 +0000 (17:53 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 12 Aug 2020 10:11:06 +0000 (10:11 +0000)
commitbaa4cf9b8ed25630d795926ff2e1dfae9ae955b2
treee2b04f96e6315c4e02f5469c9d01b51365be3724
parent17280a8ef1a90b73add63682b0d956fd4383c6b1
iris: Implement set_global_binding

All this has to do is track which globals are bound and make sure the
batch references them every time.  We use A64 messages to access them so
there are no binding table entries to manage.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6280>
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_state.c