freedreno/ir3: get the # of miplevels from getinfo
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 7 Mar 2015 23:25:54 +0000 (18:25 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 9 Mar 2015 14:50:39 +0000 (10:50 -0400)
commitcb3eb43ad690a7355429ba8dcd40120646c55b9c
tree3b43f824a55ea759dce6d0b384b1665d9c48ffd3
parent8ac957a51c67fc095db9539df6482b9533b1d05c
freedreno/ir3: get the # of miplevels from getinfo

This fixes ARB_texture_query_levels to actually return the desired
value.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler.c