d3d: unhandled texture formats

Ivan Gyurdiev ivg2 at cornell.edu
Tue Apr 4 05:48:36 CDT 2006


The F.E.A.R and BF2 demos crash immediately after complaining about:
fixme:d3d:D3DFmtGetBpp Unhandled fmt(36,WINED3DFMT_A16B16G16R16)
fixme:d3d:debug_d3dformat Unrecognized 81 D3DFORMAT!

I have some native dlls installed, d3dx9_*.dll, mscoree.dll... that have 
no wine implementation.

According to msdn:
D3DFMT_A16B16G16R16   36   64-bit pixel format using 16 bits for each 
component.
D3DFMT_L16                      81  16-bit luminance only.
The second one is missing from wined3d_private.h
Both are missing from D3DFmtGetBpp.

Also note that there's default handling in D3DFmtGetBpp that says:
    /* Guess at the highest value of the above */
and selects 4 bytes per pixel, but the highest value of the above is 8 -
and it's used by D3DFMT_A16B16G16R16 - maybe that's why it crashes.




More information about the wine-devel mailing list