gum_vfpu questions!!

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
subbie
Posts: 122
Joined: Thu May 05, 2005 4:14 am

gum_vfpu questions!!

Post by subbie »

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?
chp
Posts: 313
Joined: Wed Jun 23, 2004 7:16 am

Post by chp »

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
subbie
Posts: 122
Joined: Thu May 05, 2005 4:14 am

Post by subbie »

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
subbie
Posts: 122
Joined: Thu May 05, 2005 4:14 am

Post by subbie »

Sorry just 1 more note. I now notice the difference but its not a huge improvement. :(
Post Reply