D3D9 Demos useful for testing Gallium state tracker
wine/dlls/d3d9/tests
wine/dlls/d3dcompiler_43/tests
wine/dlls/d3dx9_36/tests
http://www.gamedev.net/topic/620640-direct3d9-test-application-maybe-it-will-help-someone/
CodeSampler demos
http://www.dhpoware.com/demos/d3d9HLSLPixelLighting.html
(HLSL shaders "piglit")