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

Luca Barbieri luca at luca-barbieri.com
Wed Aug 11 09:27:38 PDT 2010


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

Hmm I thought it support GL_TEXTURE_RECTANGLE natively.

This is making me think that my patchset is wrong in having
blitter/blit set the flag themselves on NPOT textures.

It might even be a good idea to split it in two flags, one for state
tracker->driver communication, and another for the driver->state
tracker.
This way, r300g won't have to do anything.

Not sure on how to call the flags though, since the current name is
already too long.


More information about the mesa-dev mailing list