Lines Matching defs:isOk
111 const bool isOk = boolAll(lessThanEqual(diff, threshold));
113 if (isOk)
145 const bool isOk = boolAll(lessThanEqual(diff, threshold));
147 pixelFoundForReference |= isOk;
158 const bool isOk = boolAll(lessThanEqual(diff, threshold));
160 pixelFoundForResult |= isOk;
214 bool isOk = difference <= threshold;
218 if (!isOk || logMode == COMPARE_LOG_EVERYTHING)
227 if (!isOk)
246 return isOk;
439 bool isOk = boolAll(lessThanEqual(diff, threshold));
443 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z);
526 bool isOk = boolAll(lessThanEqual(diff, threshold));
530 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z);
610 const bool isOk = boolAll(lessThanEqual(diff, threshold));
614 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z);
695 bool isOk = boolAll(lessThanEqual(diff, threshold));
699 errorMask.setPixel(isOk ? IVec4(0, 0xff, 0, 0xff) : IVec4(0xff, 0, 0, 0xff), x, y, z);
939 bool isOk = bilinearCompare(reference, result, errorMask, threshold);
943 if (!isOk || logMode == COMPARE_LOG_EVERYTHING)
948 if (!isOk)
967 return isOk;