[Mesa-dev] [PATCH 3/3] mesa/st: Remove GLSLVersion clamping
Edward O'Callaghan
eocallaghan at alterapraxis.com
Wed Mar 23 03:21:34 UTC 2016
Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
src/mesa/state_tracker/st_extensions.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index b03f531..6645189 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -846,10 +846,8 @@ void st_init_extensions(struct pipe_screen *screen,
/* Figure out GLSL support. */
glsl_feature_level = screen->get_param(screen, PIPE_CAP_GLSL_FEATURE_LEVEL);
-
+ /* Set GLSLVersion to PIPE_CAP_GLSL_FEATURE_LEVEL */
consts->GLSLVersion = glsl_feature_level;
- if (glsl_feature_level >= 410)
- consts->GLSLVersion = 410;
_mesa_override_glsl_version(consts);
--
2.5.5
More information about the mesa-dev
mailing list