intel/blorp: Emit all the binding tables
authorJason Ekstrand <jason.ekstrand@intel.com>
Sun, 23 Oct 2016 05:27:23 +0000 (22:27 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 8 Nov 2016 16:32:55 +0000 (08:32 -0800)
commit406cd9d1261996ba53e3301b2a5a01b5c5c56f00
tree7d2381c57bf91a280b1d28d4acf3f80c8f5ae222
parent112a2ba2763f14351de33501d2731dbdcab48658
intel/blorp: Emit all the binding tables

At least on Sky Lake, after emitting 3DSTATE_CONSTANT_*, you are required
to re-emit the 3DSTATE_BINDING_TABLE_POINTERS packet for the corresponding
stage.  If you don't, double-buffering may fail and you may get the wrong
constants.  It turns out that you need to do this even if you have no push
constants to speak of or else the next 3DSTATE_CONSTANT packet you emit for
that stage may not work correctly.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
src/intel/blorp/blorp_genX_exec.h