view Renderer/Engine/spe/DataLoad.cc @ 762:10a8a80c2ea7

add lights
author yutaka@henri.cr.ie.u-ryukyu.ac.jp
date Sat, 06 Feb 2010 03:02:48 +0900
parents 2eafb52b7563
children 4455e7b0caf3
line wrap: on
line source

#include <stdio.h>
#include <string.h>
#include "DataLoad.h"
#include "Func.h"

/* これは必須 */
SchedDefineTask(DataLoad);

static int
run(SchedTask *s, void *rbuf, void *wbuf)
{

  int size = (int)s->get_param(0);
  int load_id = (int)s->get_param(1);

  //printf("size %d\n",size);

  s->global_alloc(load_id, size);

  //MemList *ml = s->createMemList(length,length);
  //s->global_set(load_id, (void *)ml);

  return 0;
}