diff options
author | Eric Anholt <[email protected]> | 2014-09-04 16:05:00 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-30 11:00:52 -0700 |
commit | 2b76ee903187e22c9fa013579004bc5f51c9a6d8 (patch) | |
tree | cc5969db161ff218091b0506500c5aecece2333f /src/mesa/drivers | |
parent | bcb722d83025a8e25a318611df6ba4e945c9223d (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/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_primitive_restart.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_primitive_restart.c b/src/mesa/drivers/dri/i965/brw_primitive_restart.c index 2d654f67b9b..f7764e15e2c 100644 --- a/src/mesa/drivers/dri/i965/brw_primitive_restart.c +++ b/src/mesa/drivers/dri/i965/brw_primitive_restart.c @@ -138,14 +138,6 @@ brw_handle_primitive_restart(struct gl_context *ctx, return GL_FALSE; } - /* If the driver has requested software handling of primitive restarts, - * then the VBO module has already taken care of things, and we can - * just draw as normal. - */ - if (ctx->Const.PrimitiveRestartInSoftware) { - return GL_FALSE; - } - /* If we have set the in_progress flag, then we are in the middle * of handling the primitive restart draw. */ |