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/vbo/vbo_primitive_restart.c | |
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/vbo/vbo_primitive_restart.c')
-rw-r--r-- | src/mesa/vbo/vbo_primitive_restart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/vbo/vbo_primitive_restart.c b/src/mesa/vbo/vbo_primitive_restart.c index 25c89669ccf..562dedcd5c9 100644 --- a/src/mesa/vbo/vbo_primitive_restart.c +++ b/src/mesa/vbo/vbo_primitive_restart.c @@ -41,8 +41,8 @@ /* * Notes on primitive restart: - * The code below is used when the driver does not support primitive - * restart itself. (ctx->Const.PrimitiveRestartInSoftware == GL_TRUE) + * The code below is used when the driver does not fully support primitive + * restart (for example, if it only does restart index of ~0). * * We map the index buffer, find the restart indexes, unmap * the index buffer then draw the sub-primitives delineated by the restarts. |