From: Eric Anholt Date: Thu, 11 Apr 2019 18:26:30 +0000 (-0700) Subject: v3d: Drop a note for the future about PIPE_CAP_PACKED_UNIFORMS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=276ec879fdd6295105163bee83764d3e83855008;p=mesa.git v3d: Drop a note for the future about PIPE_CAP_PACKED_UNIFORMS. --- 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;