summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-12-13 19:01:08 -0600
committerTim Rowley <[email protected]>2017-01-06 10:04:28 -0600
commite6eede81afc8890b4ec7bcfb74d9a71b97f3c031 (patch)
treee932ff8e0c8a98c3c2d207a8edfe92c2b563f530 /src/gallium
parenta4d6f4d954d8539c3effbbc3af7f74e9dae32e2c (diff)
swr: [rasterizer core] whitespace adjustments
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/swr/rasterizer/core/clip.h3
1 files changed, 1 insertions, 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);