i965/miptree: Take first_level into account when converting to ISL
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 16 May 2017 21:59:41 +0000 (14:59 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 26 May 2017 14:58:01 +0000 (07:58 -0700)
commitc16e840f9a9f7f6c18bc3a6d630c20c0fceea5bb
tree9e8f453f21c564ae974b15c23293fa09691acecd
parent554a1731a52c287c4c387923fea69a98d3a5fc2c
i965/miptree: Take first_level into account when converting to ISL

ISL doesn't have a concept of a partial miptree.  Instead, we need to
subtract off first_level.

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