From e8d58049f6409308f376c6b04f9d2fb20cb4de7c Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Thu, 20 Apr 2017 18:34:29 -0500 Subject: [PATCH] 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 --- 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 822daa32133..7787332281c 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::bpp) / 8; } +#endif pDepthBuffer += (KNOB_SIMD_WIDTH * FormatTraits::bpp) / 8; pStencilBuffer += (KNOB_SIMD_WIDTH * FormatTraits::bpp) / 8; -#endif AR_END(BEEndTile, 0);