• Stefan Dösinger's avatar
    wined3d: sincos for vertex shaders. · 64926223
    Stefan Dösinger authored
    SCS is unfortunately a fragment program only instruction. If we have the NV
    extensions we can use SIN and COS. Otherwise we have to approximate sine and
    cosine with a taylor series. Luckily we're provided with the necessary
    constants by the application.
    64926223
arb_program_shader.c 188 KB