Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Test/test_render/spe/DrawSpan.cpp @ 321:f64d75473f95
merge 317
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 10 Jun 2009 15:23:25 +0900 |
parents | 7efc5ede2c03 |
children | 4be5ae77e02c |
comparison
equal
deleted
inserted
replaced
320:776c125af0b2 | 321:f64d75473f95 |
---|---|
1 #define DEBUG | |
2 #include "error.h" | |
3 | |
1 #include <stdlib.h> | 4 #include <stdlib.h> |
2 #include <string.h> | 5 #include <string.h> |
3 #include <spu_intrinsics.h> | 6 #include <spu_intrinsics.h> |
4 #include "DrawSpan.h" | 7 #include "DrawSpan.h" |
5 #include "polygon_pack.h" | 8 #include "polygon_pack.h" |
555 } | 558 } |
556 | 559 |
557 int | 560 int |
558 DrawSpan::run(void *rbuf, void *wbuf) | 561 DrawSpan::run(void *rbuf, void *wbuf) |
559 { | 562 { |
563 __debug_spe("DrawSpan\n"); | |
560 SpanPackPtr spack = (SpanPackPtr)smanager->get_input(0); | 564 SpanPackPtr spack = (SpanPackPtr)smanager->get_input(0); |
561 SpanPackPtr next_spack = (SpanPackPtr)smanager->allocate(sizeof(SpanPack)); | 565 SpanPackPtr next_spack = (SpanPackPtr)smanager->allocate(sizeof(SpanPack)); |
562 SpanPackPtr free_spack = next_spack; // next_spack の free() 用 | 566 SpanPackPtr free_spack = next_spack; // next_spack の free() 用 |
563 Span *span; | 567 Span *span; |
564 | 568 |