• Home
  • Raw
  • Download

Lines Matching refs:IVec2

50 using tcu::IVec2;
470 virtual void operator() (const IVec2& pixCoord, IVec2 (&dst)[4]) const = 0;
477 MultiplePixelOffsets (const IVec2& a, in MultiplePixelOffsets()
478 const IVec2& b, in MultiplePixelOffsets()
479 const IVec2& c, in MultiplePixelOffsets()
480 const IVec2& d) in MultiplePixelOffsets()
488 void operator() (const IVec2& /* pixCoord */, IVec2 (&dst)[4]) const in operator ()() argument
495 IVec2 m_offsets[4];
501 SinglePixelOffsets (const IVec2& offset) in SinglePixelOffsets()
502 : MultiplePixelOffsets(offset + IVec2(0, 1), in SinglePixelOffsets()
503 offset + IVec2(1, 1), in SinglePixelOffsets()
504 offset + IVec2(1, 0), in SinglePixelOffsets()
505 offset + IVec2(0, 0)) in SinglePixelOffsets()
513 DynamicSinglePixelOffsets (const IVec2& offsetRange) : m_offsetRange(offsetRange) {} in DynamicSinglePixelOffsets()
515 void operator() (const IVec2& pixCoord, IVec2 (&dst)[4]) const in operator ()()
518 …SinglePixelOffsets(tcu::mod(pixCoord.swizzle(1,0), IVec2(offsetRangeSize)) + m_offsetRange.x())(IV… in operator ()()
522 IVec2 m_offsetRange;
545 static inline bool isZeroOffsetOffsets (const IVec2 (&offsets)[4]) in isZeroOffsetOffsets()
547 IVec2 ref[4]; in isZeroOffsetOffsets()
548 SinglePixelOffsets(IVec2(0))(IVec2(), ref); in isZeroOffsetOffsets()
556 …xture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4]) in gatherOffsets()
562 …xture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) in gatherOffsets()
568 …xture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) in gatherOffsets()
575 …ew& texture, const tcu::Sampler& sampler, float refZ, const Vec2& coord, const IVec2 (&offsets)[4]) in gatherOffsetsCompare()
580 …ew& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4]) in gatherOffsetsCompare()
585 …ew& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4]) in gatherOffsetsCompare()
598 const IVec2 (&offsets)[4], in isGatherOffsetsResultValid()
610 const IVec2 (&offsets)[4], in isGatherOffsetsCompareResultValid()
643 IVec2 offsets[4]; in verifyGatherOffsets()
644 getPixelOffsets(IVec2(px, py), offsets); in verifyGatherOffsets()
682 virtual float operator() (const IVec2& pixCoord) const = 0;
688 PixelCompareRefZDefault (const IVec2& renderSize) : m_renderSize(renderSize) {} in PixelCompareRefZDefault()
690 float operator() (const IVec2& pixCoord) const in operator ()()
696 IVec2 m_renderSize;
721 IVec2 offsets[4]; in verifyGatherOffsetsCompare()
722 getPixelOffsets(IVec2(px, py), offsets); in verifyGatherOffsetsCompare()
726 const float refZ = getPixelRefZ(IVec2(px, py)); in verifyGatherOffsetsCompare()
813IVec2 offsets[4]; // \note Unless GATHERTYPE_OFFSETS is used, only offsets[0] is relevant; also, …
818 std::fill(DE_ARRAY_BEGIN(offsets), DE_ARRAY_END(offsets), IVec2()); in GatherArgs()
822 const IVec2& off0 = IVec2(), in GatherArgs()
823 const IVec2& off1 = IVec2(), in GatherArgs()
824 const IVec2& off2 = IVec2(), in GatherArgs()
825 const IVec2& off3 = IVec2()) in GatherArgs()
835 …PixelOffsetsFunctor (GatherType gatherType, const GatherArgs& gatherArgs, const IVec2& offsetRange) in makePixelOffsetsFunctor()
839 const IVec2 offset = gatherType == GATHERTYPE_BASIC ? IVec2(0) : gatherArgs.offsets[0]; in makePixelOffsetsFunctor()
928 …gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange) in generateBasic2DCaseIterations()
951 result.push_back(GatherArgs(componentNdx, IVec2(min, max))); in generateBasic2DCaseIterations()
955 result.push_back(GatherArgs(componentNdx, IVec2(min, min))); in generateBasic2DCaseIterations()
956 result.push_back(GatherArgs(componentNdx, IVec2(max, min))); in generateBasic2DCaseIterations()
957 result.push_back(GatherArgs(componentNdx, IVec2(max, max))); in generateBasic2DCaseIterations()
959 result.push_back(GatherArgs(componentNdx, IVec2(0, hmax))); in generateBasic2DCaseIterations()
960 result.push_back(GatherArgs(componentNdx, IVec2(hmin, 0))); in generateBasic2DCaseIterations()
961 result.push_back(GatherArgs(componentNdx, IVec2(0, 0))); in generateBasic2DCaseIterations()
979 IVec2(min, min), in generateBasic2DCaseIterations()
980 IVec2(min, max), in generateBasic2DCaseIterations()
981 IVec2(max, min), in generateBasic2DCaseIterations()
982 IVec2(max, max))); in generateBasic2DCaseIterations()
986 IVec2(min, hmax), in generateBasic2DCaseIterations()
987 IVec2(hmin, max), in generateBasic2DCaseIterations()
988 IVec2(0, hmax), in generateBasic2DCaseIterations()
989 IVec2(hmax, 0))); in generateBasic2DCaseIterations()
1079 IVec2 getOffsetRange (const OffsetSize offsetSize, const vk::VkPhysicalDeviceLimits& deviceLimits) in getOffsetRange()
1084 return IVec2(0); in getOffsetRange()
1088 return IVec2(SPEC_MAX_MIN_OFFSET, in getOffsetRange()
1092 return IVec2(deviceLimits.minTexelGatherOffset, deviceLimits.maxTexelGatherOffset); in getOffsetRange()
1096 return IVec2(-1); in getOffsetRange()
1100 IVec2 getOffsetRange (const OffsetSize offsetSize) in getOffsetRange()
1105 return IVec2(0); in getOffsetRange()
1109 return IVec2(SPEC_MAX_MIN_OFFSET, in getOffsetRange()
1114 return IVec2(-1); in getOffsetRange()
1118 return IVec2(-1); in getOffsetRange()
1151 static const IVec2 RENDER_SIZE;
1160 const IVec2 TextureGatherInstance::RENDER_SIZE = IVec2(64, 64);
1212 …const IVec2 offsetRange = getOffsetRange(m_baseParams.offsetSize, m_context.getDeviceProperties(… in init()
1421 …addUniform(binding++, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, sizeof(tcu::IVec2), gatherArgs.offset… in setupUniforms()
1425 …const IVec2& offsetRange = getOffsetRange(m_baseParams.offsetSize, m_context.getDeviceProperties… in setupUniforms()
1426 …addUniform(binding++, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, sizeof(tcu::IVec2), offsetRange.getPt… in setupUniforms()
1634 const IVec2& offsetRange, in genGatherFuncCall()
1800 …const IVec2& offsetRange = baseParams.offsetSize != OFFSETSIZE_IMPLEMENTATION_MAXIMUM ? getOf… in genGatherPrograms()
1861 const IVec2& textureSize,
1874 const IVec2 m_textureSize;
1882 const IVec2& textureSize, in TextureGather2DInstance()
1926 …<< TestLog::Message << "Note: texture level's size is " << IVec2(level.getWidth(), level.getHeight… in createTexture()
1960 const IVec2& textureSize,
1970 const IVec2 m_textureSize;
1988 const IVec2& textureSize, in TextureGather2DCase()
2005 …setSize != OFFSETSIZE_IMPLEMENTATION_MAXIMUM ? getOffsetRange(m_baseParams.offsetSize) : IVec2(0)); in initPrograms()
2039 const IVec2& offsetRange, in generate2DArrayCaseIterations()
2232 …fsetSize != OFFSETSIZE_IMPLEMENTATION_MAXIMUM ? getOffsetRange(m_baseParams.offsetSize) : IVec2(0), in initPrograms()
2265 …gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange) in generateCubeCaseIterations()
2460 …setSize != OFFSETSIZE_IMPLEMENTATION_MAXIMUM ? getOffsetRange(m_baseParams.offsetSize) : IVec2(0)); in initPrograms()