Re: [Mesa-dev] [PATCH] util: u_gen_mipmap: use software path for small mipmap levels

2011-12-29 Thread Lucas Stach
Ok, disregard this patch. I see this is a bad idea and will fix the issue in another way in nvfx. Thanks, Lucas Am Donnerstag, den 29.12.2011, 01:12 +0100 schrieb Marek Olšák: > HI Lucas, > > The fallback will be slower on Radeons for these two reasons: > - Texture transfers are implemented usi

Re: [Mesa-dev] [PATCH] util: u_gen_mipmap: use software path for small mipmap levels

2011-12-28 Thread Marek Olšák
HI Lucas, The fallback will be slower on Radeons for these two reasons: - Texture transfers are implemented using a blit to or from a temporary texture, which is allocated in get_transfer, so it takes more CPU time than simply generating all mipmap levels on hardware - Mapping a texture causes wai

[Mesa-dev] [PATCH] util: u_gen_mipmap: use software path for small mipmap levels

2011-12-28 Thread Lucas Stach
>From 1273dd1e1ede35b9a434c3f9d9eaa4a03eb8d0b3 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Wed, 28 Dec 2011 20:00:48 +0100 Subject: [PATCH] util: u_gen_mipmap: use software path for small mipmap levels We are changing a lot of states to generate mipmaps with the hardware 3D engine, which is