Overview

Hardware kbl_iris
Architecture m64
Status fail
Filtered Status fail
Time 0.014476

See also historical results for this test.

stdout

Transform feedback: glDrawArrayIndirect
Verify that transform feedback works correctly with glDrawArrayIndirect
1. Create data
2. Use data as input to glDrawArrayIndirect
3. Verify results
The test will pass if no OpenGL errors reported
glClear(GL_COLOR_BUFFER_BIT);
glClear(GL_COLOR_BUFFER_BIT);
glCreateProgram();
// 2465 returned
glCreateShader(GL_VERTEX_SHADER);
// 2466 returned
glAttachShader(2465, 2466);
glDeleteShader(2466);
glShaderSource(2466, 1, 0x00007ffc51c8d2a8, 0x0000000000000000);
glCompileShader(2466);
glCreateShader(GL_FRAGMENT_SHADER);
// 2467 returned
glAttachShader(2465, 2467);
glDeleteShader(2467);
glShaderSource(2467, 1, 0x00007ffc51c8d298, 0x0000000000000000);
glCompileShader(2467);
glTransformFeedbackVaryings(2465, 1, 0x00007ffc51c8d508, 0x00008c8c);
glLinkProgram(2465);
glGetProgramiv(2465, GL_LINK_STATUS, 0x00007ffc51c8c4bc);
// params = { 1 }
glUseProgram(2465);
glGenBuffers(1, 0x0000564abb293dd4);
// buffers = { 1997 }
glBindBuffer(GL_ARRAY_BUFFER, 1997);
glBufferData(GL_ARRAY_BUFFER, 6144, 0x564abc2dc780, GL_STATIC_DRAW);
glGenBuffers(1, 0x0000564abb293ddc);
// buffers = { 1998 }
glBindBuffer(GL_UNIFORM_BUFFER, 1998);
glBufferData(GL_UNIFORM_BUFFER, 80, 0, GL_STATIC_DRAW);
glGetUniformBlockIndex(2465, BLOCK);
// 0 returned
glBindBufferBase(GL_UNIFORM_BUFFER, 0, 1998);
glBufferSubData(GL_UNIFORM_BUFFER, 0, 64, 0x564abac34ce0);
glGenVertexArrays(1, 0x0000564abb293dd0);
// arrays = { 880 }
glBindVertexArray(880);
glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, 16, 0);
glEnableVertexAttribArray(0);
glGenBuffers(1, 0x0000564abb293dd8);
// buffers = { 1999 }
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 1999);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, 1536, 0x564abb33f310, GL_STATIC_DRAW);
glGenBuffers(1, 0x0000564abb293de0);
// buffers = { 2000 }
glBindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, 2000);
glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, 20, 0x7ffc51c8d4b0, GL_DYNAMIC_DRAW);
glBindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0, 2000);
glBindBuffer(GL_DRAW_INDIRECT_BUFFER, 2000);
glEnable(GL_RASTERIZER_DISCARD);
glBeginTransformFeedback(GL_POINTS);
glDrawArrays(GL_POINTS, 0, 5);
glEndTransformFeedback();
glDisable(GL_RASTERIZER_DISCARD);
glDrawArraysIndirect(GL_TRIANGLES, 0);
glReadPixels(0, 0, 400, 300, GL_RGBA, GL_FLOAT, 0x564abc8cc750);
(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, { 880 });
glDeleteBuffers(1, { 1997 });
glDeleteBuffers(1, { 1999 });
glDeleteBuffers(1, { 1998 });
glDeleteBuffers(1, { 2000 });
glDeleteProgram(2465);

stderr

pid: 17528