i965/skl: Always emit 3DSTATE_BINDING_TABLE_POINTERS_* on Skylake.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 29 Apr 2014 22:32:40 +0000 (15:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Nov 2014 23:32:53 +0000 (15:32 -0800)
commit051bfe4d52e551476a39dec1f50c11cd7c36b7df
tree27b0ea71b6fa4207203e9d6a97a6913bf6f8da60
parent1df496edb9254d5060288d27114211fd21c02ece
i965/skl: Always emit 3DSTATE_BINDING_TABLE_POINTERS_* on Skylake.

On SKL, 3DSTATE_CONSTANT_* command is not committed until we give
the corresponding 3DSTATE_BINDING_TABLE_POINTERS_* command.  If we
fail to do so, the constant buffers wont be read and push constants
will be wrong.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_binding_tables.c