projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89b7df5
)
v3d: Drop a note for the future about PIPE_CAP_PACKED_UNIFORMS.
author
Eric Anholt
<eric@anholt.net>
Thu, 11 Apr 2019 18:26:30 +0000
(11:26 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 12 Apr 2019 22:58:28 +0000
(15:58 -0700)
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 b2fcde6edd21291e4e50e42681a1dea9fd8dd3a7..afac781725a651e886ee9af2353522592b4ccc44 100644
(file)
--- a/
src/gallium/drivers/v3d/v3d_screen.c
+++ b/
src/gallium/drivers/v3d/v3d_screen.c
@@
-133,6
+133,13
@@
v3d_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT:
return 1;
+ case PIPE_CAP_PACKED_UNIFORMS:
+ /* We can't enable this flag, because it results in load_ubo
+ * intrinsics across a 16b boundary, but v3d's TMU general
+ * memory accesses wrap on 16b boundaries.
+ */
+ return 0;
+
case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
return 0;