From e6eede81afc8890b4ec7bcfb74d9a71b97f3c031 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Tue, 13 Dec 2016 19:01:08 -0600 Subject: [PATCH] swr: [rasterizer core] whitespace adjustments Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/rasterizer/core/clip.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.30.2