diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-04-19 18:15:05 +0200 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-04-19 18:15:05 +0200 |
commit | 382e9cc07b9193924b0eaf840a4d34cade2c7d92 (patch) | |
tree | aaa892dc3de32c5997cea5b14a790b17efa17083 | |
parent | 9ca0f45d8af5aa3152350594093797210d052b6e (diff) |
identity: Implement index bias.
-rw-r--r-- | src/gallium/drivers/identity/id_context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/identity/id_context.c b/src/gallium/drivers/identity/id_context.c index 3b7eaecc02..630cdb5e49 100644 --- a/src/gallium/drivers/identity/id_context.c +++ b/src/gallium/drivers/identity/id_context.c @@ -64,6 +64,7 @@ static void identity_draw_elements(struct pipe_context *_pipe, struct pipe_resource *_indexResource, unsigned indexSize, + int indexBias, unsigned prim, unsigned start, unsigned count) @@ -76,6 +77,7 @@ identity_draw_elements(struct pipe_context *_pipe, pipe->draw_elements(pipe, indexResource, indexSize, + indexBias, prim, start, count); @@ -85,6 +87,7 @@ static void identity_draw_range_elements(struct pipe_context *_pipe, struct pipe_resource *_indexResource, unsigned indexSize, + int indexBias, unsigned minIndex, unsigned maxIndex, unsigned mode, @@ -99,6 +102,7 @@ identity_draw_range_elements(struct pipe_context *_pipe, pipe->draw_range_elements(pipe, indexResource, indexSize, + indexBias, minIndex, maxIndex, mode, |