Ignore me I don't think patch 12 applied correctly On Sat, 8 Oct 2016, 9:14 am Mike Lothian, <m...@fireburn.co.uk> wrote:
> This doesn't seem to be enough to get glxinfo to report GL 4.5 on my > Tonga or Kabini systems > > Even with MESA_GLSL_VERSION_OVERRIDE=440 or 450 the maximum reported > GLSL version is 430, the override works with 420 however > > I'm wondering if there's something in the Gallium code that's limiting > it to a max option of 430 > > On 7 October 2016 at 20:55, Nicolai Hähnle <nhaeh...@gmail.com> wrote: > > From: Nicolai Hähnle <nicolai.haeh...@amd.com> > > > > --- > > src/gallium/drivers/radeonsi/si_pipe.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/src/gallium/drivers/radeonsi/si_pipe.c > b/src/gallium/drivers/radeonsi/si_pipe.c > > index 5a3f101..6e7f6a3 100644 > > --- a/src/gallium/drivers/radeonsi/si_pipe.c > > +++ b/src/gallium/drivers/radeonsi/si_pipe.c > > @@ -432,21 +432,21 @@ static int si_get_param(struct pipe_screen* > pscreen, enum pipe_cap param) > > > > case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: > > case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT: > > case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS: > > return 4; > > case PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT: > > return HAVE_LLVM >= 0x0309 ? 4 : 0; > > > > case PIPE_CAP_GLSL_FEATURE_LEVEL: > > if (si_have_tgsi_compute(sscreen)) > > - return 430; > > + return 450; > > return HAVE_LLVM >= 0x0309 ? 420 : > > HAVE_LLVM >= 0x0307 ? 410 : 330; > > > > case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE: > > return MIN2(sscreen->b.info.max_alloc_size, INT_MAX); > > > > case PIPE_CAP_BUFFER_SAMPLER_VIEW_RGBA_ONLY: > > return 0; > > > > /* Unsupported features. */ > > -- > > 2.7.4 > > > > _______________________________________________ > > mesa-dev mailing list > > mesa-dev@lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/mesa-dev >
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev