projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddb351f
)
radeonsi: enable OpenGL 4.4 compat profile
author
Timothy Arceri
<tarceri@itsqueeze.com>
Mon, 25 Jun 2018 10:31:02 +0000
(20:31 +1000)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Fri, 29 Jun 2018 22:38:33 +0000
(08:38 +1000)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_get.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_get.c
b/src/gallium/drivers/radeonsi/si_get.c
index 0e8617d0fee8448b07f89f5f56a5691856845690..96ff2a9e46bb7d7937237974d9274f173f4fccb4 100644
(file)
--- 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);