Lines Matching defs:expected

265 	bool ValidateReadBuffer(int x, int y, int w, int h, const vec4& expected)
281 if (!ColorEqual(display[j * w + i], expected, g_color_eps))
286 << ", " << display[j * w + i].w() << "] should be [" << expected.x() << ", " << expected.y()
287 << ", " << expected.z() << ", " << expected.w() << "]." << tcu::TestLog::EndMessage;
296 bool ValidateReadBufferCenteredQuad(int width, int height, const vec3& expected)
319 if (!ColorEqual(fb[idx], expected, g_color_eps))
500 return "Everything works as expected.";
523 << ", expected: 1, 1, 1 in GL_COMPUTE_WORK_GROUP_SIZE check" << tcu::TestLog::EndMessage;
619 return "Everything works as expected.";
762 return "Everything works as expected.";
925 "4. Verify that DispatchCompute and DispatchComputeIndirect commands work as expected.";
937 return "Everything works as expected.";
1089 return "Everything works as expected.";
1277 return NL "Everything works as expected.";
1440 return NL "Verify that reading/writing GPU memory via image variables work as expected.";
1452 return NL "Everything works as expected.";
1581 << tcu::TestLog::Message << "Got red: " << display[y * kWidth + x].x() << ", expected " << c.x()
1662 "1. Verify that Atomic Counters work as expected in CS." NL
1677 return "Everything works as expected.";
1834 return NL "1. Verify that all types of uniform variables work as expected in CS." NL
1847 return "Everything works as expected.";
2023 return "Everything works as expected.";
2122 uvec3 expected = IndexTo3DCoord(index - 2 * kBufferSize, local_size.x() * num_groups.x(),
2124 expected.x() /= local_size.x();
2125 expected.y() /= local_size.y();
2126 expected.z() /= local_size.z();
2127 if (!IsEqual(result[index], uvec4(expected.x(), expected.y(), expected.z(), 0)))
2138 uvec3 expected = IndexTo3DCoord(index - 3 * kBufferSize, local_size.x() * num_groups.x(),
2140 expected.x() %= local_size.x();
2141 expected.y() %= local_size.y();
2142 expected.z() %= local_size.z();
2143 if (!IsEqual(result[index], uvec4(expected.x(), expected.y(), expected.z(), 0)))
2154 uvec3 expected = IndexTo3DCoord(index - 4 * kBufferSize, local_size.x() * num_groups.x(),
2156 if (!IsEqual(result[index], uvec4(expected.x(), expected.y(), expected.z(), 0)))
2169 const GLuint expected = (coord.x() % local_size.x()) + (coord.y() % local_size.y()) * local_size.x() +
2171 if (!IsEqual(result[index], uvec4(expected)))
2241 return NL "Everything works as expected.";
2493 << "GL_INVALID_OPERATION error expected after attaching shader of the same type."
2502 << "GL_INVALID_OPERATION error expected after attaching shader of the same type."
2528 return NL "1. Verify that building separable CS program works as expected." NL
2529 "2. Verify that program consisting from 4 strings works as expected.";
2540 return "Everything works as expected.";
2619 return NL "1. Verify that shared array of uints works as expected." NL
2633 return "Everything works as expected.";
2758 return "Everything works as expected.";
2874 " just before DispatchComputeIndirect call works as expected." NL
2888 return NL "Everything works as expected.";
2924 bool CheckBinding(GLuint expected)
2931 GLfloat expectedFloat = static_cast<GLfloat>(expected);
2934 if (static_cast<GLuint>(i) != expected)
2939 if (static_cast<GLuint>(i64) != expected)
2949 if (b != (expected != 0 ? GL_TRUE : GL_FALSE))
3061 "2. Verify that DrawArrays and ComputeDispatch commands works as expected in this case.";
3072 return NL "Everything works as expected.";
3179 return NL "Everything works as expected.";
3293 return NL "Everything works as expected.";
3429 return NL "1. Verify that atomicAdd function works as expected with int and uint parameters." NL
3431 "3. Verify that groupMemoryBarrier() and barrier() built-in functions work as expected.";
3442 return NL "Everything works as expected.";
3527 " atomicAnd, atomicOr, atomicXor and atomicCompSwap) works as expected with buffer variables." NL
3541 return NL "Everything works as expected.";
3689 " atomicAnd, atomicOr, atomicXor and atomicCompSwap) works as expected with shared variables." NL
3703 return NL "Everything works as expected.";
3846 return NL "Verify that copying two textures using CS works as expected.";
3854 return NL "Everything works as expected.";
3941 return NL "Verify that CS which runs just before VS and modifies VBO content works as expected.";
3947 "4. Issue draw call command." NL "5. Verify that the framebuffer content is as expected.";
3951 return NL "Everything works as expected.";
4049 "and write them to a draw indirect buffer works as expected. This is a practial usage of CS." NL
4058 "4. Issue four draw indirect commands." NL "5. Verify that the framebuffer content is as expected.";
4062 return NL "Everything works as expected.";
4234 " with a common set of resources works as expected." NL
4235 "2. Verify that indexing nested structures with built-in variables work as expected." NL
4245 "7. Verify that content of all resources is as expected.";
4249 return NL "Everything works as expected.";
4549 "expected." NL "2. Verify that CS used as a post-processing filter works as expected." NL
4551 "image works as expected.";
4565 return NL "Everything works as expected.";
4724 return NL "1. Verify that CS which process data fedback by VS works as expected." NL
4727 "expected.";
4737 return NL "Everything works as expected.";
4903 return NL "1. Verify that indexing various types of shared memory works as expected." NL
4904 "2. Verify that indexing shared memory with different types of expressions work as expected." NL
4915 return NL "Everyting works as expected.";
4941 "bool CheckMemory(ivec2 xy, float expected) {" NL
4942 " if (g_shared1[xy.y][xy[0]] != expected) return false;" NL
4943 " if (g_shared2[xy[1]][xy[0]] != expected) return false;" NL
4944 " if (g_shared3[gl_LocalInvocationID.y].data[gl_LocalInvocationID.x] != expected) return false;" NL
4945 " if (g_shared4[gl_LocalInvocationID.y].data[xy.x] != expected) return false;" NL
4946 " if (g_shared5[xy.y].data[xy.x] != expected) return false;" NL " return true;" NL "}" NL
5036 return NL "Everything works as expected.";
5127 return NL "1. Verify that using 4 SSBOs, 12 UBOs, 8 atomic counters" NL " in one CS works as expected.";
5135 return NL "Everything works as expected.";
5324 << ", expected: 1, 1, 1 in GL_COMPUTE_WORK_GROUP_SIZE check" << tcu::TestLog::EndMessage;