i965/gen8: Initialize aux_mode to GEN8_SURFACE_AUX_MODE_NONE
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 8 Jul 2014 18:17:57 +0000 (18:17 +0000)
committerBen Widawsky <benjamin.widawsky@intel.com>
Tue, 2 Feb 2016 23:44:18 +0000 (15:44 -0800)
commit141ef75569aa9ffe392f19d7a375bbadebfd08be
tree73b44db0b32eb9349c7b607720dfe3cf76536980
parent18f688d62a69501072d6783bbce34d1a755ef2c9
i965/gen8: Initialize aux_mode to GEN8_SURFACE_AUX_MODE_NONE

GEN8_SURFACE_AUX_MODE_NONE is 0, so this is a no-op.

Yet, this also makes it clear that we can compare aux_mode to the
other GEN8_SURFACE_AUX_MODE_ values. We will want to compare to
GEN8_SURFACE_AUX_MODE_HIZ.

v2: Some very minor cherry-pick conflicts due to moving it around in the series.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com>
Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
src/mesa/drivers/dri/i965/gen8_surface_state.c