Jump to content
  • Advertisement
Sign in to follow this  
DrGUI

Effect Validation with SW-VP

This topic is 4939 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! I believe that using the FindNextValidTechnique function defines validation as running in hardware. If a gfx card does not support vertex shaders in hardware and you have a device created with mixed vertex processing, how would you get a technique using a vertex shader to validate? I wouldn't expect validation there because you have to explicitly set software vp with mixed vertex processing behavior. I have recently brought a 'new' graphics card (NV GeForce FX 5200) so I'm afraid I can't test this. The same for a device with software vp? Thanks a lot!

Share this post


Link to post
Share on other sites
Advertisement
If you set software VP mode on a mixed device, then FindNextValidTechnique() will successfully validate a vertex shader technique on a card that doesn't do vertex shaders in hardware.

I'm using it in my current engine for cards like the GeForce 4MX or GeForce 2.

Share this post


Link to post
Share on other sites
Thanks!

So the validation depends on whether sw vp is enabled when FindNextValidTechnique is called?

Share this post


Link to post
Share on other sites
Yes.

It's my understanding that all of the validate calls work based on the current state settings. FindNextValidTechnique() just goes through the techniques and sets up the state and calls the necessary validate functions.

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!