Jump to content
  • Advertisement
Sign in to follow this  
miloszmaki

[DX9] Software and Hardware Vertex Processing

This topic is 2850 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi!
What's the difference between D3DCREATE_SOFTWARE_VERTEXPROCESSING and D3DCREATE_HARDWARE_VERTEXPROCESSING (while calling CreateDevice())? Does hardware vertex processing have impact only on fixed pipeline, or does it make also vertex shader execute on CPU? I thought that when I'm using vertex shader (in .fx effect file), it is executed always on GPU. I also noticed better performance while drawing complicated geometry with D3DCREATE_HARDWARE_VERTEXPROCESSING. All of directx tutorials I've read instruct to use D3DCREATE_SOFTWARE_VERTEXPROCESSING. I'm confused a bit.
Thanks for help.

[Edited by - miloszmaki on December 26, 2010 4:30:31 PM]

Share this post


Link to post
Share on other sites
Advertisement
With software vertex precessing, the vertex function runs on cpu (I do not know in how wide manner though) while you use just resterizer of the GPU- pixel function.

Share this post


Link to post
Share on other sites
Does the vertex function run on cpu even when I use effects (.fx) ?
So it's better to use hardware vertex processing, especially with today's graphics cards, isn't it?

[Edited by - miloszmaki on December 27, 2010 5:19:20 AM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!