i965/surface_state: Drop brw_aux_surface_disabled
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Jan 2018 19:43:55 +0000 (11:43 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 25 Jan 2018 03:05:36 +0000 (19:05 -0800)
commit468ea3cc451f2c71e7d1be528090cb0334d500c2
treebb97b4ea41f6bb6c311aa167da5f65aa1edfa28e
parentd38ec24f531fac0b53c406a09d17427309a3ffca
i965/surface_state: Drop brw_aux_surface_disabled

The only purpose of this function is to disable aux on texture surfaces
when the corresponding renderbuffer has aux disabled.  However, the act
of disabling aux on the renderbuffer will cause it to be resolved and
intel_miptree_texture_aux_usage will already check the resolved status
of a texture and return ISL_AUX_USAGE_NONE for it.  Even if we used CCS
for it, that wouldn't really be a problem because the CCS will be in the
pass-through state and so it would effectively be ignored.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c