Lines Matching defs:reference
434 static bool compareRedChannel (tcu::TestLog& log, const tcu::ConstPixelBufferAccess& result, int reference)
445 if (reference != res)
448 log << TestLog::Message << "ERROR: Expected " << reference << ", got " << res << " at (" << x << ", " << y << ")" << TestLog::EndMessage;
632 TextureLevel reference(TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8), width, height);
633 renderTestPatternReference(reference);
635 levelOk = compareStencilToRed(m_testCtx.getLog(), reference, readLevel);
766 TextureLevel reference (TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8), width, height);
789 renderTestPatternReference(reference);
792 const bool compareOk = compareStencilToRed(m_testCtx.getLog(), reference, result);
824 TextureLevel reference (TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8), width, height);
853 tcu::clearStencil(tcu::getSubregion(reference.getAccess(), x, y, clearW, clearH), stencil);
866 const bool compareOk = compareStencilToRed(m_testCtx.getLog(), reference, result);