summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-02-08 13:09:18 -0700
committerBrian Paul <brianp@vmware.com>2010-02-08 16:57:23 -0700
commit4aeacdf8530d69d543cb2b997c1e65edb71ae01a (patch)
treed6907cb8e8675fa3e3102292cd9d9d8939a6e429 /src/gallium/drivers/llvmpipe/lp_rast.c
parenta8270c7c29b141025f606c811812304a72e42d2e (diff)
llvmpipe: added counters for color tile clear, load, store
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index 7855e03bed..5ae323fd96 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -34,6 +34,7 @@
#include "lp_scene_queue.h"
#include "lp_debug.h"
#include "lp_fence.h"
+#include "lp_perf.h"
#include "lp_rast.h"
#include "lp_rast_priv.h"
#include "lp_tile_soa.h"
@@ -215,6 +216,8 @@ void lp_rast_clear_color( struct lp_rasterizer *rast,
assert(c - color_tile[i] == TILE_SIZE * TILE_SIZE * 4);
}
}
+
+ LP_COUNT(nr_color_tile_clear);
}
@@ -273,6 +276,8 @@ void lp_rast_load_color( struct lp_rasterizer *rast,
transfer->stride,
x, y,
w, h);
+
+ LP_COUNT(nr_color_tile_load);
}
}
@@ -546,6 +551,8 @@ static void lp_rast_store_color( struct lp_rasterizer *rast,
transfer->stride,
x, y,
w, h);
+
+ LP_COUNT(nr_color_tile_store);
}
}