Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
20948 Discussions

HD 4600 glGetProgramiv returns GL_INVALID_ENUM for GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH

Lee_J_1
Beginner
1,130 Views

System Setup Information:
-----------------------------------------

System Used:
CPU SKU: Core i5-4210M
GPU SKU: HD4600
Processor Line:
System BIOS Version:
CMOS settings:
Graphics Driver Version: 10.18.14.4156
GOP/VBIOS Version:
Operating System: Windows 8.1
OS Version: 6.3.9600
API: OpenGL
Occurs on non-Intel GPUs?:

Steps to Reproduce:
-------------------------------
Call glGetProgramiv with pname set to GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, e.g:

GLuint program = glCreateProgram();
// setup shader here
GLint length = 0;
glGetProgramiv(program, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, &length);
GLenum err = glGetError();

err is set to GL_INVALID_ENUM.

Expected Results:
-------------------------------
output param should contain requested value, or 0.

Actual Results:
-------------------------------
glGetError() returns GL_INVALID_ENUM

Additional Information:
-------------------------------

0 Kudos
3 Replies
Michael_C_Intel2
Employee
1,130 Views

Hi Lee,

I submitted a ticket and will get our OpenGl driver team to investigate.

-Michael

0 Kudos
Michael_C_Intel2
Employee
1,130 Views

Hi Lee,

We confirmed this is a driver issue and are investigating the cause.

-Michael

0 Kudos
Michael_C_Intel2
Employee
1,130 Views

Hi Lee,

We fixed the graphics driver issue and the fix will be in the next driver public release.

-Michael

0 Kudos
Reply