iris: Always reserve binding table space for NIR constants
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 29 May 2019 22:30:51 +0000 (15:30 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Mon, 3 Jun 2019 21:14:45 +0000 (14:14 -0700)
commit045aeccf0e10ea23cbec1f3e23ac0e69b8820394
tree172b6c58955d741d919be14460059cbd65e922bd
parent56114448096ab5ac25599d157f0b168137ba5bf6
iris: Always reserve binding table space for NIR constants

Don't have a separate mechanism for NIR constants to be removed from
the table.  If unused, we will compact it away.  The use_null_surface
is needed when INTEL_DISABLE_COMPACT_BINDING_TABLE is set.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_program.c
src/gallium/drivers/iris/iris_state.c