Module: Mesa
Branch: master
Commit: a43f3b895c1906f92b671b1afe7859125623d5f7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a43f3b895c1906f92b671b1afe7859125623d5f7

Author: Rob Clark <[email protected]>
Date:   Fri Jan  6 13:50:59 2017 -0500

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 <[email protected]>

---

 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 63e0d20..2fafb52 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. */

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to