[Mesa-dev] [PATCH 0/4] Gen4-5: Do MRT alpha test in shader.

Chris Forbes chrisf at ijw.co.nz
Sun Oct 27 09:38:46 CET 2013


In Gen4/5 the render target writes lack an extra parameter for "RT0 alpha",
which should be compared to the alpha test value. Instead, each render target
is alpha tested independently, which is not what we want for GL.

This series moves the alpha test into the fragment shader for these gens if
multiple color buffers are bound.

Fixes missing heroes, trees, etc in Dota2.



More information about the mesa-dev mailing list