freedreno: prefer sw upload for textures
authorRob Clark <robdclark@gmail.com>
Mon, 25 Mar 2013 15:55:18 +0000 (11:55 -0400)
committerRob Clark <robdclark@gmail.com>
Mon, 25 Mar 2013 17:05:44 +0000 (13:05 -0400)
Since we are UMA, in most cases the GPU blit doesn't make much sense for
texture upload.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_screen.c

index 5ff132dac72565adf414acf8d2fc1acf2ea4b61e..cb9dfff4140d85160e6345055d8d661006eab6d0 100644 (file)
@@ -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: