swr: [rasterizer memory] fix store tile for 128-bit ymajor tiling
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 12 Nov 2016 08:30:38 +0000 (03:30 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 16 Nov 2016 01:24:41 +0000 (20:24 -0500)
Noticed by inspection.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/memory/StoreTile.h

index 69e8784f6ca6bfbf73b7c26161c9bb1e53899b9d..558f0489d847366ceb73030675f54d9891e5b638 100644 (file)
@@ -2175,7 +2175,7 @@ struct OptStoreRasterTile< TilingTraits<SWR_TILE_MODE_YMAJOR, 64>, SrcFormat, Ds
 template<SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat>
 struct OptStoreRasterTile< TilingTraits<SWR_TILE_MODE_YMAJOR, 128>, SrcFormat, DstFormat>
 {
-    typedef StoreRasterTile<TilingTraits<SWR_TILE_NONE, 128>, SrcFormat, DstFormat> GenericStoreTile;
+    typedef StoreRasterTile<TilingTraits<SWR_TILE_MODE_YMAJOR, 128>, SrcFormat, DstFormat> GenericStoreTile;
 #if USE_8x2_TILE_BACKEND
     static const size_t SRC_BYTES_PER_PIXEL = FormatTraits<SrcFormat>::bpp / 8;