freedreno/a3xx: handle first/last level properly
authorRob Clark <robclark@freedesktop.org>
Sat, 23 Aug 2014 15:35:31 +0000 (11:35 -0400)
committerRob Clark <robclark@freedesktop.org>
Sun, 24 Aug 2014 17:09:23 +0000 (13:09 -0400)
commitbd3b0964675d36e753e273d5667b922cc9baac4a
treee141a7bc71746cb4c68729b5a698aaf57ee87466
parentb40a6c2b17de1f63d70d62608737ed9a259da1c5
freedreno/a3xx: handle first/last level properly

Fixes some assumptions about first_level being zero.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/freedreno/a3xx/fd3_texture.c
src/gallium/drivers/freedreno/a3xx/fd3_texture.h