summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-04-11 11:26:30 -0700
committerEric Anholt <[email protected]>2019-04-12 15:58:28 -0700
commit276ec879fdd6295105163bee83764d3e83855008 (patch)
tree6450f588469c1492906d014d332357353aee0979
parent89b7df552badea9560765dff337232bca213781f (diff)
v3d: Drop a note for the future about PIPE_CAP_PACKED_UNIFORMS.
-rw-r--r--src/gallium/drivers/v3d/v3d_screen.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/v3d/v3d_screen.c b/src/gallium/drivers/v3d/v3d_screen.c
index b2fcde6edd2..afac781725a 100644
--- 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;