From: Tim Rowley Date: Wed, 14 Dec 2016 01:01:08 +0000 (-0600) Subject: swr: [rasterizer core] whitespace adjustments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6eede81afc8890b4ec7bcfb74d9a71b97f3c031;p=mesa.git swr: [rasterizer core] whitespace adjustments Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/core/clip.h b/src/gallium/drivers/swr/rasterizer/core/clip.h index fcb2ecb2673..085e4a9f16c 100644 --- a/src/gallium/drivers/swr/rasterizer/core/clip.h +++ b/src/gallium/drivers/swr/rasterizer/core/clip.h @@ -388,6 +388,7 @@ public: // so that the binner knows to bloat wide points later if (pa.binTopology == TOP_POINT_LIST) clipTopology = TOP_POINT_LIST; + } else if (NumVertsPerPrim == 2) { @@ -399,7 +400,6 @@ public: SWR_ASSERT(0 && "Unexpected points in clipper."); } - uint32_t* pVertexCount = (uint32_t*)&vNumClippedVerts; uint32_t* pPrimitiveId = (uint32_t*)&vPrimId; uint32_t* pViewportIdx = (uint32_t*)&vViewportIdx; @@ -523,7 +523,6 @@ public: break; }; - // update clipper invocations pipeline stat uint32_t numInvoc = _mm_popcnt_u32(primMask); UPDATE_STAT_FE(CInvocations, numInvoc);