swr: [rasterizer core] actually perform clear before store in GetHotTile
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 18 Nov 2016 00:39:20 +0000 (19:39 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 24 Nov 2016 01:33:32 +0000 (20:33 -0500)
commit74943db82c9b559ddad8773822ade93eafb24849
treec57cc862070eff4891123cea5f33fef6a712e5c7
parent5da84a7e120d1df848531c6e7eb60340ac4dc43c
swr: [rasterizer core] actually perform clear before store in GetHotTile

When switching render target array indexes (as might happen in a GS, or
in a future change, with layered clears), if the previous state is
HOTTILE_CLEAR, we should actually clear the tile before saving it off.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/rasterizer/core/tilemgr.cpp