On 03/09/2011 01:20 AM, Christian K�nig wrote: > Hi, > > before I create another regression with my patches, could you guys > please test the attached patch and see if it causes another regression > on your hardware? Especially evergreen and any of the R600 chipsets?
Hi, Disclaimer: I'm just a list reader. 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. The structure would get filled with information only once: when the card is detected. For the case of the patch this would mean that the function 'r600_bc_num_tex_and_vtx_clauses' would get replaced by retrieving a field from the structure, since the function only returns a constant (dependent on the type of the card). grtz -- Ferry Huberts _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
