summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/util/u_prim_restart.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-05-29 10:18:49 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-05-29 10:18:49 +0000
commit6efd01a304e323b57b57ea1a83f23bcb37de5acc (patch)
treedc57d2a37fc9193c0128dadc9c8065f026d635b1 /lib/mesa/src/gallium/auxiliary/util/u_prim_restart.h
parent825633c318d3edb4978e828a5232a0277d8e4fd1 (diff)
Import Mesa 11.2.2
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/util/u_prim_restart.h')
-rw-r--r--lib/mesa/src/gallium/auxiliary/util/u_prim_restart.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/util/u_prim_restart.h b/lib/mesa/src/gallium/auxiliary/util/u_prim_restart.h
index 0e17ce5eb..1e98e0e1b 100644
--- a/lib/mesa/src/gallium/auxiliary/util/u_prim_restart.h
+++ b/lib/mesa/src/gallium/auxiliary/util/u_prim_restart.h
@@ -38,17 +38,20 @@ extern "C" {
struct pipe_context;
struct pipe_draw_info;
-union pipe_index_binding;
+struct pipe_index_buffer;
struct pipe_resource;
enum pipe_error
util_translate_prim_restart_ib(struct pipe_context *context,
- const struct pipe_draw_info *info,
- struct pipe_resource **dst_buffer);
+ struct pipe_index_buffer *src_buffer,
+ struct pipe_resource **dst_buffer,
+ unsigned num_indexes,
+ unsigned restart_index);
enum pipe_error
util_draw_vbo_without_prim_restart(struct pipe_context *context,
+ const struct pipe_index_buffer *ib,
const struct pipe_draw_info *info);