[Mesa-dev] [RFC] [PATCH 0/4] New coordinate normalization patches with bind flags

Luca Barbieri luca at luca-barbieri.com
Tue Aug 17 08:48:32 PDT 2010

> Well I don't like drivers changing the hints flag on their own,
> overwriting what the state tracker set. Hence the suggestion to just
> always use normalized coords unless the driver can't handle it (which
> can be a usual global query).

In my second patchset, those flags are owned by the driver, and the
state tracker must pass them as 0 (instead, the state tracker uses
bind flags, which are distinct, to express its requirement).
This is an improvement over the first one, where indeed the driver
overrode the state tracker in a weird way.
Why don't you like this?

>> llvmpipe would probably prefer unnormalized coords at least in some
>> cases since it saves a multiplication.
> This is possible but I don't think we'd care enough.
I agree, but it's trivial to support this once you support both normalizations.

More information about the mesa-dev mailing list