i965/vue: Make assign_vue_map() take an explicit slot.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 9 Sep 2015 23:09:35 +0000 (16:09 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 26 Sep 2015 18:59:56 +0000 (11:59 -0700)
commit1e5180316cd62c8c8aa46399ab6a17ad9604d48f
tree023f04c1f3cd5683e009fdac80831aa5cc54bae8
parent268008f98c3810b9f276df985dc93efc0c49f33e
i965/vue: Make assign_vue_map() take an explicit slot.

Our plan of assigning consecutive slots doesn't work properly for
separate shader objects - at least, if we want to avoid recompiling them
whenever the interface changes.

As a first step, make assign_vue_map take an explicit slot parameter,
rather than implicitly incrementing it.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_vue_map.c