> 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
([!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D)).

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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to