swr/rast: Add clipper stats.
authorGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 31 Jan 2018 19:22:19 +0000 (13:22 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 16 Feb 2018 16:53:59 +0000 (10:53 -0600)
commit205347272369f554ab274e3ec62002ecdcc7f3c0
tree7c9aebfc186e311e5d6c016c067ed0accb4223c4
parent0420b2be89a4023eb6c1b45740d98184bb77e7cd
swr/rast: Add clipper stats.

Clipper event is now:

event ClipperEvent
{
    uint32_t drawId;
    uint32_t trivialRejectCount;
    uint32_t trivialAcceptCount;
    uint32_t mustClipCount;
};

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp
src/gallium/drivers/swr/rasterizer/archrast/events.proto
src/gallium/drivers/swr/rasterizer/archrast/events_private.proto
src/gallium/drivers/swr/rasterizer/core/clip.h