summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-02-18 15:12:16 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-02-18 15:12:16 +0000
commit7c12e1aa53ba457d29edf4c07d834c70d51f0bbd (patch)
treef57a5123a1017d22d9b4cc2b6819098bae8a2baa /src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c
parent46728037a0ef3b78d6d1c9843f3bc0eeaa6df11a (diff)
pipebuffer: Dump debugging info for fenced buffer list.
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c
index 633ee70a75..8d67efab6c 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c
+++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c
@@ -79,6 +79,10 @@ fenced_bufmgr_create_buffer(struct pb_manager *mgr,
buf = fenced_mgr->provider->create_buffer(fenced_mgr->provider, size, desc);
if(!buf) {
+#if 0
+ fenced_buffer_list_dump(fenced_mgr->fenced_list);
+#endif
+
/* give up */
return NULL;
}