forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

gum_vfpu questions!!

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
subbie



Joined: 05 May 2005
Posts: 122

PostPosted: Thu May 11, 2006 1:03 am    Post subject: gum_vfpu questions!! Reply with quote

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
View user's profile Send private message
chp



Joined: 23 Jun 2004
Posts: 313

PostPosted: Thu May 11, 2006 1:11 am    Post subject: Reply with quote

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
View user's profile Send private message
subbie



Joined: 05 May 2005
Posts: 122

PostPosted: Thu May 11, 2006 1:56 am    Post subject: Reply with quote

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
View user's profile Send private message
subbie



Joined: 05 May 2005
Posts: 122

PostPosted: Thu May 11, 2006 2:18 am    Post subject: Reply with quote

Sorry just 1 more note. I now notice the difference but its not a huge improvement. :(
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group