st/mesa: Set samplers views' first_level.
authorHenri Verbeet <hverbeet@gmail.com>
Mon, 17 Jan 2011 21:03:30 +0000 (22:03 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 8 Apr 2011 02:44:21 +0000 (04:44 +0200)
commit2ecb73379e4d88873cbe1cafdd056f7f687ea743
tree884f600162af58b7b9fdac26f3ad29b1446fadb1
parent7984c2d42de50d1a44ab9832c8370ff1dee1c0e7
st/mesa: Set samplers views' first_level.

Base level and min LOD aren't equivalent. In particular, min LOD has no
effect on image array selection for magnification and non-mipmapped
minification.

Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_atom_sampler.c
src/mesa/state_tracker/st_atom_texture.c