Mercurial > hg > Members > kono > Cerium
comparison Renderer/Engine/task/DataAllocate.cc @ 992:1b018a00cd17
task/DataAllocate.cc is changed for fifo64.
author | tkaito |
---|---|
date | Mon, 11 Oct 2010 19:42:28 +0900 |
parents | 0b6f8c82625a |
children |
comparison
equal
deleted
inserted
replaced
990:30f2e77ecb36 | 992:1b018a00cd17 |
---|---|
8 | 8 |
9 static int | 9 static int |
10 run(SchedTask *s, void *rbuf, void *wbuf) | 10 run(SchedTask *s, void *rbuf, void *wbuf) |
11 { | 11 { |
12 | 12 |
13 int count = (int)s->get_param(0); | 13 int count = (long)s->get_param(0); |
14 for(int i=0;i<count;i++) { | 14 for(int i=0;i<count;i++) { |
15 void *idata = s->get_input(rbuf, i); | 15 void *idata = s->get_input(rbuf, i); |
16 long size = (long)s->get_param(i*2+1); | 16 long size = (long)s->get_param(i*2+1); |
17 long load_id = (long)s->get_param(i*2+2); | 17 long load_id = (long)s->get_param(i*2+2); |
18 | 18 |