Re: [Mesa-dev] [PATCH] st/mesa: avoid sw fallback for getting/decompressing textures

2014-02-07 Thread Roland Scheidegger
Am 07.02.2014 17:39, schrieb Brian Paul: > If st_GetTexImage() is to decompress the texture, avoid the fallback > path even if prefer_blit_based_texture_transfer = false. For drivers > that returned PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER = 0, we > were always taking the fallback path for text

[Mesa-dev] [PATCH] st/mesa: avoid sw fallback for getting/decompressing textures

2014-02-07 Thread Brian Paul
If st_GetTexImage() is to decompress the texture, avoid the fallback path even if prefer_blit_based_texture_transfer = false. For drivers that returned PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER = 0, we were always taking the fallback path for texture decompression rather than rendering a quad.