From 936ce75285c35f30e55ec74772e48bac6f7d8176 Mon Sep 17 00:00:00 2001 From: Alok Hota Date: Wed, 16 May 2018 11:14:21 -0500 Subject: [PATCH] swr/rast: Added FEClipRectangles event and also added some comments Reviewed-By: George Kyriazis --- 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 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 +/////////////////////////////////////////////////////////////////////////////// +// NOTE: This enum MUST be kept in sync with gCoreBuckets in rdtsc_core.cpp +/////////////////////////////////////////////////////////////////////////////// enum CORE_BUCKETS { APIClearRenderTarget, -- 2.30.2