i965: Make a helper function for the renderbuffer temporary mt workaround.
authorEric Anholt <eric@anholt.net>
Wed, 8 Aug 2012 16:29:46 +0000 (09:29 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Oct 2012 20:13:44 +0000 (13:13 -0700)
commitddfa346e4a685269c576714eb0b14fd23d748217
treedfb4327c3a7c440cc356b93711ca089a5501d030
parent4bec2e31bfb6aad5b3af16f463211e51d1e67217
i965: Make a helper function for the renderbuffer temporary mt workaround.

We now have a case of wanting to do that on gen6+ as well, so make this logic
usable elsewhere.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_fbo.h