[Mesa-dev] Gallium API questions

Brian Paul brian.e.paul at gmail.com
Wed Jun 23 19:25:04 PDT 2010


On Wed, Jun 23, 2010 at 7:27 PM, Corbin Simpson
<mostawesomedude at gmail.com> wrote:

> Very cool. I like the new information, although a couple pieces of
> information vanished.
>
> We currently allow partial specification of position, requiring only
> (x, y) and filling in z as 0 and w as 1 if missing. Is that still
> valid? Similarly, colors may be specified as (r, g, b) triplets with
> no alpha, and alpha defaults to 1. Is that still valid, or are there
> changes further up the API that make this not needed?

I removed the info because I thought it was kind of obvious, but in
any case, it should probably go elsewhere.  Position, colors,
texcoords and generic attributes all behave that way.  We should
probably document this somewhere for vertex shaders in general.  Or,
document it with the vertex array / format information.

-Brian


More information about the mesa-dev mailing list