summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2008-11-16 17:59:46 +0100
committerJerome Glisse <[email protected]>2008-11-16 17:59:46 +0100
commit9770bb32f50659ef749751780e00d8c88e16126c (patch)
tree93553e247c8c5c359d74bdf631e968fc4cfbee39 /src
parentf1d98e51275eaa440e1c6b9c61e5e014faaad45a (diff)
radeon: cs add print cs callback
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_cs_legacy.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c b/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
index 6bc41bca3bf..20956ff5c7b 100644
--- a/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
+++ b/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
@@ -385,6 +385,10 @@ static int cs_need_flush(struct radeon_cs *cs)
return (cs->relocs_total_size > (7*1024*1024));
}
+static void cs_print(struct radeon_cs *cs, FILE *file)
+{
+}
+
static struct radeon_cs_funcs radeon_cs_legacy_funcs = {
cs_create,
cs_write_dword,
@@ -394,7 +398,8 @@ static struct radeon_cs_funcs radeon_cs_legacy_funcs = {
cs_emit,
cs_destroy,
cs_erase,
- cs_need_flush
+ cs_need_flush,
+ cs_print
};
struct radeon_cs_manager *radeon_cs_manager_legacy_ctor(struct radeon_context *ctx)