summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlok Hota <[email protected]>2018-05-16 11:14:21 -0500
committerGeorge Kyriazis <[email protected]>2018-05-17 10:53:14 -0500
commit936ce75285c35f30e55ec74772e48bac6f7d8176 (patch)
tree1b8b7b78e66335b010246399a942f4b9ec3b4f50 /src
parenta33d3761331ac025c74eeb111bb04d228857b8ce (diff)
swr/rast: Added FEClipRectangles event
and also added some comments Reviewed-By: George Kyriazis <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp1
-rw-r--r--src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp b/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp
index f1355dd0d9f..f289a319ca3 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 3a7ee4c3f02..704da650d85 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,