summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-09-15 11:31:55 -0600
committerBrian Paul <brianp@vmware.com>2011-09-15 11:31:55 -0600
commita7109a31999f78a1184346f423a8df15be18d570 (patch)
treecc571c922a2c97753fdb6a0d20cdbdc4a07af23d /.gitattributes
parentba6f1f2c29c148e33acc9d2b411c19c7c9a9d04f (diff)
downloadexternal_mesa3d-a7109a31999f78a1184346f423a8df15be18d570.zip
external_mesa3d-a7109a31999f78a1184346f423a8df15be18d570.tar.gz
external_mesa3d-a7109a31999f78a1184346f423a8df15be18d570.tar.bz2
softpipe: fix blending for luminance/intensity surfaces
If we're drawing to a luminance, luminance/alpha or intensity surface we have to adjust (rebase) the fragment/quad colors before writing them to the tile cache. The tile cache always stores RGBA colors but if we're caching a L/A surface (for example) we need to be sure that R=G=B so that subsequent reads from the surface cache appear to return L/A We previously had a special case for RGB (no alpha) surfaces. This change generalizes that for the other base formats. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=40408, but sRGB formats are still failing. That'll be addressed in a later patch.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions