Jump to content
  • Advertisement
Sign in to follow this  
neeker

HLSL discard and PIX

This topic is 1374 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,

 

Just a general question.  In my PS 2.0 shader I was using discard on certain pixels and noticed a bunch of other pixels being discarded as well.  When I used PIX to try to determine what was happening, it didn't show the shader being ran for these pixels.  I know the problem was in the shader (because I've fixed the problem), but I'm wondering if this is normal behavior for PIX (or a bug)?

Share this post


Link to post
Share on other sites
Advertisement

Pix uses an emulator for shaders.

 

I have had many cases where code works perfectly in pix, and fails on the real hardware.

 

I've also had cases of parts of the render loop going "missing" from pix.

 

Pix is a great tool, but you cannot rely on it, and it's pretty much dead as Microshaft have moved on and left it behind.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!