From: Jonathan Marek Date: Wed, 10 Apr 2019 17:59:10 +0000 (-0400) Subject: freedreno: a2xx: disable PIPE_CAP_PACKED_UNIFORMS X-Git-Tag: upstream/19.3.0~7066 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bce4f11dbcf2c1afc91109d2e46f3b5eeb54fc2e;p=platform%2Fupstream%2Fmesa.git freedreno: a2xx: disable PIPE_CAP_PACKED_UNIFORMS a2xx driver is currently broken when PIPE_CAP_PACKED_UNIFORMS is enabled, disable it for now. Signed-off-by: Jonathan Marek Reviewed-by: Kristian H. Kristensen Reviewed-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 40dc16f..1eebefd 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -195,9 +195,11 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_MIXED_COLOR_DEPTH_BITS: case PIPE_CAP_TEXTURE_BARRIER: case PIPE_CAP_INVALIDATE_BUFFER: - case PIPE_CAP_PACKED_UNIFORMS: return 1; + case PIPE_CAP_PACKED_UNIFORMS: + return !is_a2xx(screen); + case PIPE_CAP_VERTEXID_NOBASE: return is_a3xx(screen) || is_a4xx(screen);