freedreno/a5xx: remove hack for glamor
authorRob Clark <robdclark@gmail.com>
Fri, 6 Jan 2017 18:50:59 +0000 (13:50 -0500)
committerRob Clark <robdclark@gmail.com>
Wed, 11 Jan 2017 00:40:00 +0000 (19:40 -0500)
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 <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_screen.c

index 63e0d204735ce946eed15a7416fb344342002b16..2fafb52b19058c1787a2f59f66ffc56db49bf18f 100644 (file)
@@ -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. */