Home | History | Annotate | Download | only in functional

Lines Matching refs:GLint64

54 GLint64 expandGLFloatToInteger (GLfloat f)
56 const GLuint64 referenceValue = (GLint64)((f * double(0xFFFFFFFFULL) - 1) / 2);
60 GLint clampToGLint (GLint64 val)
62 return (GLint)de::clamp<GLint64>(val, std::numeric_limits<GLint>::min(), std::numeric_limits<GLint>::max());
456 const GLint64 expectedGLStateMax = StateQueryUtil::roundGLfloatToNearestIntegerHalfUp<GLint64>(reference);
457 const GLint64 expectedGLStateMin = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<GLint64>(reference);
459 StateQueryMemoryWriteGuard<GLint64> state;
480 const GLint64 expectedGLStateMax = expandGLFloatToInteger(reference) + FLOAT_EXPANSION_E_64;
481 const GLint64 expectedGLStateMin = expandGLFloatToInteger(reference) - FLOAT_EXPANSION_E_64;
483 StateQueryMemoryWriteGuard<GLint64> state;
491 testCtx.getLog() << TestLog::Message << "// ERROR: expected in range [" << toHex(expectedGLStateMin) << "," << toHex(expectedGLStateMax) << "]; got " << toHex((GLint64)state) << TestLog::EndMessage;
505 const GLint64 referenceAsGLintMin[] =
510 const GLint64 referenceAsGLintMax[] =
516 StateQueryMemoryWriteGuard<GLint64[2]> floatVector2;
543 const GLint64 referenceAsGLintMin[] =
550 const GLint64 referenceAsGLintMax[] =
558 StateQueryMemoryWriteGuard<GLint64[4]> floatVector4;
590 const GLint64 testRangeAsGLint[] =
592 StateQueryUtil::roundGLfloatToNearestIntegerHalfUp<GLint64>(min),
593 StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<GLint64>(max)
596 StateQueryMemoryWriteGuard<GLint64[2]> range;