[virglrenderer-devel] [PATCH 2/4] vrend_shader: generate bindings with layout qualifiers

Dave Airlie airlied at gmail.com
Tue Aug 7 09:31:43 UTC 2018


On Tue., 7 Aug. 2018, 18:44 Erik Faye-Lund, <erik.faye-lund at collabora.com>
wrote:

> On 07. aug. 2018 02:51, Dave Airlie wrote:
> > On 7 August 2018 at 04:38, Erik Faye-Lund <erik.faye-lund at collabora.com>
> wrote:
> >> OpenGL ES 3.1 doesn't support using glUniform1i() for binding
> >> images, so let's use layout qualifiers instead. This should in
> >> theory be slightly more performant as well, as we do less API
> >> calls.
> > I like this idea, I think we can get rid of a bunch of stuff with
> > explicit bindings,
> >
> > However I think explicit layout bindings on GL require a shader
> extension,
> >
> > At least on desktop GL a lot of tests fail after I apply this.
> >
> > Dave.
>
> Hmm, that's odd. I don't think there's any extensions that should be
> required by this, but I'll take a look.
>
> Thanks for pointing this out.
>

Our baseline glsl version is 130 btw

Dave

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/virglrenderer-devel/attachments/20180807/01f03979/attachment-0001.html>


More information about the virglrenderer-devel mailing list