• Stefan Dösinger's avatar
    wined3d: Create clip coords only if they are used. · 0e77a381
    Stefan Dösinger authored
    If GL vertex shader clipping is supported (GLSL or NVvp), we currently
    always calculate clipping results in the shader. They're gracefully
    discarded by opengl, but we need 6 constants / uniforms to calculate
    unused values.
    0e77a381
glsl_shader.c 194 KB