summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_context.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-09-16 09:39:29 +1000
committerDave Airlie <airlied@redhat.com>2010-09-16 09:40:42 +1000
commit3ead528bbbbc59aa22e951c10cdeb1f7b54de87f (patch)
treea8b531ac458604e2dd88126efa5361731d63cdeb /src/gallium/drivers/r600/r600_context.h
parent05433f20b6547e105d172bd586d3b6ce1b9d0f97 (diff)
r600g: use index min/max + index buffer offset.
more prep work for fixing up buffer handling
Diffstat (limited to 'src/gallium/drivers/r600/r600_context.h')
-rw-r--r--src/gallium/drivers/r600/r600_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_context.h b/src/gallium/drivers/r600/r600_context.h
index 7366810de2..e89cab31bc 100644
--- a/src/gallium/drivers/r600/r600_context.h
+++ b/src/gallium/drivers/r600/r600_context.h
@@ -123,6 +123,8 @@ struct r600_draw {
unsigned count;
unsigned index_size;
struct pipe_resource *index_buffer;
+ unsigned index_buffer_offset;
+ unsigned min_index, max_index;
};
struct r600_context_hw_states {