OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d5d89d
)
v3d: Disable PIPE_CAP_BLIT_BASED_TEXTURE_TRANSFER.
author
Eric Anholt
<eric@anholt.net>
Mon, 11 Mar 2019 22:59:24 +0000
(15:59 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 12 Mar 2019 16:04:25 +0000
(09:04 -0700)
This reduces the runtime of dEQP-GLES3.functional.shaders.precision.* from
11.5s to 3.3s. This brings CTS runs down to 4 hours on one of my target
devices.
src/gallium/drivers/v3d/v3d_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/v3d/v3d_screen.c
b/src/gallium/drivers/v3d/v3d_screen.c
index
c539daf
..
e413b00
100644
(file)
--- a/
src/gallium/drivers/v3d/v3d_screen.c
+++ b/
src/gallium/drivers/v3d/v3d_screen.c
@@
-131,6
+131,9
@@
v3d_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT:
return 1;
+ case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
+ return 0;
+
case PIPE_CAP_GENERATE_MIPMAP:
return v3d_has_feature(screen, DRM_V3D_PARAM_SUPPORTS_TFU);