diff TaskManager/Test/simple_render/spe/Load_Texture.cpp @ 102:62679f4cae18

tag:first_render_with_spe fix
author gongo
date Mon, 03 Mar 2008 17:15:28 +0900
parents 9f8b53beef7e
children 5c194c71eca8
line wrap: on
line diff
--- a/TaskManager/Test/simple_render/spe/Load_Texture.cpp	Mon Mar 03 14:06:33 2008 +0900
+++ b/TaskManager/Test/simple_render/spe/Load_Texture.cpp	Mon Mar 03 17:15:28 2008 +0900
@@ -21,8 +21,8 @@
 {
 	//int rgb;
      __debug("[LoadTexture:%s]\n", __FUNCTION__);
-    printf("%x\n",(int)rbuf);
-    printf("run\n");
+    __debug("%x\n",(int)rbuf);
+    __debug("run\n");
 
     return 0;
 }
@@ -42,9 +42,9 @@
 	          task->in_addr + MAX_LOAD_SIZE, MAX_LOAD_SIZE,DMA_READ + 1);
     connector->dma_load((void*)((int)readbuf + MAX_LOAD_SIZE*2) ,
           task->in_addr + MAX_LOAD_SIZE * 2,MAX_LOAD_SIZE,DMA_READ + 2);
-    printf("readbuf: %x\n", (uint32)readbuf);
-    printf("readbuf2:%x\n", (int)readbuf + MAX_LOAD_SIZE);
-    printf("readbuf3:%x\n", (int)readbuf + MAX_LOAD_SIZE*2);
+    __debug("readbuf: %x\n", (uint32)readbuf);
+    __debug("readbuf2:%x\n", (int)readbuf + MAX_LOAD_SIZE);
+    __debug("readbuf3:%x\n", (int)readbuf + MAX_LOAD_SIZE*2);
 #else 
 	mfc_list_element buf[USE_ARRAY];
 	for(int i = 0; i < USE_ARRAY; i++) {
@@ -53,9 +53,9 @@
 		buf[i].size = MAX_LOAD_SIZE;
 		buf[i].eal = task->in_addr + i*MAX_LOAD_SIZE;
 	}
-	printf("set_load_info\n");
+	__debug("set_load_info\n");
 	connector->dma_load(readbuf, (unsigned int)buf, MAX_LOAD_SIZE, DMA_READ);
-	printf("dma_load_finish\n");
+	__debug("dma_load_finish\n");
 
 #endif
 }