mesa: Mark buffer objects which are bound as UBOs
authorChris Forbes <chrisf@ijw.co.nz>
Wed, 1 Oct 2014 06:27:11 +0000 (19:27 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 16 Oct 2014 09:31:43 +0000 (22:31 +1300)
commitfe3133fe78a2cfe8a36d1b6a9eb4a9e89f3f59ed
tree3a75a11c08041d8a6e2380c4d1ddb41dcc02cad3
parent3d989467f1700219b053317e8aafd2965f051273
mesa: Mark buffer objects which are bound as UBOs

When a buffer object is bound to one of the indexed uniform buffer
binding points, assume that from that point on it may be used as
a uniform buffer.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/bufferobj.c