• Stefan Dösinger's avatar
    wined3d: Add the ability to duplicate GL pixel shaders. · 0bf32b12
    Stefan Dösinger authored
    Some stateblock parameters have to be compiled into the GL pixel
    shader code, like lines for pixelformat fixups. This leads to problems
    when applications switch those settings, requiring a recompilation of
    the shader. This patch enables wined3d to have multiple GL shaders for
    a D3D shader(pixel shaders only so far) to handle this more
    efficiently.
    0bf32b12
baseshader.c 44.7 KB