[Mesa-dev] [PATCH] radeonsi: Enable GLSL 4.30 and therefore OpenGL 4.3

Mike Lothian mike at fireburn.co.uk
Thu Apr 14 22:42:29 UTC 2016


This is the last necessary bit for OpenGL 4.3 support, All
driver-specific functionality has been implemented as part of
extensions.
---

Was testing Bas's patches with Middle-Earth: Shadow of Mordor but 
needed this to expose OpenGL 4.3

 src/gallium/drivers/radeonsi/si_pipe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index 94bd666..b789d4c 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -338,7 +338,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
 		return HAVE_LLVM >= 0x0309 ? 4 : 0;
 
 	case PIPE_CAP_GLSL_FEATURE_LEVEL:
-		return HAVE_LLVM >= 0x0309 ? 420 :
+		return HAVE_LLVM >= 0x0309 ? 430 :
 		       HAVE_LLVM >= 0x0307 ? 410 : 330;
 
 	case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
-- 
2.8.1



More information about the mesa-dev mailing list