[Mesa-dev] [PATCH 2/4] radeonsi: enable GL 4.5 in compat profile
Timothy Arceri
tarceri at itsqueeze.com
Fri Aug 24 11:06:17 UTC 2018
---
src/gallium/drivers/radeonsi/si_get.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c
index 47368fb7c91..f4c61a7e408 100644
--- a/src/gallium/drivers/radeonsi/si_get.c
+++ b/src/gallium/drivers/radeonsi/si_get.c
@@ -184,8 +184,7 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_GLSL_FEATURE_LEVEL:
case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
if (sscreen->info.has_indirect_compute_dispatch)
- return param == PIPE_CAP_GLSL_FEATURE_LEVEL ?
- 450 : 440;
+ return 450;
return 420;
case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
--
2.17.1
More information about the mesa-dev
mailing list