Am Sonntag, 16. März 2008 15:32:51 schrieb Ivan Gyurdiev:
I would suggest an automated test across [ vs: 1.0, 1.1, 2.0, 2.1, 3.0 ] , [ ps: 1.0, 1.1, 1.2, 1.3, 1.4, 2.0, 2.1, 3.0 ] , NULL, and an invalid token. You can see some binary shaders in the d3d9 tests.
You can't really iterate over the shader versions as various shader versions use different bytecode tokens. Of course you could try to pass an invalid shader with a valid version token, but for a basic functionality test it should be a valid shader IMHO