[Mesa-dev] [PATCH 2/4] radeonsi: enable GL 4.5 in compat profile

Marek Olšák maraeo at gmail.com
Mon Aug 27 18:25:27 UTC 2018


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

BTW, this is conditional on ARB_direct_state_access being implemented properly.

Marek

On Fri, Aug 24, 2018 at 7:06 AM, Timothy Arceri <tarceri at itsqueeze.com> wrote:
> ---
>  src/gallium/drivers/radeonsi/si_get.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c
> index 47368fb7c91..f4c61a7e408 100644
> --- a/src/gallium/drivers/radeonsi/si_get.c
> +++ b/src/gallium/drivers/radeonsi/si_get.c
> @@ -184,8 +184,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:
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list