i965/miptree: Use enum instead of boolean.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 4 Sep 2018 23:08:15 +0000 (16:08 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Fri, 12 Oct 2018 17:14:20 +0000 (10:14 -0700)
commitca168ec00865d0ff1a0012d0ca51272f8b926d05
treec4fa1e9a4ce2512107aa0701fad21e59527052ab
parent2c139e2cdff6e4b4b257949b687a2ff06ba976bd
i965/miptree: Use enum instead of boolean.

ISL_AUX_USAGE_NONE happens to be the same as "false", but let's do the
right thing and use the enum.

v2: fix intel_miptree_finish_depth too (Caio)

Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h