summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-02-15 03:04:01 +0100
committerMarek Olšák <[email protected]>2017-04-28 21:47:35 +0200
commitfc478248f3fd770d82bf9742d5fcc1166b3fbe0d (patch)
treec414780019957de7a3900679bc7a88ef27a8127f /src/gallium
parented9a51cd3bd1111d8d28386fb85262d4f0d3bf32 (diff)
radeonsi/gfx9: enable OpenGL 4.5
Tentatively enable it, expecting the scratch buffer support to be done before the next Mesa release. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index cfbcbe2b745..296732dce8e 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -464,8 +464,6 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
return HAVE_LLVM >= 0x0309 ? 4 : 0;
case PIPE_CAP_GLSL_FEATURE_LEVEL:
- if (sscreen->b.chip_class >= GFX9)
- return 140;
if (si_have_tgsi_compute(sscreen))
return 450;
return HAVE_LLVM >= 0x0309 ? 420 : 410;
@@ -600,12 +598,9 @@ static int si_get_shader_param(struct pipe_screen* pscreen,
{
case PIPE_SHADER_FRAGMENT:
case PIPE_SHADER_VERTEX:
- break;
case PIPE_SHADER_GEOMETRY:
case PIPE_SHADER_TESS_CTRL:
case PIPE_SHADER_TESS_EVAL:
- if (sscreen->b.chip_class >= GFX9)
- return 0;
break;
case PIPE_SHADER_COMPUTE:
switch (param) {