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. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev