iris: rewrite grid surface handling
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 19 Oct 2018 08:14:38 +0000 (01:14 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
commit06a993dac2aa2c73435105d06dc8260aef7afc77
tree84a8a3c7a4d56b3650e0a021deeda6f1923df6a8
parent155e1a63d582f8b8ea2133c648f49c6fad62fb56
iris: rewrite grid surface handling

now we only upload a new grid when it's actually changed, which saves us
from having to emit a new binding table every time it changes.

this also moves a bunch of non-gen-specific stuff out of iris_state.c
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_draw.c
src/gallium/drivers/iris/iris_state.c