summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_pbo.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-05-08 17:31:46 -0400
committerMarek Olšák <[email protected]>2018-05-12 21:08:09 -0400
commit86d63b53a20a747e3de769549572d895c7fbb736 (patch)
tree0b4aa27d8a617070daa5894a6cf9577b193758f3 /src/mesa/state_tracker/st_pbo.c
parentce188813bfe63068119cbf3d0f76e1ea3d27b722 (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.c2
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);