d3dx9_36: Implements D3DXGetShaderVersion

Stefan Dösinger stefan at codeweavers.com
Sun Mar 16 10:11:51 CDT 2008

Am Samstag, 15. März 2008 01:01:33 schrieb Luis C. Busquets Pérez:
> To implement a test would be far more complicated as it would mean to
> include a binary shader. Anyway, I have tested the results with Civ4 (by
> making a derivation on d3dx9_32 with this function and using the
> original d3dx9_36.D3DXGetShaderVersion function) and the results where
> the same for all the shaders that where present.
You can grab a few binary shaders from dlls/d3d9/tests/visual.c I guess a few 
DWORDs would be enough. You can use the D3D9 sdk compiler to generate a few 

wine vsa.exe shader.txt /Fh shader.h

Then shader.h contains a DWORD[] array with the shader bytecode

More information about the wine-devel mailing list