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

Marek Olšák maraeo at gmail.com
Wed Aug 11 08:58:10 PDT 2010

On Wed, Aug 11, 2010 at 5:41 PM, Luca Barbieri <luca at luca-barbieri.com>wrote:

> > 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.

I am not sure if the following is legal, but I think we will just mask this
unnormalized flag out in resource_create, because r300 doesn't like (read:
doesn't support in hardware) unnormalized texture coordinates, and switching
shaders just because of the flag is silly.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100811/b24fe16e/attachment.htm>

More information about the mesa-dev mailing list