Re: [Mesa-dev] [PATCH 8/8] i965: Pass in the glarray to get_surface_type.

2013-01-24 Thread Kenneth Graunke
On 01/23/2013 11:17 AM, Eric Anholt wrote: Dereffing all the values in the two callers was just pointless, and the function isn't inlined so there was actual code impact. It makes sense not to inline it, since it's pretty big and there are already two callers (and my Gen8 branch adds two

[Mesa-dev] [PATCH 8/8] i965: Pass in the glarray to get_surface_type.

2013-01-23 Thread Eric Anholt
Dereffing all the values in the two callers was just pointless, and the function isn't inlined so there was actual code impact. --- src/mesa/drivers/dri/i965/brw_draw_upload.c | 51 --- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git