Overview

Hardware kbl_iris
Architecture m64
Status fail
Filtered Status fail
Time 0.050322

See also historical results for this test.

stdout

gl_WorkGroupSize is an constant
Verify that gl_WorkGroupSize can be used as an constant expression.
glCreateProgram();
// 11339 returned
glCreateShader(GL_COMPUTE_SHADER);
// 11340 returned
glAttachShader(11339, 11340);
glDeleteShader(11340);
glShaderSource(11340, 2, 0x00007ffc8e6b3210, 0x0000000000000000);
glCompileShader(11340);
glLinkProgram(11339);
glGetProgramiv(11339, GL_LINK_STATUS, 0x00007ffc8e6b22c4);
// params = { 1 }
glGenBuffers(1, 0x000055fe94a92f0c);
// buffers = { 2182 }
glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, 2182);
glBufferData(GL_SHADER_STORAGE_BUFFER, 96, 0, GL_STATIC_DRAW);
glUseProgram(11339);
glDispatchCompute(1, 1, 1);
glMemoryBarrier(GL_BUFFER_UPDATE_BARRIER_BIT);
glBindBuffer(GL_SHADER_STORAGE_BUFFER, 2182);
glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, 96, GL_MAP_READ_BIT);
// 0x7fef62e02000 returned
Data at index 0 is 24 should be 25.
Data at index 1 is 24 should be 26.
Data at index 2 is 24 should be 27.
Data at index 3 is 24 should be 28.
Data at index 4 is 24 should be 29.
Data at index 5 is 24 should be 30.
Data at index 6 is 24 should be 31.
Data at index 7 is 24 should be 32.
Data at index 8 is 24 should be 33.
Data at index 9 is 24 should be 34.
Data at index 10 is 24 should be 35.
Data at index 11 is 24 should be 36.
Data at index 12 is 24 should be 37.
Data at index 13 is 24 should be 38.
Data at index 14 is 24 should be 39.
Data at index 15 is 24 should be 40.
Data at index 16 is 24 should be 41.
Data at index 17 is 24 should be 42.
Data at index 18 is 24 should be 43.
Data at index 19 is 24 should be 44.
Data at index 20 is 24 should be 45.
Data at index 21 is 24 should be 46.
Data at index 22 is 24 should be 47.
Data at index 23 is 24 should be 48.
glUnmapBuffer(GL_SHADER_STORAGE_BUFFER);
// GL_TRUE returned
glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0);
Test Run() failed
glUseProgram(0);
glDeleteProgram(11339);
glDeleteBuffers(1, { 2182 });

stderr

pid: 17529