i965/blorp: Properly handle mt->first_level
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 16 May 2017 21:58:00 +0000 (14:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 26 May 2017 14:58:01 +0000 (07:58 -0700)
commitb50b821eb35bc783f463b80e4a284d55caaf0e37
tree0913941b7f84f98fff5153e08995e02b8520146d
parentc16e840f9a9f7f6c18bc3a6d630c20c0fceea5bb
i965/blorp: Properly handle mt->first_level

The guts of blorp and ISL don't understand i965's partial miptrees.
Instead, we need to subtract off first_level before we hand anything off
to blorp.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_blorp.c