[Mesa-dev] [RFC] [PATCH 0/3] Make Gallium aware of GL_TEXTURE_RECTANGLE

Luca Barbieri luca at luca-barbieri.com
Wed Aug 11 08:41:03 PDT 2010

> I'm completely okay with this iteration of this patchset, since it
> requires no Gallium API changes and seems very straightforward. I do
> have a question, though, since I'm so unfamiliar with nvfx. In r300g
> there is a fragment program rewrite to normalize texcoords
> unconditionally for r300 and conditionally for r500. This is also how
> we fake our NPOT support. Is this kind of rewriting truly impossible
> for nvfx, or just time-consuming?

It's possible (but time-consuming and likely with significant overhead).
But even then it would be somewhat silly to make things like blitter
go through it.

More information about the mesa-dev mailing list