mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
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 <nicolai.haehnle@amd.com>
This commit is contained in:
parent
ed9a51cd3b
commit
fc478248f3
1 changed files with 0 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue