• Stefan Dösinger's avatar
    wined3d: Support the full amount of constants in GLSL. · 7ab6c22f
    Stefan Dösinger authored
    This patch advertises all GL reported float uniforms to the D3D app to
    reach the 256 constants required by Shader Model 3.0 on dx9 cards. If
    the shader does not use indirect addressing, all 256 constants are
    declared. The compiler can then figure out which constants are
    actually used. This makes shaders work that use high constant indices,
    but don't use all 256 constants.
    7ab6c22f
glsl_shader.c 177 KB