Module: Mesa
Branch: master
Commit: 936ce75285c35f30e55ec74772e48bac6f7d8176
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=936ce75285c35f30e55ec74772e48bac6f7d8176

Author: Alok Hota <alok.h...@intel.com>
Date:   Wed May 16 11:14:21 2018 -0500

swr/rast: Added FEClipRectangles event

and also added some comments

Reviewed-By: George Kyriazis <george.kyria...@intel.com>

---

 src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp | 1 +
 src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h   | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp 
b/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp
index f1355dd0d9..f289a319ca 100644
--- a/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp
+++ b/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp
@@ -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 },
diff --git a/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h 
b/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h
index 3a7ee4c3f0..704da650d8 100644
--- a/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h
+++ b/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h
@@ -29,6 +29,9 @@
 
 #include <vector>
 
+///////////////////////////////////////////////////////////////////////////////
+// NOTE:  This enum MUST be kept in sync with gCoreBuckets in rdtsc_core.cpp
+///////////////////////////////////////////////////////////////////////////////
 enum CORE_BUCKETS
 {
     APIClearRenderTarget,

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to