diff options
author | Marek Olšák <[email protected]> | 2011-01-29 16:22:08 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-01-30 03:29:48 +0100 |
commit | 73a40d1383071fe25599509d218f4c40d049988d (patch) | |
tree | b6e95902a8f1de15d0d871ce5c4ce450120096f9 /src/gallium/drivers/r600/r600_pipe.h | |
parent | 70e656b4ebdd3cd2962ce66544ae9af349ecd59a (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_pipe.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index 301888abc78..cf4211cb8d3 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -251,7 +251,8 @@ unsigned r600_texture_get_offset(struct r600_resource_texture *rtex, unsigned level, unsigned layer); /* r600_translate.c */ -void r600_begin_vertex_translate(struct r600_pipe_context *rctx); +void r600_begin_vertex_translate(struct r600_pipe_context *rctx, + int min_index, int max_index); void r600_end_vertex_translate(struct r600_pipe_context *rctx); void r600_translate_index_buffer(struct r600_pipe_context *r600, struct pipe_resource **index_buffer, |