[Mesa-dev] [PATCH 1/6] swr: [rasterizer core] whitespace adjustments
Tim Rowley
timothy.o.rowley at intel.com
Thu Jan 5 23:19:40 UTC 2017
---
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 fcb2ecb..085e4a9 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.7.4
More information about the mesa-dev
mailing list