Lines Matching defs:result

152 	tcu::TextureLevel result(colorBufferFormat, size.x(), size.y());
161 glu::readPixels(renderCtx, 0, 0, result.getAccess());
175 tcu::copy(result.getAccess(), readResult.getAccess());
183 return result;
341 tcu::Vector<T, 4> result;
343 result[i] = swizzleColorChannel(src, swizzle.getSwizzle()[i]);
344 return result;
568 const tcu::Vector<ColorScalarT, 4>& result)
572 return tcu::isGatherResultValid(texture, sampler, prec, coord, componentNdx, result);
581 const Vec4& result)
585 return tcu::isGatherCompareResultValid(texture, sampler, prec, coord, cmpReference, result);
590 const ConstPixelBufferAccess& result,
600 const int width = result.getWidth();
601 const int height = result.getWidth();
602 tcu::TextureLevel ideal (result.getFormat(), width, height);
617 const ColorVec resultPix = result.getPixelT<ColorScalarType>(px, py);
634 log << TestLog::ImageSet("VerifyResult", "Verification result")
635 << TestLog::Image("Rendered", "Rendered image", result);
670 const ConstPixelBufferAccess& result,
678 const int width = result.getWidth();
679 const int height = result.getWidth();
696 const Vec4 resultPix = result.getPixel(px, py);
711 log << TestLog::ImageSet("VerifyResult", "Verification result")
712 << TestLog::Image("Rendered", "Rendered image", result);
725 static bool verifySingleColored (TestLog& log, const ConstPixelBufferAccess& result, const Vec4& refColor)
727 const int width = result.getWidth();
728 const int height = result.getWidth();
740 if (result.getPixel(px, py) != refColor)
747 log << TestLog::ImageSet("VerifyResult", "Verification result")
748 << TestLog::Image("Rendered", "Rendered image", result);
1162 string result;
1167 result += "textureGather";
1171 result += "textureGatherOffset";
1174 result += "textureGatherOffsets";
1180 result += "(u_sampler, v_texCoord";
1185 result += ", " + refZExpr;
1192 result += ", ";
1196 result += "ivec2" + de::toString(gatherArgs.offsets[0]);
1200 result += "pixCoord.yx % ivec2(" + de::toString(offsetRange.y() - offsetRange.x() + 1) + ") + " + de::toString(offsetRange.x());
1204 result += "ivec2[4](\n"
1220 result += ", " + de::toString(gatherArgs.componentNdx);
1223 result += ")";
1225 return result;
1340 "(note that they should have no effect on gather result)")
1452 // Verify result.
1572 vector<GatherArgs> result;
1581 result.push_back(GatherArgs(componentNdx));
1591 result.push_back(GatherArgs(componentNdx, IVec2(min, max)));
1595 result.push_back(GatherArgs(componentNdx, IVec2(min, min)));
1596 result.push_back(GatherArgs(componentNdx, IVec2(max, min)));
1597 result.push_back(GatherArgs(componentNdx, IVec2(max, max)));
1599 result.push_back(GatherArgs(componentNdx, IVec2(0, hmax)));
1600 result.push_back(GatherArgs(componentNdx, IVec2(hmin, 0)));
1601 result.push_back(GatherArgs(componentNdx, IVec2(0, 0)));
1608 result.push_back(GatherArgs(componentNdx));
1618 result.push_back(GatherArgs(componentNdx,
1625 result.push_back(GatherArgs(componentNdx,
1638 return result;