• Stefan Dösinger's avatar
    wined3d: Avoid the TMP_COLOR mov in some cases. · d8e219be
    Stefan Dösinger authored
    Many 2.0 and 3.0 shaders end with a "mov oC0, rx". If sRGB writing is enabled,
    the ARB backend writes to a TMP_COLOR temporary, and at the end of the shader
    writes the sRGB corrected color to result.color. If oC0 is not partially
    rewritten after the mov, we can ignore the mov, not declare TMP_COLOR at all,
    and just use the rx register as input for the sRGB correction code. This saves
    a temporary and an instruction.
    d8e219be
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...