iris: Set BindingTableEntryCount for compute shaders
authorJason Ekstrand <jason.ekstrand@collabora.com>
Tue, 5 Apr 2022 21:42:55 +0000 (16:42 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 11 May 2022 23:47:08 +0000 (23:47 +0000)
commit62f0677223171819f04a288c8b17911aa6485b4a
treeeef250e8278da5e9e541e29b0ceceae82f3317d7
parent55a4bdb52f082a3910c3e865bccd400226714580
iris: Set BindingTableEntryCount for compute shaders

This may slightly increase perf somewhere because the hardware can now
pre-cache binding tables.  The real feature is that INTEL_DEBUG=bat now
dumps out surface states for compute.

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