i965/miptree: Take an aux_usage in prepare/finish_render
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 23 Jan 2018 07:33:53 +0000 (23:33 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 25 Jan 2018 03:05:36 +0000 (19:05 -0800)
commitdfe02179055b2504303e23988ab3d446b40de05a
treed5dd7ea63a1215b9229810cdd314d89e46007864
parent7d4007d58ab7c0c1796e116b55814f8be4e699a9
i965/miptree: Take an aux_usage in prepare/finish_render

Both callers of intel_miptree_prepare/finish_render have to call
intel_miptree_render_aux_usage anyway for other reasons.  They may as
well pass the result in instead of us calling it again.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp.c
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h