Mesa (master): swr/rast: increment depth/stencil tile pointer in SIMD16 BE

Tim Rowley torowley at kemper.freedesktop.org
Sat Apr 29 01:03:09 UTC 2017


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

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Thu Apr 20 18:34:29 2017 -0500

swr/rast: increment depth/stencil tile pointer in SIMD16 BE

Misplaced #endif preventing depth and stencil hot tile pointers
from incrementing in SIMD16 8x2 configuration of BackendPixelRate.

Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>

---

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

diff --git a/src/gallium/drivers/swr/rasterizer/core/backend.h b/src/gallium/drivers/swr/rasterizer/core/backend.h
index 822daa3213..7787332281 100644
--- a/src/gallium/drivers/swr/rasterizer/core/backend.h
+++ b/src/gallium/drivers/swr/rasterizer/core/backend.h
@@ -1033,9 +1033,9 @@ Endtile:
             {
                 psContext.pColorBuffer[rt] += (KNOB_SIMD_WIDTH * FormatTraits<KNOB_COLOR_HOT_TILE_FORMAT>::bpp) / 8;
             }
+#endif
             pDepthBuffer += (KNOB_SIMD_WIDTH * FormatTraits<KNOB_DEPTH_HOT_TILE_FORMAT>::bpp) / 8;
             pStencilBuffer += (KNOB_SIMD_WIDTH * FormatTraits<KNOB_STENCIL_HOT_TILE_FORMAT>::bpp) / 8;
-#endif
 
             AR_END(BEEndTile, 0);
 




More information about the mesa-commit mailing list