- struct pipe_buffer *index_buffer,
- unsigned index_size,
+ struct pipe_resource *index_buffer,
+ unsigned index_size, int index_bias,
debug_printf("PRIM: %s start %d count %d index_buffer %p\n",
u_prim_name(mode), start, count, (void *)index_buffer);
debug_printf("PRIM: %s start %d count %d index_buffer %p\n",
u_prim_name(mode), start, count, (void *)index_buffer);
/* Potentially trigger upload of new index buffer.
*
* XXX: do we need to go through state validation to achieve this?
/* Potentially trigger upload of new index buffer.
*
* XXX: do we need to go through state validation to achieve this?
- struct pipe_buffer *index_buffer,
- unsigned index_size,
+ struct pipe_resource *index_buffer,
+ unsigned index_size, int index_bias,
unsigned mode,
unsigned start, unsigned count)
{
brw_draw_range_elements( pipe, index_buffer,
unsigned mode,
unsigned start, unsigned count)
{
brw_draw_range_elements( pipe, index_buffer,
brw_draw_arrays(struct pipe_context *pipe, unsigned mode,
unsigned start, unsigned count)
{
brw_draw_arrays(struct pipe_context *pipe, unsigned mode,
unsigned start, unsigned count)
{
- brw_draw_elements(pipe, NULL, 0, mode, start, count);
+ brw_draw_elements(pipe, NULL, 0, 0, mode, start, count);