diff options
author | Marek Olšák <[email protected]> | 2018-05-08 17:31:46 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-05-12 21:08:09 -0400 |
commit | 86d63b53a20a747e3de769549572d895c7fbb736 (patch) | |
tree | 0b4aa27d8a617070daa5894a6cf9577b193758f3 /src/mesa/state_tracker/st_pbo.c | |
parent | ce188813bfe63068119cbf3d0f76e1ea3d27b722 (diff) |
gallium: remove aux_vertex_buffer_slot code
The slot index is always 0, and is pretty unlikely to change in the future.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_pbo.c')
-rw-r--r-- | src/mesa/state_tracker/st_pbo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_pbo.c b/src/mesa/state_tracker/st_pbo.c index 628e3ca64a5..6c55e85f069 100644 --- a/src/mesa/state_tracker/st_pbo.c +++ b/src/mesa/state_tracker/st_pbo.c @@ -245,7 +245,7 @@ st_pbo_draw(struct st_context *st, const struct st_pbo_addresses *addr, velem.src_offset = 0; velem.instance_divisor = 0; - velem.vertex_buffer_index = cso_get_aux_vertex_buffer_slot(cso); + velem.vertex_buffer_index = 0; velem.src_format = PIPE_FORMAT_R32G32_FLOAT; cso_set_vertex_elements(cso, 1, &velem); |