st/nine: NineBaseTexture9: fix setting of last_layer
authorAxel Davy <axel.davy@ens.fr>
Tue, 2 Dec 2014 21:18:30 +0000 (22:18 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 22 Jan 2015 22:16:18 +0000 (22:16 +0000)
commit18c7e702262425759cafddf7cc6d58543d97d7b3
tree516b4aba96dd61791b1cf5a6d0c2bd1b38f807bf
parent05e20e10451461a1fde3634da1eec3c1ec1b17a2
st/nine: NineBaseTexture9: fix setting of last_layer

Use same similar settings as u_sampler_view_default_template

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Cc: "10.4" <mesa-stable@lists.freedesktop.org>
src/gallium/state_trackers/nine/basetexture9.c