[Mesa-dev] [PATCH 0/4] add i965 primitive restart hardware support where possible
Jordan Justen
jordan.l.justen at intel.com
Sun May 13 07:06:23 PDT 2012
Note: This changeset depends on my other changeset:
"move software primitive restart into VBO module"
v1:
* Enable NV_primitive_restart for all hardware. (Software primitive
restart is used where necessary)
* If hardware supports cut index and cut index can handle the
primitive restart scenario, then use cut index to implement
hardware support for primitive restart during the draw.
Jordan Justen (4):
dri/intel: enable primitive restart in software
i965: create code path to handle primitive restart in hardware
i965: add flag to enable cut_index
i965: use cut index to handle primitive restart when possible
src/mesa/drivers/dri/i965/Makefile.sources | 1 +
src/mesa/drivers/dri/i965/brw_context.c | 3 +
src/mesa/drivers/dri/i965/brw_context.h | 6 +
src/mesa/drivers/dri/i965/brw_defines.h | 2 +
src/mesa/drivers/dri/i965/brw_draw.c | 6 +
src/mesa/drivers/dri/i965/brw_draw.h | 10 +-
src/mesa/drivers/dri/i965/brw_draw_upload.c | 9 +-
src/mesa/drivers/dri/i965/brw_primitive_restart.c | 146 +++++++++++++++++++++
src/mesa/drivers/dri/intel/intel_extensions.c | 5 +
9 files changed, 184 insertions(+), 4 deletions(-)
create mode 100644 src/mesa/drivers/dri/i965/brw_primitive_restart.c
mode change 100644 => 100755 src/mesa/drivers/dri/intel/intel_extensions.c
--
1.7.9.5
More information about the mesa-dev
mailing list