iris: assemble SAMPLER_STATE table at bind time
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 7 Apr 2018 07:49:12 +0000 (00:49 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:05 +0000 (10:26 -0800)
commit0707ff3f2f31d9b72aebd169e9464c5fbfaa00ca
tree1962bd69225e6495c41643387c78129421fa02fc
parent199c0809266adff16ab127f9953d37e8f6c42a76
iris: assemble SAMPLER_STATE table at bind time

It's useless to allocate SAMPLER_STATEs in GPU memory on creation like
we do for SURFACE_STATES, because they need to be organized into a
contiguous block of memory.  But we can do that at bind time, rather
than draw time.
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_state.c