Lines Matching defs:right

1391 bool Utils::compare(const glw::GLfloat& left, const glw::GLfloat& right)
1395 if (m_epsilon < std::abs(right - left))
3823 "subroutine vec4 routine_type_1(in vec4 left, in vec4 right);\n"
3826 "subroutine bvec4 routine_type_4(in vec4 left, in vec4 right);\n"
3830 "subroutine(routine_type_1) vec4 add(in vec4 left, in vec4 right)\n"
3832 " return left + right;\n"
3835 "subroutine(routine_type_1) vec4 subtract(in vec4 left, in vec4 right)\n"
3837 " return left - right;\n"
3863 "subroutine(routine_type_4) bvec4 are_equal(in vec4 left, in vec4 right)\n"
3865 " return equal(left, right);\n"
3868 "subroutine(routine_type_4) bvec4 are_greater(in vec4 left, in vec4 right)\n"
3870 " return greaterThan(left, right);\n"
4402 "subroutine vec4 routine_type(in vec4 left, in vec4 right);\n"
4405 "subroutine(routine_type) vec4 add(in vec4 left, in vec4 right)\n"
4407 " return left + right;\n"
4410 "subroutine(routine_type) vec4 multiply(in vec4 left, in vec4 right)\n"
4412 " return left * right;\n"
4586 * @param right Right operand
4590 const Utils::vec4<glw::GLfloat>& right, Utils::vec4<glw::GLfloat>& out) const
4594 out.m_x = left.m_x + right.m_x;
4595 out.m_y = left.m_y + right.m_y;
4596 out.m_z = left.m_z + right.m_z;
4597 out.m_w = left.m_w + right.m_w;
4601 out.m_x = left.m_x * right.m_x;
4602 out.m_y = left.m_y * right.m_y;
4603 out.m_z = left.m_z * right.m_z;
4604 out.m_w = left.m_w * right.m_w;
4612 * @param right Right operand
4623 const glw::GLuint combination[4], const Utils::vec4<glw::GLfloat>& left, const Utils::vec4<glw::GLfloat>& right,
4656 calculate(function, combined, right, combined);
4657 calculate(function_inverted, combined_inverted, right, combined_inverted);
4660 calculate(dynamic_function, dynamic, right, dynamic);
4661 calculate(dynamic_function_inverted, dynamic_inverted, right, dynamic_inverted);
4678 * @param right Right operand
4686 const Utils::vec4<glw::GLfloat>& right, const Utils::vec4<glw::GLuint>& indices,
4725 dynamic_values[1] = right;
4726 dynamic_values[2] = right;
4727 dynamic_values[3] = right;
4728 dynamic_values[4] = right;
4828 * @param right Right operand
4834 const Utils::vec4<glw::GLfloat>& right, const Utils::vec4<glw::GLuint>& indices) const
4844 calculate(combination, left, right, indices, expected_results[0], expected_results[1], expected_results[2],
4851 gl.uniform4f(m_uniform_locations[1], right.m_x, right.m_y, right.m_z, right.m_w);
4913 logError(combination, left, right, indices, expected_results, vec4_results, array_length, results);
5399 "bool are_same(in vec4 left, in vec4 right)\n"
5403 " result.x = (left.x == right.x);\n"
5404 " result.y = (left.y == right.y);\n"
5405 " result.z = (left.z == right.z);\n"
5406 " result.w = (left.w == right.w);\n"
5411 "bool are_different(in vec4 left, in vec4 right)\n"
5415 " result.x = (left.x != right.x);\n"
5416 " result.y = (left.y != right.y);\n"
5417 " result.z = (left.z != right.z);\n"
5418 " result.w = (left.w != right.w);\n"
5427 "subroutine bool comparison_type(in vec4 left, in vec4 right);\n"
5466 "subroutine(comparison_type) bool check_equal(in vec4 left, in vec4 right)\n"
5468 " return are_same(left, right);\n"
5471 "subroutine(comparison_type) bool check_not_equal(in vec4 left, in vec4 right)\n"
5473 " return are_different(left, right);\n"
6298 * @param right "Right" texture
6300 * @param expected_right_color Expected color of "right" texture
6304 bool FunctionalTest12::testImageDraw(GLuint subroutine_index, Utils::texture& left, Utils::texture& right,
6323 gl.bindImageTexture(1, right.m_id, 0, GL_FALSE, 0, GL_READ_WRITE, GL_RGBA32UI);
6341 if (false == verifyTexture(right, expected_right_color))