From 276ec879fdd6295105163bee83764d3e83855008 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 11 Apr 2019 11:26:30 -0700 Subject: [PATCH] v3d: Drop a note for the future about PIPE_CAP_PACKED_UNIFORMS. --- src/gallium/drivers/v3d/v3d_screen.c | 7 +++++++ 1 file changed, 7 insertions(+) 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; -- 2.30.2