Lines Matching refs:IVec2

53 using tcu::IVec2;
149 static tcu::TextureLevel getPixels (const glu::RenderContext& renderCtx, const IVec2& size, const t… in getPixels()
438 virtual void operator() (const IVec2& pixCoord, IVec2 (&dst)[4]) const = 0;
445 MultiplePixelOffsets (const IVec2& a, in MultiplePixelOffsets()
446 const IVec2& b, in MultiplePixelOffsets()
447 const IVec2& c, in MultiplePixelOffsets()
448 const IVec2& d) in MultiplePixelOffsets()
456 void operator() (const IVec2& /* pixCoord */, IVec2 (&dst)[4]) const in operator ()() argument
463 IVec2 m_offsets[4];
469 SinglePixelOffsets (const IVec2& offset) in SinglePixelOffsets()
470 : MultiplePixelOffsets(offset + IVec2(0, 1), in SinglePixelOffsets()
471 offset + IVec2(1, 1), in SinglePixelOffsets()
472 offset + IVec2(1, 0), in SinglePixelOffsets()
473 offset + IVec2(0, 0)) in SinglePixelOffsets()
481 DynamicSinglePixelOffsets (const IVec2& offsetRange) : m_offsetRange(offsetRange) {} in DynamicSinglePixelOffsets()
483 void operator() (const IVec2& pixCoord, IVec2 (&dst)[4]) const in operator ()()
486 …SinglePixelOffsets(tcu::mod(pixCoord.swizzle(1,0), IVec2(offsetRangeSize)) + m_offsetRange.x())(IV… in operator ()()
490 IVec2 m_offsetRange;
513 static inline bool isZeroOffsetOffsets (const IVec2 (&offsets)[4]) in isZeroOffsetOffsets()
515 IVec2 ref[4]; in isZeroOffsetOffsets()
516 SinglePixelOffsets(IVec2(0))(IVec2(), ref); in isZeroOffsetOffsets()
524 …xture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4]) in gatherOffsets()
530 …xture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) in gatherOffsets()
536 …xture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) in gatherOffsets()
543 …ew& texture, const tcu::Sampler& sampler, float refZ, const Vec2& coord, const IVec2 (&offsets)[4]) in gatherOffsetsCompare()
548 …ew& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4]) in gatherOffsetsCompare()
553 …ew& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4]) in gatherOffsetsCompare()
566 const IVec2 (&offsets)[4], in isGatherOffsetsResultValid()
578 const IVec2 (&offsets)[4], in isGatherOffsetsCompareResultValid()
611 IVec2 offsets[4]; in verifyGatherOffsets()
612 getPixelOffsets(IVec2(px, py), offsets); in verifyGatherOffsets()
650 virtual float operator() (const IVec2& pixCoord) const = 0;
656 PixelCompareRefZDefault (const IVec2& renderSize) : m_renderSize(renderSize) {} in PixelCompareRefZDefault()
658 float operator() (const IVec2& pixCoord) const in operator ()()
664 IVec2 m_renderSize;
689 IVec2 offsets[4]; in verifyGatherOffsetsCompare()
690 getPixelOffsets(IVec2(px, py), offsets); in verifyGatherOffsetsCompare()
694 const float refZ = getPixelRefZ(IVec2(px, py)); in verifyGatherOffsetsCompare()
808IVec2 offsets[4]; // \note Unless GATHERTYPE_OFFSETS is used, only offsets[0] is relevant; also, …
813 std::fill(DE_ARRAY_BEGIN(offsets), DE_ARRAY_END(offsets), IVec2()); in GatherArgs()
817 const IVec2& off0 = IVec2(), in GatherArgs()
818 const IVec2& off1 = IVec2(), in GatherArgs()
819 const IVec2& off2 = IVec2(), in GatherArgs()
820 const IVec2& off3 = IVec2()) in GatherArgs()
830 …PixelOffsetsFunctor (GatherType gatherType, const GatherArgs& gatherArgs, const IVec2& offsetRange) in makePixelOffsetsFunctor()
834 const IVec2 offset = gatherType == GATHERTYPE_BASIC ? IVec2(0) : gatherArgs.offsets[0]; in makePixelOffsetsFunctor()
982 IVec2 getOffsetRange (void) const;
1016 static const IVec2 RENDER_SIZE;
1020 …nst tcu::TextureFormat&, const GatherArgs&, const string& refZExpr, const IVec2& offsetRange, int …
1021 …e, const tcu::TextureFormat&, const GatherArgs&, const string& refZExpr, const IVec2& offsetRange);
1033 const IVec2 TextureGatherCase::RENDER_SIZE = IVec2(64, 64);
1081 IVec2 TextureGatherCase::getOffsetRange (void) const in getOffsetRange()
1086 return IVec2(0); in getOffsetRange()
1091 return IVec2(SPEC_MAX_MIN_OFFSET, in getOffsetRange()
1096 return IVec2(m_context.getContextInfo().getInt(GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET), in getOffsetRange()
1102 return IVec2(-1); in getOffsetRange()
1162 …extureFormat, const GatherArgs& gatherArgs, const string& refZExpr, const IVec2& offsetRange, int … in genGatherFuncCall()
1236 const IVec2& offsetRange) in genProgramSources()
1265 const IVec2 offsetRange = getOffsetRange(); in init()
1564 …erations (GatherType gatherType, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange) in generateBasic2DCaseIterations()
1586 result.push_back(GatherArgs(componentNdx, IVec2(min, max))); in generateBasic2DCaseIterations()
1590 result.push_back(GatherArgs(componentNdx, IVec2(min, min))); in generateBasic2DCaseIterations()
1591 result.push_back(GatherArgs(componentNdx, IVec2(max, min))); in generateBasic2DCaseIterations()
1592 result.push_back(GatherArgs(componentNdx, IVec2(max, max))); in generateBasic2DCaseIterations()
1594 result.push_back(GatherArgs(componentNdx, IVec2(0, hmax))); in generateBasic2DCaseIterations()
1595 result.push_back(GatherArgs(componentNdx, IVec2(hmin, 0))); in generateBasic2DCaseIterations()
1596 result.push_back(GatherArgs(componentNdx, IVec2(0, 0))); in generateBasic2DCaseIterations()
1614 IVec2(min, min), in generateBasic2DCaseIterations()
1615 IVec2(min, max), in generateBasic2DCaseIterations()
1616 IVec2(max, min), in generateBasic2DCaseIterations()
1617 IVec2(max, max))); in generateBasic2DCaseIterations()
1621 IVec2(min, hmax), in generateBasic2DCaseIterations()
1622 IVec2(hmin, max), in generateBasic2DCaseIterations()
1623 IVec2(0, hmax), in generateBasic2DCaseIterations()
1624 IVec2(hmax, 0))); in generateBasic2DCaseIterations()
1653 const IVec2& textureSize) in TextureGather2DCase()
1669 const IVec2 m_textureSize;
1709 …<< TestLog::Message << "Note: texture level's size is " << IVec2(level.getWidth(), level.getHeight… in createAndUploadTexture()