swr: [rasterizer core] don't attempt to load another RTAI when storing
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 17 Nov 2016 02:33:29 +0000 (21:33 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 1 Dec 2016 01:34:55 +0000 (20:34 -0500)
commita9d292f5bd253550acc608132e9970e7a24840b1
treebeb33d22cddc52a0672651fe7dd52d61fc4173f8
parent77014a0ad36acf11b704ab20456259831a102308
swr: [rasterizer core] don't attempt to load another RTAI when storing

Since we don't pass a renderTargetArrayIndex in, and the current hot
tile may be for a different index, we may end up loading the RTAI=0 into
the hot tile for no reason.

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