Re: [Mesa-dev] Mesa 11.2.2 and Mesa 12.0.0rc3 GLES 3.1 issues with i965 driver

2016-06-16 Thread Ian Romanick
On 06/16/2016 06:36 AM, Mike Gorchak wrote: > Hi, > >> You're supposed to get at these functions with eglGetProcAddress() and > such > > A'm afraid EGL v1.4 spec forbids obtaining core functions through > eglGetProcAddress(), they should be visible at dynamic linker level. Unless you have the EG

Re: [Mesa-dev] Mesa 11.2.2 and Mesa 12.0.0rc3 GLES 3.1 issues with i965 driver

2016-06-16 Thread Ian Romanick
On 06/15/2016 11:23 AM, Mike Gorchak wrote: > Hello, > > Just found that latest Mesa 11.2.2 and 12.0.0rc3 exposes version 3.1 of > OpenGL ES instead of 3.0 if i965 DRI driver is used on Intel Gen8 > (Broadwell) or Gen9 (AppolloLake/Broxton) hardware. > > At the same time some of GLES 3.1 function

Re: [Mesa-dev] Mesa 11.2.2 and Mesa 12.0.0rc3 GLES 3.1 issues with i965 driver

2016-06-16 Thread Mike Gorchak
Hi, > You're supposed to get at these functions with eglGetProcAddress() and such A'm afraid EGL v1.4 spec forbids obtaining core functions through eglGetProcAddress(), they should be visible at dynamic linker level. Anyway, thanks! On Wed, Jun 15, 2016 at 3:06 PM, Ilia Mirkin wrote: > On We

Re: [Mesa-dev] Mesa 11.2.2 and Mesa 12.0.0rc3 GLES 3.1 issues with i965 driver

2016-06-15 Thread Ilia Mirkin
On Wed, Jun 15, 2016 at 2:55 PM, Mike Gorchak wrote: > Hi, > > hm, could you check "cat ./src/mapi/es2api/glapi_mapi_tmp.h | grep > glFramebufferParameteri" ? > > I can see void APIENTRY gl_dispatch_stub_888(GLenum target, GLenum pname, > GLint param); instead of glFramebufferParameteri there. > >

Re: [Mesa-dev] Mesa 11.2.2 and Mesa 12.0.0rc3 GLES 3.1 issues with i965 driver

2016-06-15 Thread Mike Gorchak
BTW, glDispatchCompute() is from 3.1, and it is present. glFramebufferParameteri() is from 3.1, but it is absent. On Wed, Jun 15, 2016 at 2:55 PM, Mike Gorchak wrote: > Hi, > > hm, could you check "cat ./src/mapi/es2api/glapi_mapi_tmp.h | grep > glFramebufferParameteri" ? > > I can see void APIE

Re: [Mesa-dev] Mesa 11.2.2 and Mesa 12.0.0rc3 GLES 3.1 issues with i965 driver

2016-06-15 Thread Mike Gorchak
Hi, hm, could you check "cat ./src/mapi/es2api/glapi_mapi_tmp.h | grep glFramebufferParameteri" ? I can see void APIENTRY gl_dispatch_stub_888(GLenum target, GLenum pname, GLint param); instead of glFramebufferParameteri there. Also objdump -x for GLES 2.0 API shows absence of glFramebufferParam

Re: [Mesa-dev] Mesa 11.2.2 and Mesa 12.0.0rc3 GLES 3.1 issues with i965 driver

2016-06-15 Thread Ilia Mirkin
Hm... those should be exposed: https://cgit.freedesktop.org/mesa/mesa/tree/src/mapi/glapi/gen/ARB_framebuffer_no_attachments.xml And the dEQP tests that check these also work correctly. What makes you think they're not properly exposed? (Perhaps I'm confused re what the "MAPI" interface is?) -

[Mesa-dev] Mesa 11.2.2 and Mesa 12.0.0rc3 GLES 3.1 issues with i965 driver

2016-06-15 Thread Mike Gorchak
Hello, Just found that latest Mesa 11.2.2 and 12.0.0rc3 exposes version 3.1 of OpenGL ES instead of 3.0 if i965 DRI driver is used on Intel Gen8 (Broadwell) or Gen9 (AppolloLake/Broxton) hardware. At the same time some of GLES 3.1 functions are not available through MAPI interface like glFramebuf