diff options
author | Rob Clark <[email protected]> | 2013-03-25 11:55:18 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2013-03-25 13:05:44 -0400 |
commit | 980f1cf8a165ad25fbb6c0424e6166a4210c3196 (patch) | |
tree | 319e989e6dbeda200c96a481907ae8c239cba0ad /src/gallium/drivers/freedreno | |
parent | 732b0b5ebc5a30b6e87f67aabfb0e25d3e662d41 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |