Mercurial > hg > Members > kono > Cerium
diff TaskManager/Test/test_render/spe/DrawSpan.cpp @ 314:2ddf79a7c5fb
debugging
author | root@localhost.localdomain |
---|---|
date | Tue, 09 Jun 2009 01:22:11 +0900 |
parents | 3e9c0039e15c |
children | 7efc5ede2c03 |
line wrap: on
line diff
--- a/TaskManager/Test/test_render/spe/DrawSpan.cpp Tue Jun 09 00:10:36 2009 +0900 +++ b/TaskManager/Test/test_render/spe/DrawSpan.cpp Tue Jun 09 01:22:11 2009 +0900 @@ -1,3 +1,6 @@ +#define DEBUG +#include "error.h" + #include <stdlib.h> #include <string.h> #include <spu_intrinsics.h> @@ -557,6 +560,7 @@ int DrawSpan::run(void *rbuf, void *wbuf) { + __debug_spe("DrawSpan\n"); SpanPackPtr spack = (SpanPackPtr)smanager->get_input(0); SpanPackPtr next_spack = (SpanPackPtr)smanager->allocate(sizeof(SpanPack)); SpanPackPtr free_spack = next_spack; // next_spack の free() 用