From a43f3b895c1906f92b671b1afe7859125623d5f7 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 6 Jan 2017 13:50:59 -0500 Subject: [PATCH] freedreno/a5xx: remove hack for glamor Now that issues glamor was hitting w/ glsl>=130 (aka missing INSTANCED bit in vertex attribute state) is fixed, remove hack. Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_screen.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 63e0d204735..2fafb52b190 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -245,9 +245,6 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_GLSL_FEATURE_LEVEL: if (glsl120) return 120; - // XXX temporary, avoid issues with glamor: - if (is_a5xx(screen)) - return 120; return is_ir3(screen) ? 140 : 120; /* Unsupported features. */ -- 2.30.2