Hi, a recent commit seems to have broken the fog of war shading in Heroes of Newerth (with my Radeon HD 6850 at least). You can still see the players pop in and out of the fog, but the entire map is shaded darker where there is no longer any light/dark distinction between the parts of the map that are visible and the parts that aren't.
I've bisected the issue and found the first bad commit to be:
bc1c8369384b5e16547c5bf9728aa78f8dfd66cc st/mesa: do vertex and fragment color clamping in shaders
I've confirmed that building Mesa with the previous commit (c2e2b58a58880c9b9f189fc154205e99144e9502) does fix the problem.
If you need to test it, the game is a free download from www.heroesofnewerth.com
can confirm this problem with my 5770, thanks for bisecting
I've also found that removing PIPE_CAP_VERTEX_COLOR_UNCLAMPED as a supported feature for r600 does fix this bug (src/gallium/drivers/r600/r600_pipe.c:369). Is the statement in the commit message that r600 can do unclamped vertex colors perhaps false?
I can confirm this too.
I also noticed around the same time (I assume the same commit) that Mass Effect 2 has serious rendering issues with some textures through wine.
I confirm that the bug happens on HD6870 too.
And as Damien Grassart says, I also confirm that removing PIPE_CAP_VERTEX_COLOR_UNCLAMPED from r600_pipe.c fixes the problem.
Fixed for me on master.
Thanks, it's also working for me as well now so changing status to resolved.