Lines Matching defs:expected
280 bool ValidateReadBuffer(int x, int y, int w, int h, const vec4& expected)
289 if (!ColorEqual(display[j * w + i], expected, g_color_eps))
294 << ", " << display[j * w + i].w() << "] should be [" << expected.x() << ", " << expected.y()
295 << ", " << expected.z() << ", " << expected.w() << "]." << tcu::TestLog::EndMessage;
304 bool ValidateReadBufferCenteredQuad(int width, int height, const vec3& expected)
320 if (!ColorEqual(fb[idx], expected, g_color_eps))
494 return "Everything works as expected.";
517 << ", expected: 1, 1, 1 in GL_COMPUTE_WORK_GROUP_SIZE check" << tcu::TestLog::EndMessage;
571 "4. Verify that DispatchCompute and DispatchComputeIndirect commands work as expected.";
583 return "Everything works as expected.";
736 return "Everything works as expected.";
930 return NL "Everything works as expected.";
1150 return NL "Verify that reading/writing GPU memory via image variables work as expected.";
1162 return NL "Everything works as expected.";
1264 << display[y * kWidth + x].w() << ", expected " << c.x() << ", " << c.y() << ", " << c.z()
1352 "1. Verify that Atomic Counters work as expected in CS." NL
1369 return "Everything works as expected.";
1534 return NL "1. Verify that subroutines work as expected in CS." NL
1537 " work as expected when called in CS from subroutine.";
1551 return "Everything works as expected.";
1720 return NL "1. Verify that all types of uniform variables work as expected in CS." NL
1722 "3. Verify that re-linking CS program works as expected.";
1736 return "Everything works as expected.";
1997 return "Everything works as expected.";
2094 uvec3 expected = IndexTo3DCoord(index - 2 * kBufferSize, local_size.x() * num_groups.x(),
2096 expected.x() /= local_size.x();
2097 expected.y() /= local_size.y();
2098 expected.z() /= local_size.z();
2099 if (!IsEqual(data[index], uvec4(expected.x(), expected.y(), expected.z(), 0)))
2109 uvec3 expected = IndexTo3DCoord(index - 3 * kBufferSize, local_size.x() * num_groups.x(),
2111 expected.x() %= local_size.x();
2112 expected.y() %= local_size.y();
2113 expected.z() %= local_size.z();
2114 if (!IsEqual(data[index], uvec4(expected.x(), expected.y(), expected.z(), 0)))
2125 uvec3 expected = IndexTo3DCoord(index - 4 * kBufferSize, local_size.x() * num_groups.x(),
2127 if (!IsEqual(data[index], uvec4(expected.x(), expected.y(), expected.z(), 0)))
2140 const GLuint expected = (coord.x() % local_size.x()) + (coord.y() % local_size.y()) * local_size.x() +
2142 if (!IsEqual(data[index], uvec4(expected)))
2210 return NL "Everything works as expected.";
2449 return NL "1. Verify that building monolithic CS program works as expected." NL
2450 "2. Verify that program consisting from 3 compilation units links as expected." NL
2451 "3. Verify that CS consisting from 2 strings compiles as expected.";
2462 return "Everything works as expected.";
2554 return NL "1. Verify that building separable CS program works as expected." NL
2555 "2. Verify that program consisting from 4 strings works as expected.";
2566 return "Everything works as expected.";
2639 return NL "1. Verify that shared array of uints works as expected." NL
2653 return "Everything works as expected.";
2773 return "Everything works as expected.";
2884 " just before DispatchComputeIndirect call works as expected." NL
2898 return NL "Everything works as expected.";
2929 bool CheckBinding(GLuint expected)
2938 if (i != static_cast<GLint>(expected))
2943 if (i64 != static_cast<GLint64>(expected))
2948 if (f != static_cast<GLfloat>(expected))
2953 if (d != static_cast<GLdouble>(expected))
2958 if (b != (expected ? GL_TRUE : GL_FALSE))
3070 "2. Verify that DrawArrays and ComputeDispatch commands works as expected in this case.";
3081 return NL "Everything works as expected.";
3190 return NL "Everything works as expected.";
3306 return NL "Everything works as expected.";
3442 return NL "1. Verify that atomicAdd function works as expected with int and uint parameters." NL
3444 "3. Verify that groupMemoryBarrier() and barrier() built-in functions work as expected.";
3455 return NL "Everything works as expected.";
3536 " atomicAnd, atomicOr, atomicXor and atomicCompSwap) works as expected with buffer variables." NL
3550 return NL "Everything works as expected.";
3691 " atomicAnd, atomicOr, atomicXor and atomicCompSwap) works as expected with shared variables." NL
3705 return NL "Everything works as expected.";
3841 return NL "Verify that copying two textures using CS works as expected.";
3849 return NL "Everything works as expected.";
3930 return NL "Verify that CS which runs just before VS and modifies VBO content works as expected.";
3936 "4. Issue draw call command." NL "5. Verify that the framebuffer content is as expected.";
3940 return NL "Everything works as expected.";
4037 "and write them to a draw indirect buffer works as expected. This is a practial usage of CS." NL
4046 "4. Issue four draw indirect commands." NL "5. Verify that the framebuffer content is as expected.";
4050 return NL "Everything works as expected.";
4223 " with a common set of resources works as expected." NL
4224 "2. Verify that indexing nested structures with built-in variables work as expected." NL
4234 "7. Verify that content of all resources is as expected.";
4238 return NL "Everything works as expected.";
4507 "expected." NL "2. Verify that CS used as a post-processing filter works as expected." NL
4509 "image works as expected.";
4523 return NL "Everything works as expected.";
4669 return NL "1. Verify that CS which process data fedback by VS works as expected." NL
4672 "expected.";
4682 return NL "Everything works as expected.";
4841 return NL "1. Verify that indexing various types of shared memory works as expected." NL
4842 "2. Verify that indexing shared memory with different types of expressions work as expected." NL
4853 return NL "Everyting works as expected.";
4879 "bool CheckMemory(ivec2 xy, float expected) {" NL
4880 " if (g_shared1[xy.y][xy[0]] != expected) return false;" NL
4881 " if (g_shared2[xy[1]][xy[0]] != expected) return false;" NL
4882 " if (g_shared3[gl_LocalInvocationID.y].data[gl_LocalInvocationID.x] != expected) return false;" NL
4883 " if (g_shared4[gl_LocalInvocationID.y].data[xy.x] != expected) return false;" NL
4884 " if (g_shared5[xy.y].data[xy.x] != expected) return false;" NL " return true;" NL "}" NL
4958 return NL "Everything works as expected.";
5048 return NL "Everything works as expected.";
5135 const vec4 expected[4] = { vec4(3.0f), vec4(20.0f), vec4(-100.0f), vec4(400.0f) };
5138 if (!IsEqual(data[i], expected[i]))
5167 " and 8 images in one CS works as expected.";
5175 return NL "Everything works as expected.";
5348 return NL "Verify that selected double precision math functions works as expected in the CS.";
5356 return NL "Everything works as expected.";
5413 const GLdouble expected[4] = { 1.0, 3.0, 1.0, 2.0 };
5419 if (data != expected[i])
5423 << expected[i] << "." << tcu::TestLog::EndMessage;
5448 return NL "1. Verify that all types of double precision uniform variables work as expected in CS." NL
5450 "ProgramUniform* commands." NL "3. Verify that re-linking CS program works as expected.";
5462 return NL "Everything works as expected.";
5676 return NL "Verify that subroutines that performs double precision computation works as expected in the CS.";
5685 return NL "Everything works as expected.";
5756 const GLdouble expected[4] = { 1.0, 2.0, 1.0, 0.1 };
5762 if (fabs(data[i] - expected[i]) > g_color_eps.x())
5766 << expected[i] << "." << tcu::TestLog::EndMessage;
5790 return NL "Verify that DispatchCompute and DispatchComputeIndirect commands work as expected inside "
5804 return NL "Everything works as expected.";