projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
150d126
)
failover: Implement index bias.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 19 Apr 2010 16:14:35 +0000
(18:14 +0200)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 19 Apr 2010 16:14:35 +0000
(18:14 +0200)
src/gallium/drivers/failover/fo_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/failover/fo_context.c
b/src/gallium/drivers/failover/fo_context.c
index 325a1009541ed8984436de76225be52645026a81..236c50f4d98ab8f354005fd8c95f93115306c440 100644
(file)
--- a/
src/gallium/drivers/failover/fo_context.c
+++ b/
src/gallium/drivers/failover/fo_context.c
@@
-53,6
+53,7
@@
void failover_fail_over( struct failover_context *failover )
static void failover_draw_elements( struct pipe_context *pipe,
struct pipe_resource *indexResource,
unsigned indexSize,
static void failover_draw_elements( struct pipe_context *pipe,
struct pipe_resource *indexResource,
unsigned indexSize,
+ int indexBias,
unsigned prim,
unsigned start,
unsigned count)
unsigned prim,
unsigned start,
unsigned count)
@@
-72,6
+73,7
@@
static void failover_draw_elements( struct pipe_context *pipe,
failover->hw->draw_elements( failover->hw,
indexResource,
indexSize,
failover->hw->draw_elements( failover->hw,
indexResource,
indexSize,
+ indexBias,
prim,
start,
count );
prim,
start,
count );
@@
-89,6
+91,7
@@
static void failover_draw_elements( struct pipe_context *pipe,
failover->sw->draw_elements( failover->sw,
indexResource,
indexSize,
failover->sw->draw_elements( failover->sw,
indexResource,
indexSize,
+ indexBias,
prim,
start,
count );
prim,
start,
count );
@@
-105,7
+108,7
@@
static void failover_draw_elements( struct pipe_context *pipe,
static void failover_draw_arrays( struct pipe_context *pipe,
unsigned prim, unsigned start, unsigned count)
{
static void failover_draw_arrays( struct pipe_context *pipe,
unsigned prim, unsigned start, unsigned count)
{
- failover_draw_elements(pipe, NULL, 0, prim, start, count);
+ failover_draw_elements(pipe, NULL, 0,
0,
prim, start, count);
}
static unsigned int
}
static unsigned int