[Mesa-dev] RFC: 0001-r600g-R700-can-do-more-than-8-tex-and-vtx-clauses.patch

Henri Verbeet hverbeet at gmail.com
Wed Mar 9 03:11:57 PST 2011

On 9 March 2011 07:00, Ferry Huberts <mailings at hupie.com> wrote:
> I've been wondering about this for a while: is there a structure in
> which information is stored that is tied to the card with which the code
> is dealing, and if not, isn't it a good idea to introduce one?
> This patch triggered this again for me because it seems that such a
> structure would be benefical both for performance and for code readability.
I think that makes sense, it should probably go into a structure in
something like struct radeon. I think there may be a couple of other
similar limits. The performance impact is likely to be somewhat
limited though. We want shader translation to be fast if possible, but
it's not something that should be happening a lot compared to draws
and state updates.

More information about the mesa-dev mailing list