i965/miptree: Refactor aux surface allocation
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 22 Dec 2016 09:43:54 +0000 (11:43 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Mon, 19 Jun 2017 19:57:57 +0000 (22:57 +0300)
commit31bd461816bc14a01e54dea2277fc427a7f594be
treee9949604b0b6edd96bcb11bbda4fc3b0ba1f90e2
parent7e254105635a2d20d387106d67b862f178cc4e6b
i965/miptree: Refactor aux surface allocation

v2 (Jason): Drop unused argument in intel_alloc_aux_buffer() and
            move assignment of "buf->surf" in intel_alloc_aux_buffer()
            into this patch.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c