From: Rob Clark Date: Fri, 6 Jan 2017 18:50:59 +0000 (-0500) Subject: freedreno/a5xx: remove hack for glamor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a43f3b895c1906f92b671b1afe7859125623d5f7;p=mesa.git 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 --- 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. */