r600g: implement NV_primitive_restart functionality (v2)
authorMarek Olšák <maraeo@gmail.com>
Tue, 16 Aug 2011 07:47:16 +0000 (09:47 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 17 Aug 2011 22:25:07 +0000 (00:25 +0200)
commit01680ce2f350f44073e8f1adf3b36d48424d21fa
tree4591124f4c6b633e25ea430bb1a16c89590dc90b
parent17867f06b173b90ba0e1b9137514b4dcce415822
r600g: implement NV_primitive_restart functionality (v2)

Needed for GL3.

v2: evergreen support

I don't set PA_SU_SC_MODE_CNTL.MULTI_PRIM_IB_ENA.
piglit/primitive-restart does pass though. Tested on RV730 and EG-REDWOOD.
src/gallium/drivers/r600/evergreend.h
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_state_common.c
src/gallium/winsys/r600/drm/evergreen_hw_context.c