From 5582610ea190e52e49c60aa8fe18bebfe2466cde Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Fri, 18 Nov 2016 09:52:41 -0500 Subject: swr: [rasterizer memory] add support for clearing Z32F_X32 and Z16 Signed-off-by: Ilia Mirkin Reviewed-by: Tim Rowley --- src/gallium/drivers/swr/rasterizer/memory/ClearTile.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/swr') diff --git a/src/gallium/drivers/swr/rasterizer/memory/ClearTile.cpp b/src/gallium/drivers/swr/rasterizer/memory/ClearTile.cpp index 717d12cef9d..8501e21eded 100644 --- a/src/gallium/drivers/swr/rasterizer/memory/ClearTile.cpp +++ b/src/gallium/drivers/swr/rasterizer/memory/ClearTile.cpp @@ -282,7 +282,9 @@ void StoreHotTileClear( memset(sStoreTilesClearDepthTable, 0, sizeof(sStoreTilesClearDepthTable)); \ \ sStoreTilesClearDepthTable[R32_FLOAT] = StoreMacroTileClear::StoreClear; \ + sStoreTilesClearDepthTable[R32_FLOAT_X8X24_TYPELESS] = StoreMacroTileClear::StoreClear; \ sStoreTilesClearDepthTable[R24_UNORM_X8_TYPELESS] = StoreMacroTileClear::StoreClear; \ + sStoreTilesClearDepthTable[R16_UNORM] = StoreMacroTileClear::StoreClear; \ ////////////////////////////////////////////////////////////////////////// /// @brief Sets up tables for ClearTile -- cgit v1.2.3