diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-08 20:44:32 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-08 20:44:32 -0600 |
commit | d48a92e88040470f93e2186f8eb23e4797a09860 (patch) | |
tree | 7fbfd01dc04b42e42b4457eae507693ef8dc5f3b /progs/redbook/hello.c | |
parent | a4e477433f485a39b5de448d0a9cb6f4bf9bb90f (diff) |
cell: implement function calls from shader code. fslight demo runs now.
Used for SIN, COS, EXP2, LOG2, POW instructions. TEX next.
Fixed some bugs in MIN, MAX, DP3, DP4, DPH instructions.
In rtasm code:
Special-case spe_lqd(), spe_stqd() functions so they take byte offsets but
low-order 4 bits are shifted out. This makes things consistant with SPU
assembly language conventions.
Added spe_get_registers_used() function.
Diffstat (limited to 'progs/redbook/hello.c')
0 files changed, 0 insertions, 0 deletions