Lines Matching refs:result
372 tcu::Vector<T, 4> result;
374 result[i] = swizzleColorChannel(src, swizzle.getSwizzle()[i]);
375 return result;
599 const tcu::Vector<ColorScalarT, 4>& result)
603 return tcu::isGatherResultValid(texture, sampler, prec, coord, componentNdx, result);
612 const Vec4& result)
616 return tcu::isGatherCompareResultValid(texture, sampler, prec, coord, cmpReference, result);
621 const ConstPixelBufferAccess& result,
631 const int width = result.getWidth();
632 const int height = result.getWidth();
633 tcu::TextureLevel ideal (result.getFormat(), width, height);
648 const ColorVec resultPix = result.getPixelT<ColorScalarType>(px, py);
665 log << TestLog::ImageSet("VerifyResult", "Verification result")
666 << TestLog::Image("Rendered", "Rendered image", result);
701 const ConstPixelBufferAccess& result,
709 const int width = result.getWidth();
710 const int height = result.getWidth();
727 const Vec4 resultPix = result.getPixel(px, py);
742 log << TestLog::ImageSet("VerifyResult", "Verification result")
743 << TestLog::Image("Rendered", "Rendered image", result);
920 vector<GatherArgs> result;
929 result.push_back(GatherArgs(componentNdx));
939 result.push_back(GatherArgs(componentNdx, IVec2(min, max)));
943 result.push_back(GatherArgs(componentNdx, IVec2(min, min)));
944 result.push_back(GatherArgs(componentNdx, IVec2(max, min)));
945 result.push_back(GatherArgs(componentNdx, IVec2(max, max)));
947 result.push_back(GatherArgs(componentNdx, IVec2(0, hmax)));
948 result.push_back(GatherArgs(componentNdx, IVec2(hmin, 0)));
949 result.push_back(GatherArgs(componentNdx, IVec2(0, 0)));
956 result.push_back(GatherArgs(componentNdx));
966 result.push_back(GatherArgs(componentNdx,
973 result.push_back(GatherArgs(componentNdx,
986 return result;
1320 << "(note that they should have no effect on gather result)"
1397 // Verify result.
1398 bool result = verify(m_currentIteration, getResultImage().getAccess());
1403 if (!result)
1647 string result;
1662 result += "sparseTextureGatherARB";
1666 result += "sparseTextureGatherOffsetARB";
1669 result += "sparseTextureGatherOffsetsARB";
1680 result += "sparseTextureGatherLodAMD";
1684 result += "sparseTextureGatherLodOffsetAMD";
1687 result += "sparseTextureGatherLodOffsetsAMD";
1701 result += "textureGather";
1705 result += "textureGatherOffset";
1708 result += "textureGatherOffsets";
1719 result += "textureGatherLodAMD";
1723 result += "textureGatherLodOffsetAMD";
1726 result += "textureGatherLodOffsetsAMD";
1734 result += "(u_sampler, v_texCoord";
1739 result += ", " + refZExpr;
1744 result += ", " + levelStr;
1751 result += ", ";
1756 result += "u_offset";
1758 result += "ivec2" + de::toString(gatherArgs.offsets[0]);
1763 result += "pixCoord.yx % ivec2(u_offset.y - u_offset.x + 1) + u_offset.x";
1765 result += "pixCoord.yx % ivec2(" + de::toString(offsetRange.y() - offsetRange.x() + 1) + ") + " + de::toString(offsetRange.x());
1770 result += "ivec2[4](\n"
1784 result += ", texel";
1789 result += ", " + de::toString(gatherArgs.componentNdx);
1794 result += ", " + levelStr;
1797 result += ")";
1799 return result;