Overview

Hardware kbl_iris
Architecture m64
Status fail
Filtered Status fail
Time 0.174978

See also historical results for this test.

stdout

Compute Chain
1. Verify that dispatching several compute kernels that work in a sequence
    with a common set of resources works as expected.
2. Verify that indexing nested structures with built-in variables work as expected.
3. Verify that two kernels can write to the same resource without MemoryBarrier
    command if target regions of memory do not overlap.
1. Create a set of GPU resources (buffers, images, atomic counters).
2. Dispatch Kernel0 that write to these resources.
3. Issue MemoryBarrier command.
4. Dispatch Kernel1 that read/write from/to these resources.
5. Issue MemoryBarrier command.
6. Dispatch Kernel2 that read/write from/to these resources.
7. Verify that content of all resources is as expected.
Everything works as expected.
glCreateProgram();
// 11358 returned
glCreateShader(GL_COMPUTE_SHADER);
// 11359 returned
glAttachShader(11358, 11359);
glDeleteShader(11359);
glShaderSource(11359, 2, 0x00007ffc8e6b23f0, 0x0000000000000000);
glCompileShader(11359);
glLinkProgram(11358);
glGetProgramiv(11358, GL_LINK_STATUS, 0x00007ffc8e6b14a4);
// params = { 1 }
glCreateProgram();
// 11360 returned
glCreateShader(GL_COMPUTE_SHADER);
// 11361 returned
glAttachShader(11360, 11361);
glDeleteShader(11361);
glShaderSource(11361, 2, 0x00007ffc8e6b23f0, 0x0000000000000000);
glCompileShader(11361);
glLinkProgram(11360);
glGetProgramiv(11360, GL_LINK_STATUS, 0x00007ffc8e6b14a4);
// params = { 1 }
glCreateProgram();
// 11362 returned
glCreateShader(GL_COMPUTE_SHADER);
// 11363 returned
glAttachShader(11362, 11363);
glDeleteShader(11363);
glShaderSource(11363, 2, 0x00007ffc8e6b23f0, 0x0000000000000000);
glCompileShader(11363);
glLinkProgram(11362);
glGetProgramiv(11362, GL_LINK_STATUS, 0x00007ffc8e6b14a4);
// params = { 1 }
glGenBuffers(4, 0x000055fe95487df4);
// buffers = { 2187, 2188, 2189, 2190 }
glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, 2187);
glBufferData(GL_SHADER_STORAGE_BUFFER, 2068, 0x55fe94edbff0, GL_STATIC_COPY);
glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, 2188);
glBufferData(GL_SHADER_STORAGE_BUFFER, 32, 0x7ffc8e6b2440, GL_STATIC_COPY);
glBindBuffer(GL_SHADER_STORAGE_BUFFER, 2189);
glBufferData(GL_SHADER_STORAGE_BUFFER, 2048, 0x55fe947b8040, GL_STATIC_COPY);
glBindBufferRange(GL_SHADER_STORAGE_BUFFER, 2, 2189, 0, 1024);
glBindBufferRange(GL_SHADER_STORAGE_BUFFER, 3, 2189, 1024, 1024);
glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 4, 2190);
glBufferData(GL_SHADER_STORAGE_BUFFER, 128, 0x55fe9553a530, GL_STATIC_COPY);
glGenBuffers(1, 0x000055fe95487e04);
// buffers = { 2191 }
glBindBufferBase(GL_ATOMIC_COUNTER_BUFFER, 1, 2191);
glBufferData(GL_ATOMIC_COUNTER_BUFFER, 16, 0x7ffc8e6b2570, GL_STATIC_COPY);
glGenTextures(1, 0x000055fe95487e08);
// textures = { 5538 }
glBindTexture(GL_TEXTURE_2D, 5538);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, 4, 4, 0, GL_RGBA, GL_FLOAT, 0x55fe9451ba90);
glBindTexture(GL_TEXTURE_2D, 0);
glUseProgram(11358);
glBindImageTexture(0, 5538, 0, GL_FALSE, 0, GL_READ_WRITE, GL_RGBA32F);
glDispatchCompute(2, 2, 2);
glMemoryBarrier(GL_SHADER_IMAGE_ACCESS_BARRIER_BIT|0x2000);
glDispatchCompute(3, 2, 2);
glUseProgram(11360);
glDispatchCompute(4, 3, 7);
glMemoryBarrier(GL_SHADER_IMAGE_ACCESS_BARRIER_BIT|GL_TEXTURE_UPDATE_BARRIER_BIT|GL_BUFFER_UPDATE_BARRIER_BIT);
glBindTexture(GL_TEXTURE_2D, 5538);
glGenFramebuffers(1, 0x000055fe95487e0c);
// framebuffers = { 2583 }
glBindFramebuffer(GL_FRAMEBUFFER, 2583);
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, 5538, 0);
glReadPixels(0, 0, 4, 4, GL_RGBA, GL_UNSIGNED_BYTE, 0x55fe957d2b70);
glBindBuffer(GL_SHADER_STORAGE_BUFFER, 2187);
glGetBufferSubData(0x000090d2, 0, 2068, 0x55fe94edbff0);
glBindBuffer(GL_SHADER_STORAGE_BUFFER, 2188);
glGetBufferSubData(0x000090d2, 0, 32, 0x7ffc8e6b2440);
glBindBuffer(GL_SHADER_STORAGE_BUFFER, 2189);
glGetBufferSubData(0x000090d2, 0, 2048, 0x55fe947b8040);
glBindBuffer(GL_SHADER_STORAGE_BUFFER, 2190);
glGetBufferSubData(0x000090d2, 0, 128, 0x7ffc8e6b2440);
Data is incorrect.
Test Run() failed
glUseProgram(0);
glDeleteProgram(11358);
glDeleteProgram(11360);
glDeleteProgram(11362);
glDeleteBuffers(4, { 2187, 2188, 2189, 2190 });
glDeleteBuffers(1, { 2191 });
glDeleteTextures(1, { 5538 });
glDeleteFramebuffers(1, { 2583 });

stderr

pid: 17529