• Stefan Dösinger's avatar
    wined3d: Kill the GL_ATI_envmap_bumpmap code. · 620a423b
    Stefan Dösinger authored
    GL_ATI_envmap_bumpmap provides two things: Signed V8U8 pixel formats,
    and bump mapping. The extension is only supported on fglrx, and this
    driver also supports GL_ARB_fragment_program.  Thus the bump mapping
    code is never used on any driver out there.  Furthermore, if it is
    used, it tends to crash the driver
    
    The signed pixel format is used, as it can be used by pixel shaders or
    the ARBfp replacement. However, the format is broken in fglrx, and
    negative values are clamped to 0.0. This results in test
    failures. WineD3D has an alternative codepath using scale+bias to
    enable V8U8 using a standard signed RGB which works correctly on
    fglrx.
    620a423b
directx.c 205 KB