i965: Port 3DSTATE_INDEX_BUFFER to genxml.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 10 May 2017 00:12:11 +0000 (17:12 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 12 May 2017 04:27:38 +0000 (21:27 -0700)
commit5bbcbabd867c740646af69ace756941e2880d86e
treed7f603c169275e18fd1187ee84b817b03eeded97
parent71bfb44005bf8e7e7a46577e4030cbe69e020c5d
i965: Port 3DSTATE_INDEX_BUFFER to genxml.

Also make the brw_get_index_type() function not shift its return, since that
is genxml's job now.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen8_draw_upload.c
src/mesa/drivers/dri/i965/genX_state_upload.c