| View previous topic :: View next topic |
| Author |
Message |
subbie
Joined: 05 May 2005 Posts: 122
|
Posted: Thu May 11, 2006 1:03 am Post subject: gum_vfpu questions!! |
|
|
Hey guys. I have some questions.
How do I switch my code from using GUM to GUM_VFPU. I tried a few things but it feels like it is not working (the reason I know is because if I do the matricies by hand & transform my verts, its faster then using GUM).
So can someone please tell me how to setup so I can use VFPU version of GUM? |
|
| Back to top |
|
 |
chp
Joined: 23 Jun 2004 Posts: 313
|
Posted: Thu May 11, 2006 1:11 am Post subject: |
|
|
First, change the library linking from:
-lpspgum
to:
-lpspvfpu -lpspgum_vfpu
And then change:
PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER)
to:
PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER|THREAD_ATTR_VFPU)
in your own code. That should be it. _________________ GE Dominator |
|
| Back to top |
|
 |
subbie
Joined: 05 May 2005 Posts: 122
|
Posted: Thu May 11, 2006 1:56 am Post subject: |
|
|
| chp wrote: | First, change the library linking from:
-lpspgum
to:
-lpspvfpu -lpspgum_vfpu
And then change:
PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER)
to:
PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER|THREAD_ATTR_VFPU)
in your own code. That should be it. |
--edit--
Errr, Not sure if this makes a difference
"-lpspvfpu -lpspgum_vfpu" <- linking errors
"-lpspgum_vfpu -lpspvfpu" <- Compiles ok |
|
| Back to top |
|
 |
subbie
Joined: 05 May 2005 Posts: 122
|
Posted: Thu May 11, 2006 2:18 am Post subject: |
|
|
| Sorry just 1 more note. I now notice the difference but its not a huge improvement. :( |
|
| Back to top |
|
 |
|