summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_draw.c
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2020-10-30 09:50:50 -0400
committerMarge Bot <eric+marge@anholt.net>2020-11-18 01:41:24 +0000
commit238ee7b801cf3f861871d7b7849c25e180da5894 (patch)
tree93ac80c1c32431c66991778cfd637163876c8239 /src/mesa/tnl/t_draw.c
parentc77409a87e46a526cd2256439188deaf0ee2d4e2 (diff)
mesa: add Driver.DrawTransformFeedback
to remove some overhead from Driver.Draw. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7441>
Diffstat (limited to 'src/mesa/tnl/t_draw.c')
-rw-r--r--src/mesa/tnl/t_draw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_draw.c b/src/mesa/tnl/t_draw.c
index e8b45af081c..cf23c01ba6d 100644
--- a/src/mesa/tnl/t_draw.c
+++ b/src/mesa/tnl/t_draw.c
@@ -631,9 +631,7 @@ _tnl_draw(struct gl_context *ctx,
const struct _mesa_prim *prim, GLuint nr_prims,
const struct _mesa_index_buffer *ib,
GLboolean index_bounds_valid, GLuint min_index, GLuint max_index,
- GLuint num_instances, GLuint base_instance,
- UNUSED struct gl_transform_feedback_object *tfb_vertcount,
- UNUSED unsigned stream)
+ GLuint num_instances, GLuint base_instance)
{
/* Update TNLcontext::draw_arrays and return that pointer.
*/