i965: create code path to handle primitive restart in hardware
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 13 May 2012 04:01:19 +0000 (21:01 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 23 May 2012 22:19:09 +0000 (15:19 -0700)
commitdf7d1323de08274c816a8e5fab7e99b6f00f4fa3
tree1fdb9012d258c421d40f5dea4cb7393b2e8729f0
parent9f6932cb83def5449a9293cb41238bbc492cb8c4
i965: create code path to handle primitive restart in hardware

For newer hardware we disable the VBO module's software handling
of primitive restart. We now handle primitive restarts in
brw_handle_primitive_restart.

The initial version of brw_handle_primitive_restart simply calls
vbo_sw_primitive_restart, and therefore still uses the VBO
module software primitive restart support.

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>
docs/GL3.txt
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_draw.h
src/mesa/drivers/dri/i965/brw_primitive_restart.c [new file with mode: 0644]
src/mesa/drivers/dri/intel/intel_extensions.c [changed mode: 0644->0755]