diff options
author | Marek Olšák <[email protected]> | 2020-02-10 21:42:56 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-28 00:53:45 +0000 |
commit | b78ab9c741ac758e9d1eb237f7e8ddc3b70235f5 (patch) | |
tree | 982ae2d8ce6aed0089f1c45233b90ac3c4f51675 /src/mesa/vbo/vbo_save_api.c | |
parent | aaa758d3dd4112e6ce52b033cb6dcabfcebadb1f (diff) |
mesa: move num_instances and base_instance out of _mesa_prim
They are never used by multi draws and internal draws.
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3990>
Diffstat (limited to 'src/mesa/vbo/vbo_save_api.c')
-rw-r--r-- | src/mesa/vbo/vbo_save_api.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index 8e7ab86bae1..1ef6043ad0c 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -739,8 +739,6 @@ wrap_buffers(struct gl_context *ctx) save->prims[0].end = 0; save->prims[0].start = 0; save->prims[0].count = 0; - save->prims[0].num_instances = 1; - save->prims[0].base_instance = 0; save->prim_count = 1; } @@ -1218,8 +1216,6 @@ vbo_save_NotifyBegin(struct gl_context *ctx, GLenum mode, save->prims[i].end = 0; save->prims[i].start = save->vert_count; save->prims[i].count = 0; - save->prims[i].num_instances = 1; - save->prims[i].base_instance = 0; save->no_current_update = no_current_update; |