- Jun 01, 2009
-
-
-
-
-
-
-
Enabling the NV extensions occupies a temp register for some reason. Avoid needlessly enabling it.
-
Otherwise the Nvidia assembler needs one temp reg.
-
This reverts patch ba35760f. The original patch did not achive its goal, because CMP is a macro that is expanded to SLT, SGE, MUL, MAD, at least on nvidia hardware. To make matters worse, it uses a temporary register, and the assembler usually is not clever enough to find a free temporary from the shader code. If we generate the code outselves we can pick one of our temps for this job.
-
This removes another reason to declare TA, TB and TC.
-
Alexandre Julliard authored
-
- May 30, 2009
-
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
- May 29, 2009
-
-
-
-
-
-
-
-
-
comctl32/listview: Don't offset subitem rectangles with item padding returned by LVM_GETSUBITEMRECT.
-
-
-
-
Alexandre Julliard authored
-
Alexandre Julliard 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.
-
-
-
-
-
-
-
This is consistent with removing them from resource_cleanup().
-
-
-
-
-
-
-