[Mesa-dev] [PATCH 1/3] st/mesa: do vertex and fragment color clamping in shaders

Tilman Sauerbeck tilman at code-monkey.de
Sun Feb 12 02:31:25 PST 2012

Marek Olšák [2012-01-23 13:32]:
> For ARB_color_buffer_float. Most hardware can't do it and st/mesa is
> the perfect place for a fallback.

This breaks lighting in Heroes of Newerth on my rv730:
  http://files.code-monkey.de/frag_color_clamp_bad.png (after patch)
  http://files.code-monkey.de/frag_color_clamp_good.png (before patch)
I can provide a trace file that shows the problem (3.5GB, so will take
a while to upload).

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

More information about the mesa-dev mailing list