summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-06-25 20:31:02 +1000
committerTimothy Arceri <[email protected]>2018-06-30 08:38:33 +1000
commit18293be62282b5f02ffabccdb8597a3e217b55e8 (patch)
tree58106de3adfd82952427998d2cfc0fea79b8f574 /src/gallium
parentddb351f7fe056589b349233edd6d5f9cd2295ec7 (diff)
radeonsi: enable OpenGL 4.4 compat profile
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_get.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c
index 0e8617d0fee..96ff2a9e46b 100644
--- a/src/gallium/drivers/radeonsi/si_get.c
+++ b/src/gallium/drivers/radeonsi/si_get.c
@@ -210,13 +210,12 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return 4;
case PIPE_CAP_GLSL_FEATURE_LEVEL:
+ case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
if (sscreen->info.has_indirect_compute_dispatch)
- return 450;
+ return param == PIPE_CAP_GLSL_FEATURE_LEVEL ?
+ 450 : 440;
return 420;
- case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
- return 330;
-
case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
return MIN2(sscreen->info.max_alloc_size, INT_MAX);