Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I and our other devs have ATi graphics cards. However we have encountered that some shaders that compile without warnings on ATi don't compile at all on nVidia. The problems are trivial to fix, but often go unseen.

My question is, how can I make sure that my shaders will compile everywhere?

share|improve this question
    
I'm not sure but nvidia provides a shader compiler application, maybe it can help. –  Ali.S Jun 24 '11 at 12:41

1 Answer 1

Have a bunch of different systems for testing, I can't imagine a way of getting around that.

Optimally you should have a card from every graphics generation.

  • GeForce 7000 series
  • GeForce 8000 series / 9000 series / 250
  • GeForce 260 / 275 / 280 / 285 / 295
  • GeForce 400 series / 500 series
  • Radeon X1000 series
  • Radeon HD 2000 series
  • Radeon HD 3000 series
  • Radeon HD 4000 series
  • Radeon HD 5000 series / HD 6000 series
  • Intel GMA X series
  • Intel HD series

If you want a really thorough testing you can multiboot all these machines with a bunch of different operating system and driver configurations, but for a more manageable number of tests you can do multiple operating systems and drivers on just one machine each.

Apart from all this, why don't you diversify your dev machines? Maybe you'll also discover more subtle bugs earlier.

Even if you can find a way of testing this exact subtlety there is no way you'll be able to test all the things you should without getting at least one nVidia card.

share|improve this answer
    
One possible reason for not diversifying dev machines? Only one dev, remember, not everyone is part of an AAA dev-team ;p –  Kevin van der Velden Jun 24 '11 at 16:22
    
@Yourdoom That is a fairly reasonable reason, doesn't seem to be a problem for OP though. –  eBusiness Jun 24 '11 at 16:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.