st/nine: Fix BASETEX_REGISTER_UPDATE
authorAxel Davy <axel.davy@ens.fr>
Sun, 6 Nov 2016 11:06:22 +0000 (12:06 +0100)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:23 +0000 (23:44 +0100)
commit62068c9d90ceda8a4a6696dee1ec7f7a718b9d36
tree35234692a4db9ef161a7b36cafed8df3748ac76b
parent804b28cdc461043bba18f1b2b914ef61b9773192
st/nine: Fix BASETEX_REGISTER_UPDATE

BASETEX_REGISTER_UPDATE was adding the texture to the list
of textures to upload in too many cases. tex->base.base.bind
will be set to true if the texture is in a stateblock, whereas
we want to upload only if bound to the device, which is
what bind_count is for.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/basetexture9.h