mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
identity: Implement index bias.
This commit is contained in:
parent
9ca0f45d8a
commit
382e9cc07b
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue