From: Tim Rowley Date: Thu, 20 Apr 2017 23:34:29 +0000 (-0500) Subject: swr/rast: increment depth/stencil tile pointer in SIMD16 BE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8d58049f6409308f376c6b04f9d2fb20cb4de7c;p=mesa.git 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 --- 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);