[Mesa-dev] [PATCH 29/30] r600g: enable GLSL 3.30 on evergreen GPUs

Dave Airlie airlied at gmail.com
Tue Feb 4 00:53:46 CET 2014


From: Dave Airlie <airlied at redhat.com>

This throws the switch to enable GL 3.3 and GLSL 330.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/gallium/drivers/r600/r600_pipe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 2fcef28..7ed70e1 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -372,7 +372,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
 		return 1;
 
 	case PIPE_CAP_GLSL_FEATURE_LEVEL:
-		return 140;
+		return family >= CHIP_CEDAR ? 330 : 140;
 
 	/* Supported except the original R600. */
 	case PIPE_CAP_INDEP_BLEND_ENABLE:
-- 
1.8.3.1



More information about the mesa-dev mailing list