From: Rob Clark Date: Mon, 25 Mar 2013 15:55:18 +0000 (-0400) Subject: freedreno: prefer sw upload for textures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=980f1cf8a165ad25fbb6c0424e6166a4210c3196;p=mesa.git freedreno: prefer sw upload for textures Since we are UMA, in most cases the GPU blit doesn't make much sense for texture upload. Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 5ff132dac72..cb9dfff4140 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -165,7 +165,9 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TEXTURE_MULTISAMPLE: case PIPE_CAP_USER_CONSTANT_BUFFERS: return 1; + case PIPE_CAP_TGSI_TEXCOORD: + case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER: return 0; case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: