From: Ilia Mirkin Date: Fri, 18 Nov 2016 14:52:41 +0000 (-0500) Subject: swr: [rasterizer memory] add support for clearing Z32F_X32 and Z16 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5582610ea190e52e49c60aa8fe18bebfe2466cde;p=mesa.git swr: [rasterizer memory] add support for clearing Z32F_X32 and Z16 Signed-off-by: Ilia Mirkin Reviewed-by: Tim Rowley --- 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