Jump to content
  • Advertisement
Sign in to follow this  
Quat

flow control

This topic is 4832 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, Is it correct that ps_2_0 does not gaurentee static or dynamic flow control (but some cards might support it). But vs_2_0 does gaurentee static flow control? For the above, I'm talking about normal targets not the 2.0-extended targets. I notice that flow control is said to be supported in the extended ps_2_x version, but I am getting an error that ps_2_x is not a valid compile target even though I have a geforce 6800 gt (guess they skipped ps_2_x and went straight to 3_0?).

Share this post


Link to post
Share on other sites
Advertisement
Yeah, technically 2.x isn't a version. 2.a was done on FX cards (if I recall correctly..) and 2.b is on X000 cards, and you have to specify the compile targets as ps_2_a or b.

Anyways, I'm not sure about the flow control, but I konw HLSL has some way of simulating it from a result perspective (not necessarily performance though).

Share this post


Link to post
Share on other sites
Quote:

When you say ps_2_x do you mean ps_2_a and ps_2_b ?


No, but that is a start then :)

I didn't know 2_a, 2_b existed, the doc parts I read always used 2_x so that's what I thought it was.

Share this post


Link to post
Share on other sites
ps2.0 doesn't have any flow control instructions (apart from texkill).
ps2.x does.

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!