aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_draw.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2013-04-05 12:12:08 +0200
committerChris Forbes <[email protected]>2013-11-25 22:01:35 +1300
commit80ac616fca709ab10f7aae062d96ec18d05097a7 (patch)
treeb144d9b4029a3ded710cbfe73d5c0dcf5f617ab9 /src/mesa/drivers/dri/i965/brw_draw.h
parenteb0892b4b115a36ffb9f0904e418ec62a182427c (diff)
mesa: add indirect drawing buffer parameter to draw functions
Split from patch implementing ARB_draw_indirect. v2: Const-qualify the struct gl_buffer_object *indirect argument. v3: Fix up some more draw calls for new argument. v4: Fix up rebase conflicts in i965. v5: Undo const-qualification Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_draw.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.h b/src/mesa/drivers/dri/i965/brw_draw.h
index fb96813b70f..119d6f16f7e 100644
--- a/src/mesa/drivers/dri/i965/brw_draw.h
+++ b/src/mesa/drivers/dri/i965/brw_draw.h
@@ -41,7 +41,8 @@ void brw_draw_prims( struct gl_context *ctx,
GLboolean index_bounds_valid,
GLuint min_index,
GLuint max_index,
- struct gl_transform_feedback_object *unused_tfb_object);
+ struct gl_transform_feedback_object *unused_tfb_object,
+ struct gl_buffer_object *indirect );
void brw_draw_init( struct brw_context *brw );
void brw_draw_destroy( struct brw_context *brw );