summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-04-19 18:15:05 +0200
committerJosé Fonseca <jfonseca@vmware.com>2010-04-19 18:15:05 +0200
commit382e9cc07b9193924b0eaf840a4d34cade2c7d92 (patch)
treeaaa892dc3de32c5997cea5b14a790b17efa17083 /src
parent9ca0f45d8af5aa3152350594093797210d052b6e (diff)
identity: Implement index bias.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/identity/id_context.c4
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,