summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-01-06 13:50:59 -0500
committerRob Clark <robdclark@gmail.com>2017-01-10 19:40:00 -0500
commita43f3b895c1906f92b671b1afe7859125623d5f7 (patch)
treeb006d453c14c5081cef6a386041f2c18507884bf
parent3c71853c9afa54a25f03f47752b74a814aef90e6 (diff)
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 <robdclark@gmail.com>
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c
index 63e0d20473..2fafb52b19 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. */