• Stefan Dösinger's avatar
    wined3d: Add extension information to the states. · 35f33ef4
    Stefan Dösinger authored
    This patch adds a new field to the state templates. If this extension
    field is != 0, then the line is only applied to the final state table
    if the extension is supported. Once a line is applied to the final
    table, all further templates for this state from the same pipeline
    part are ignored. This allows removing some extension checks from the
    state handlers, which cleans them up and saves a few CPU cycles when
    applying the states.
    35f33ef4
wined3d_private.h 95.2 KB