summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_state_common.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-01-29 16:22:08 +0100
committerMarek Olšák <[email protected]>2011-01-30 03:29:48 +0100
commit73a40d1383071fe25599509d218f4c40d049988d (patch)
treeb6e95902a8f1de15d0d871ce5c4ce450120096f9 /src/gallium/drivers/r600/r600_state_common.c
parent70e656b4ebdd3cd2962ce66544ae9af349ecd59a (diff)
r600g: rework vertex format fallback
1) Only translate the [min_index, max_index] range. 2) Upload translated vertices via the uploader.
Diffstat (limited to 'src/gallium/drivers/r600/r600_state_common.c')
-rw-r--r--src/gallium/drivers/r600/r600_state_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c
index 4a2c7fe935c..2df8188f0a2 100644
--- a/src/gallium/drivers/r600/r600_state_common.c
+++ b/src/gallium/drivers/r600/r600_state_common.c
@@ -497,7 +497,7 @@ void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *info)
unsigned prim;
if (rctx->vertex_elements->incompatible_layout) {
- r600_begin_vertex_translate(rctx);
+ r600_begin_vertex_translate(rctx, info->min_index, info->max_index);
}
if (rctx->any_user_vbs) {