swr/rast: Added FEClipRectangles event
authorAlok Hota <alok.hota@intel.com>
Wed, 16 May 2018 16:14:21 +0000 (11:14 -0500)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Thu, 17 May 2018 15:53:14 +0000 (10:53 -0500)
and also added some comments

Reviewed-By: George Kyriazis <george.kyriazis@intel.com>
src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp
src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h

index f1355dd0d9fdf1535cddf4073a50635ff76a06d2..f289a319ca3fa7aacde8eaf53c4a72fd91bc9a2c 100644 (file)
@@ -54,6 +54,7 @@ BUCKET_DESC gCoreBuckets[] = {
     { "FEClipPoints", "", false, 0xffffffff },
     { "FEClipLines", "", false, 0xffffffff },
     { "FEClipTriangles", "", false, 0xffffffff },
+    { "FEClipRectangles", "", false, 0xffffffff },
     { "FECullZeroAreaAndBackface", "", false, 0xffffffff },
     { "FECullBetweenCenters", "", false, 0xffffffff },
     { "FEEarlyRastEnter", "", false, 0xffffffff },
index 3a7ee4c3f02a9e0a9c1c214a7775c57836118057..704da650d852db93294134204ca91c8a899c47d7 100644 (file)
@@ -29,6 +29,9 @@
 
 #include <vector>
 
+///////////////////////////////////////////////////////////////////////////////
+// NOTE:  This enum MUST be kept in sync with gCoreBuckets in rdtsc_core.cpp
+///////////////////////////////////////////////////////////////////////////////
 enum CORE_BUCKETS
 {
     APIClearRenderTarget,