projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
732b0b5
)
freedreno: prefer sw upload for textures
author
Rob Clark
<robdclark@gmail.com>
Mon, 25 Mar 2013 15:55:18 +0000
(11:55 -0400)
committer
Rob 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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/freedreno_screen.c
b/src/gallium/drivers/freedreno/freedreno_screen.c
index 5ff132dac72565adf414acf8d2fc1acf2ea4b61e..cb9dfff4140d85160e6345055d8d661006eab6d0 100644
(file)
--- 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: