ajmiles:It's possible this only became supported in a
more recent shader model level, perhaps 3.0? Have you tried compiling
the relevant shader as vs/ps 3.0?
No worries, it's being compiled under 3.0.
Byron Nelson:XNA uses an old fx compiler and that command may not be supported in it. If that is the case, you'll have to compile the effect with FXC from the latest SKD and load it through the effect constructor.
Best,
Byron
It would have been handy but I just re-wrote the loop with an exit flag instead.
Thanks, guys.