Mesa (master): swr: [rasterizer memory] fix store tile for 128-bit ymajor tiling

Ilia Mirkin imirkin at kemper.freedesktop.org
Wed Nov 16 01:28:40 UTC 2016


Module: Mesa
Branch: master
Commit: 5dd0b8d3c635b67d8274c64653d825b8855b8167
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5dd0b8d3c635b67d8274c64653d825b8855b8167

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Nov 12 03:30:38 2016 -0500

swr: [rasterizer memory] fix store tile for 128-bit ymajor tiling

Noticed by inspection.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>

---

 src/gallium/drivers/swr/rasterizer/memory/StoreTile.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/swr/rasterizer/memory/StoreTile.h b/src/gallium/drivers/swr/rasterizer/memory/StoreTile.h
index 69e8784..558f048 100644
--- a/src/gallium/drivers/swr/rasterizer/memory/StoreTile.h
+++ b/src/gallium/drivers/swr/rasterizer/memory/StoreTile.h
@@ -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;
 




More information about the mesa-commit mailing list