state_tracker: set PrimitiveRestartInSoftware if needed
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 7 May 2012 22:44:34 +0000 (15:44 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 17 May 2012 17:54:26 +0000 (10:54 -0700)
commitf16b39f05ce5aa2bcffff1bba01885d0061d9e63
tree50a9d736271690bfcd8cd4650b3c510d6d4e39c1
parent862667b6d96022d75046c765aa1e9d8846b9d313
state_tracker: set PrimitiveRestartInSoftware if needed

If the PIPE_CAP_PRIMITIVE_RESTART screen param is not set, then enable
PrimitiveRestartInSoftware to enable software primitive restart
support in the VBO module.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/state_tracker/st_extensions.c