static void failover_draw_elements( struct pipe_context *pipe,
struct pipe_resource *indexResource,
unsigned indexSize,
+ int indexBias,
unsigned prim,
unsigned start,
unsigned count)
failover->hw->draw_elements( failover->hw,
indexResource,
indexSize,
+ indexBias,
prim,
start,
count );
failover->sw->draw_elements( failover->sw,
indexResource,
indexSize,
+ indexBias,
prim,
start,
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