From: Rob Clark Date: Fri, 29 Jul 2016 18:58:39 +0000 (-0400) Subject: freedreno: limit non-user constant buffers to a4xx X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=591eeb7d1c98d85142453d6ba2b8128c9a5a554e;p=mesa.git freedreno: limit non-user constant buffers to a4xx Seems to mostly work on a3xx. Except when it doesn't and kills gpu quite badly. Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 568e6e28401..222f2881f01 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -172,7 +172,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 1; case PIPE_CAP_USER_CONSTANT_BUFFERS: - return is_ir3(screen) ? 0 : 1; + return is_a4xx(screen) ? 0 : 1; case PIPE_CAP_SHADER_STENCIL_EXPORT: case PIPE_CAP_TGSI_TEXCOORD: