swr/rast: increment depth/stencil tile pointer in SIMD16 BE
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 20 Apr 2017 23:34:29 +0000 (18:34 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Sat, 29 Apr 2017 00:56:42 +0000 (19:56 -0500)
Misplaced #endif preventing depth and stencil hot tile pointers
from incrementing in SIMD16 8x2 configuration of BackendPixelRate.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/core/backend.h

index 822daa321335353476b3fcfd643537d7887c29d0..7787332281ca70146b3e466fee02da6abba00a72 100644 (file)
@@ -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);