• Stefan Dösinger's avatar
    wined3d: Deal with reserved shader constants in the backend. · 754b5cf2
    Stefan Dösinger authored
    This moves the GLSL and ARB specific reserved constants out of directx.c into
    the get_caps methods of the shader backends. That way the number of reserved
    constants remains in the backend.
    
    GL_LIMITS({v/p}shader_constantsF) now contains the real number of constants as
    advertised by GL instead of some mixture of GL info and backend implementation
    specifics. This makes it easier for backends to decide how many constants to
    use.
    754b5cf2
device.c 324 KB