[Mesa-dev] st/mesa clear color translaton

Christoph Bumiller e0425955 at student.tuwien.ac.at
Mon Sep 12 04:53:59 PDT 2011


On 12.09.2011 13:09, Dave Airlie wrote:
> At line 585 in st_cb_clear.c
>
> http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/state_tracker/st_cb_clear.c#n585
>
> we translate the clear color, but never use the result, maybe someone
> knows what should have happened here.

The intention probably was to use these translated colours ...

Only it's a no-op unless the render target is L, LA or Intensity which
no one likes to render to anyway, hence it wasn't noticed.

This assumes the clear colour for L/LA/I targets is specified to the
gallium interface in terms of the resulting RGBA values.

> Dave.
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list