[Mesa-dev] [PATCH 1/2] radeonsi: Expose GLSL 4.5

Edward O'Callaghan funfunctor at folklore1984.net
Sun Oct 16 06:27:01 UTC 2016


Although not strictly CTS conformant, provided we don't actually
crash in any of the CTS tests we can advertise 4.5 as others do.

Signed-off-by: Edward O'Callaghan <funfunctor at folklore1984.net>
---
 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 5a3f101..6e7f6a3 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -439,7 +439,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
 
 	case PIPE_CAP_GLSL_FEATURE_LEVEL:
 		if (si_have_tgsi_compute(sscreen))
-			return 430;
+			return 450;
 		return HAVE_LLVM >= 0x0309 ? 420 :
 		       HAVE_LLVM >= 0x0307 ? 410 : 330;
 
-- 
2.7.4



More information about the mesa-dev mailing list