d3dx9_36: Implements D3DXGetShaderVersion
"Luis C. Busquets Pérez"
luis.busquets at ilidium.com
Fri Mar 14 19:01:33 CDT 2008
This functions gets the Version Token of a binary shader. This Token is
the first of the binary stream so it is as easy as picling the pointed
DWORD. This is all public information available to the public.
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.
dlls/d3dx9_36/Makefile.in | 3 ++-
dlls/d3dx9_36/d3dx9_36.spec | 2 +-
dlls/d3dx9_36/shader.c | 41
3 files changed, 44 insertions(+), 2 deletions(-)
create mode 100644 dlls/d3dx9_36/shader.c
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2241 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080315/eb7d0aa1/attachment-0001.bin
More information about the wine-patches