[Mesa-dev] [RFC] [PATCH 0/3] Coordinate normalization, third attempt

Luca Barbieri luca at luca-barbieri.com
Tue Aug 17 13:16:08 PDT 2010

> Using a flag instead of a new texture target allows to avoid hundreds of
> changes to existing code, and allows drivers for modern hardware to
> just ignore this flag.
I grepped a bit through the code, and a new texture target seems
easier than expected: apparently there are only about 36 checks for
PIPE_TEXTURE_2D (grepping for

It's still going to be more intrusive than a flag that almost
everything just ignores (and with much greater risk of introducing
bugs), but it could perhaps be an option, if the consensus is to add a
new target.

More information about the mesa-dev mailing list