Overview

Hardware kbl_iris
Architecture m64
Status fail
Filtered Status fail
Time 0.014448

See also historical results for this test.

stdout

Transform feedback: glDrawElementsIndirect
Verify that transform feedback works correctly with glDrawElementsIndirect
1. Create data
2. Use data as input to glDrawElementsIndirect
3. Verify results
The test will pass if no OpenGL errors reported
glClear(GL_COLOR_BUFFER_BIT);
glClear(GL_COLOR_BUFFER_BIT);
glCreateProgram();
// 9014 returned
glCreateShader(GL_VERTEX_SHADER);
// 9015 returned
glAttachShader(9014, 9015);
glDeleteShader(9015);
glShaderSource(9015, 1, 0x00007ffc8e6b2ee8, 0x0000000000000000);
glCompileShader(9015);
glCreateShader(GL_FRAGMENT_SHADER);
// 9016 returned
glAttachShader(9014, 9016);
glDeleteShader(9016);
glShaderSource(9016, 1, 0x00007ffc8e6b2ed8, 0x0000000000000000);
glCompileShader(9016);
glTransformFeedbackVaryings(9014, 1, 0x00007ffc8e6b3148, 0x00008c8c);
glLinkProgram(9014);
glGetProgramiv(9014, GL_LINK_STATUS, 0x00007ffc8e6b20fc);
// params = { 1 }
glUseProgram(9014);
glGenBuffers(1, 0x000055fe9486c984);
// buffers = { 1936 }
glBindBuffer(GL_ARRAY_BUFFER, 1936);
glBufferData(GL_ARRAY_BUFFER, 6144, 0x55fe944f8a50, GL_STATIC_DRAW);
glGenBuffers(1, 0x000055fe9486c98c);
// buffers = { 1937 }
glBindBuffer(GL_UNIFORM_BUFFER, 1937);
glBufferData(GL_UNIFORM_BUFFER, 80, 0, GL_STATIC_DRAW);
glGetUniformBlockIndex(9014, BLOCK);
// 0 returned
glBindBufferBase(GL_UNIFORM_BUFFER, 0, 1937);
glBufferSubData(GL_UNIFORM_BUFFER, 0, 80, 0x55fe9450fef0);
glGenVertexArrays(1, 0x000055fe9486c980);
// arrays = { 831 }
glBindVertexArray(831);
glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, 16, 0);
glEnableVertexAttribArray(0);
glGenBuffers(1, 0x000055fe9486c988);
// buffers = { 1938 }
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 1938);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, 1536, 0x55fe945d6d70, GL_STATIC_DRAW);
glGenBuffers(1, 0x000055fe9486c990);
// buffers = { 1939 }
glBindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, 1939);
glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, 20, 0x7ffc8e6b30f0, GL_DYNAMIC_DRAW);
glBindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0, 1939);
glBindBuffer(GL_DRAW_INDIRECT_BUFFER, 1939);
glEnable(GL_RASTERIZER_DISCARD);
glBeginTransformFeedback(GL_POINTS);
glDrawArrays(GL_POINTS, 0, 5);
glEndTransformFeedback();
glDisable(GL_RASTERIZER_DISCARD);
glDrawElementsIndirect(GL_TRIANGLES, GL_UNSIGNED_INT, 0);
glReadPixels(0, 0, 400, 300, GL_RGBA, GL_FLOAT, 0x55fe950d43f0);
(x,y)= (0,0). Color RGBA(0,0,0,1) is different than expected RGBA(0.1,0.2,0.3,1)


Test Run() failed
glDisableVertexAttribArray(0);
glBindBuffer(GL_ARRAY_BUFFER, 0);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
glBindVertexArray(0);
glUseProgram(0);
glDeleteVertexArrays(1, { 831 });
glDeleteBuffers(1, { 1936 });
glDeleteBuffers(1, { 1938 });
glDeleteBuffers(1, { 1937 });
glDeleteBuffers(1, { 1939 });
glDeleteProgram(9014);

stderr

pid: 17529