i965/miptree: Add and use mt_surf_usage
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 11 Jun 2018 15:15:17 +0000 (08:15 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 13 Jul 2018 15:31:21 +0000 (08:31 -0700)
commit03cbaae03e0036782a4007026cbee79e7bc2a4b2
treea6ead2bbd0357969cd5c7821fdb2161536429a78
parent32b22592a883b527c7207818e209300542b15edc
i965/miptree: Add and use mt_surf_usage

v2: Make mt_fmt const (Topi).

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