summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-09-04 16:05:00 -0700
committerEric Anholt <[email protected]>2014-09-30 11:00:52 -0700
commit2b76ee903187e22c9fa013579004bc5f51c9a6d8 (patch)
treecc5969db161ff218091b0506500c5aecece2333f /src/mesa/main
parentbcb722d83025a8e25a318611df6ba4e945c9223d (diff)
mesa: Drop the always-software-primitive-restart paths.
The core sw primitive restart code is still around, because i965 uses it in some cases, but there are no drivers that want it on all the time. Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/context.c3
-rw-r--r--src/mesa/main/mtypes.h5
2 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 9cca39e5060..b7e87284e30 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -682,9 +682,6 @@ _mesa_init_constants(struct gl_constants *consts, gl_api api)
/* GL_ARB_robustness */
consts->ResetStrategy = GL_NO_RESET_NOTIFICATION_ARB;
- /* PrimitiveRestart */
- consts->PrimitiveRestartInSoftware = GL_FALSE;
-
/* ES 3.0 or ARB_ES3_compatibility */
consts->MaxElementIndex = 0xffffffffu;
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 7c237bd1ba9..b66b1a85def 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3552,11 +3552,6 @@ struct gl_constants
GLboolean GLSLSkipStrictMaxUniformLimitCheck;
/**
- * Force software support for primitive restart in the VBO module.
- */
- GLboolean PrimitiveRestartInSoftware;
-
- /**
* Always use the GetTransformFeedbackVertexCount() driver hook, rather
* than passing the transform feedback object to the drawing function.
*/