i965: add flag to enable cut_index
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 13 May 2012 06:53:18 +0000 (23:53 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 23 May 2012 22:19:09 +0000 (15:19 -0700)
commitf9389fbfb204995a650047949c48ab2b2703bfcf
tree0ed315a595ff053b0e1f792c2e92d9e8af048af4
parentdf7d1323de08274c816a8e5fab7e99b6f00f4fa3
i965: add flag to enable cut_index

When brw->prim_restart.enable_cut_index is set, the cut index
will be enabled when uploading index_buffer commands.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_draw_upload.c