[Mesa-dev] [PATCH 1/3] st/mesa: do vertex and fragment color clamping in shaders
Brian Paul
brian.e.paul at gmail.com
Mon Jan 23 05:27:56 PST 2012
On Mon, Jan 23, 2012 at 7:32 AM, Marek Olšák <maraeo at gmail.com> wrote:
> For ARB_color_buffer_float. Most hardware can't do it and st/mesa is
> the perfect place for a fallback.
> The exceptions are:
> - r500 (vertex clamp only)
> - nv50 (both)
> - nvc0 (both)
> - softpipe (both)
>
> We also have to take into account that r300 can do CLAMPED vertex colors only,
> while r600 can do UNCLAMPED vertex colors only. The difference can be expressed
> with the two new CAPs.
The series looks good. Please also update the gallium docs with the
new caps. In the 3rd patch there's a typo "remaning".
-Brian
More information about the mesa-dev
mailing list