[Mesa-dev] [PATCH 03/14] swr: [rasterizer memory] fix store tile for 128-bit ymajor tiling

Ilia Mirkin imirkin at alum.mit.edu
Sat Nov 12 23:00:28 UTC 2016


Noticed by inspection.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---

Entirely untested. Just happened to jump out at me that the two tiling modes
didn't match, whereas every other instance in this file matches.

 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 b89c886..380e6af 100644
--- a/src/gallium/drivers/swr/rasterizer/memory/StoreTile.h
+++ b/src/gallium/drivers/swr/rasterizer/memory/StoreTile.h
@@ -1650,7 +1650,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;
  
     static const size_t TILE_Y_COL_WIDTH_BYTES  = 16;
     static const size_t TILE_Y_ROWS             = 32;
-- 
2.7.3



More information about the mesa-dev mailing list