From: Alok Hota Date: Wed, 16 May 2018 16:14:21 +0000 (-0500) Subject: swr/rast: Added FEClipRectangles event X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=936ce75285c35f30e55ec74772e48bac6f7d8176;p=mesa.git swr/rast: Added FEClipRectangles event and also added some comments Reviewed-By: George Kyriazis --- 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,