4 Replies Latest reply: Aug 8, 2012 12:23 PM by woodstock42 RSS

OpenGL shader compiler bug with GL_ARB_explicit_attrib_location

woodstock42 Community Member
Currently Being Moderated

Dear Support Team,

 

I don't know where to report bugs in Intel graphics drivers, so I try it here.

 

The GLSL shader compiler in the current driver for the HD 4000 graphics does not support explicit shader input locations in GLSL version 3.30. As a workaround it is possible to enable the extension GL_ARB_explicit_attrib_location, but this extension was added to GLSL and it should be implicitly enabled when #version 330 is used.

 

Thanks in advance,

Woodstock

 

Output from my log file:

 

OpenGL version: 3.3 ("3.3.0 - Build 8.15.10.2696")

OpenGL shading language version: 3.3 ("3.30 - Intel Build 8.15.10.2696")

OpenGL vendor: "Intel"

OpenGL renderer: "Intel(R) HD Graphics 4000"

OpenGL context: core profile, forward compatible

 

------------------------------------------------------------------------

#version 330

layout(location = 0) out vec4 fragment_color;

smooth in vec4 smooth_color;

 

void main()

{

  fragment_color = smooth_color;

}

------------------------------------------------------------------------

Error: 0:2: 'GL_ARB_explicit_attrib_location' : extension is disabled


More Like This

  • Retrieving data ...