Re: glamor_init: clamp GLSL to 120 if platform doesn't have instanced arrays

2018-05-16 Thread Lukas F . Hartmann
Adam Jackson writes: > I'm somewhat surprised Mesa doesn't expose any of ANGLE/EXT/NV in GLES2 > contexts. If it did so - and if etnaviv actually implemented instanced > rendering, which it definitely has code to sometimes do - then I > suspect you wouldn't need this patch. Also

Re: glamor_init: clamp GLSL to 120 if platform doesn't have instanced arrays

2018-05-16 Thread Adam Jackson
On Tue, 2018-05-15 at 21:51 +0200, Lukas F. Hartmann wrote: > Hi, > > I upgraded Xwayland and the assorted libraries from git masters today, > and noticed that glamor wouldn't work anymore on i.MX6/etnaviv. The > error was: > > No provider of glVertexAttribDivisor found. Requires one of: >

Re: glamor_init: clamp GLSL to 120 if platform doesn't have instanced arrays

2018-05-16 Thread Lukas F . Hartmann
Eric, thanks for the insight. It's still possible that this is a bug in mesa/etnaviv or a rare glitch in my setup. I'll report back when we know for sure. Cheers Lukas Eric Anholt writes: > "Lukas F. Hartmann" writes: > >> Hi, >> >> I upgraded Xwayland and

Re: glamor_init: clamp GLSL to 120 if platform doesn't have instanced arrays

2018-05-16 Thread Eric Anholt
"Lukas F. Hartmann" writes: > Hi, > > I upgraded Xwayland and the assorted libraries from git masters today, > and noticed that glamor wouldn't work anymore on i.MX6/etnaviv. The > error was: > > No provider of glVertexAttribDivisor found. Requires one of: > Desktop OpenGL

Re: glamor_init: clamp GLSL to 120 if platform doesn't have instanced arrays

2018-05-16 Thread Lukas Hartmann
Good call, I don’t know if this is a bug or on purpose. I’ll try to find that out. But on a GL 3.0-3.2 platform this would still fail if there was no support for glVertexAttribDivisor, or am I wrong? Cheers Lukas > On 16. May 2018, at 01:05, Dave Airlie wrote: > >> On 16

Re: glamor_init: clamp GLSL to 120 if platform doesn't have instanced arrays

2018-05-15 Thread Dave Airlie
On 16 May 2018 at 05:51, Lukas F. Hartmann wrote: > Hi, > > I upgraded Xwayland and the assorted libraries from git masters today, > and noticed that glamor wouldn't work anymore on i.MX6/etnaviv. The > error was: > > No provider of glVertexAttribDivisor found. Requires one of:

glamor_init: clamp GLSL to 120 if platform doesn't have instanced arrays

2018-05-15 Thread Lukas F. Hartmann
Hi, I upgraded Xwayland and the assorted libraries from git masters today, and noticed that glamor wouldn't work anymore on i.MX6/etnaviv. The error was: No provider of glVertexAttribDivisor found. Requires one of: Desktop OpenGL 3.3 OpenGL ES 3.0 GL extension