i965/cs: Re-emit push constants and cs_state on new batches
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 24 Sep 2015 07:25:27 +0000 (00:25 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 29 Sep 2015 15:23:47 +0000 (08:23 -0700)
commit2ec5f3e1d5616f9e5c223a9f48d4b1a0d2568225
treefea93ff4dd874a363220b3f7d62f94bc23261db9
parent1665d29ee3125743fd6daf3c43fc715f543d5669
i965/cs: Re-emit push constants and cs_state on new batches

We need to re-emit push constansts when a new batch is started since
the push constants are stored in the batch. We also need to re-emit
the MEDIA_INTERFACE_DESCRIPTOR (in brw_cs_state) since it is stored in
the batch.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/gen7_cs_state.c