summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-08-24 21:06:17 +1000
committerTimothy Arceri <[email protected]>2018-08-30 07:57:38 +1000
commit406c3d748dac294e5c453eed7618a22d5d2cc0df (patch)
tree37ee87109868469f3420a9fa889b2a5d21d1b682 /src/gallium/drivers
parent781a78914c798dc64005b37c6ca1224ce06803fc (diff)
radeonsi: enable GL 4.5 in compat profile
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/si_get.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c
index d5a4d10181f..90f62edf470 100644
--- a/src/gallium/drivers/radeonsi/si_get.c
+++ b/src/gallium/drivers/radeonsi/si_get.c
@@ -185,8 +185,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: