diff options
author | Marek Olšák <[email protected]> | 2020-02-03 20:40:09 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-11 00:34:57 +0000 |
commit | 47d7e21619218348c86ca6909cf695f78c9778c6 (patch) | |
tree | 93bc04affddaa74ffb761048e91934122a630edc /src/mesa/vbo | |
parent | 734654a89cf588d88b2932b931612374ef2884eb (diff) |
mesa: remove unused _mesa_prim::is_indirect
Reviewed-by: Mathias Fröhlich <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r-- | src/mesa/vbo/vbo_exec_api.c | 1 | ||||
-rw-r--r-- | src/mesa/vbo/vbo_primitive_restart.c | 1 | ||||
-rw-r--r-- | src/mesa/vbo/vbo_save_api.c | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c index 75895316293..f106fc2d970 100644 --- a/src/mesa/vbo/vbo_exec_api.c +++ b/src/mesa/vbo/vbo_exec_api.c @@ -823,7 +823,6 @@ vbo_exec_Begin(GLenum mode) exec->vtx.prim[i].count = 0; exec->vtx.prim[i].num_instances = 1; exec->vtx.prim[i].base_instance = 0; - exec->vtx.prim[i].is_indirect = 0; ctx->Driver.CurrentExecPrimitive = mode; diff --git a/src/mesa/vbo/vbo_primitive_restart.c b/src/mesa/vbo/vbo_primitive_restart.c index 8d279fd637a..1faf3a68229 100644 --- a/src/mesa/vbo/vbo_primitive_restart.c +++ b/src/mesa/vbo/vbo_primitive_restart.c @@ -198,7 +198,6 @@ vbo_sw_primitive_restart(struct gl_context *ctx, ADD_POINTERS(indirect->Mappings[MAP_INTERNAL].Pointer, new_prim.indirect_offset); - new_prim.is_indirect = 0; new_prim.count = indirect_params[0]; new_prim.num_instances = indirect_params[1]; new_prim.start = indirect_params[2]; diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index aff90bf8023..57984684899 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -742,7 +742,6 @@ wrap_buffers(struct gl_context *ctx) save->prims[0].count = 0; save->prims[0].num_instances = 1; save->prims[0].base_instance = 0; - save->prims[0].is_indirect = 0; save->prim_count = 1; } @@ -1223,7 +1222,6 @@ vbo_save_NotifyBegin(struct gl_context *ctx, GLenum mode, save->prims[i].count = 0; save->prims[i].num_instances = 1; save->prims[i].base_instance = 0; - save->prims[i].is_indirect = 0; save->no_current_update = no_current_update; |