Lines Matching refs:componentNdx

553 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4])
555 return texture.gatherOffsets(sampler, coord.x(), coord.y(), componentNdx, offsets).cast<ColorScalarType>();
559 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4])
561 return texture.gatherOffsets(sampler, coord.x(), coord.y(), coord.z(), componentNdx, offsets).cast<ColorScalarType>();
565 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4])
569 return texture.gather(sampler, coord.x(), coord.y(), coord.z(), componentNdx).cast<ColorScalarType>();
594 int componentNdx,
600 return tcu::isGatherResultValid(texture, sampler, prec, coord, componentNdx, result);
623 int componentNdx,
646 const ColorVec idealPix = gatherOffsets<ColorScalarType>(texture, sampler, texCoord, componentNdx, offsets);
654 if (!isGatherOffsetsResultValid(texture, sampler, lookupPrec, texCoord, componentNdx, offsets, resultPix))
809 int componentNdx; // If negative, implicit component index 0 is used (i.e. the parameter is not given).
813 : componentNdx(-1)
823 : componentNdx(comp)
925 const int componentNdx = componentCaseNdx - 1;
930 result.push_back(GatherArgs(componentNdx));
940 result.push_back(GatherArgs(componentNdx, IVec2(min, max)));
944 result.push_back(GatherArgs(componentNdx, IVec2(min, min)));
945 result.push_back(GatherArgs(componentNdx, IVec2(max, min)));
946 result.push_back(GatherArgs(componentNdx, IVec2(max, max)));
948 result.push_back(GatherArgs(componentNdx, IVec2(0, hmax)));
949 result.push_back(GatherArgs(componentNdx, IVec2(hmin, 0)));
950 result.push_back(GatherArgs(componentNdx, IVec2(0, 0)));
957 result.push_back(GatherArgs(componentNdx));
967 result.push_back(GatherArgs(componentNdx,
974 result.push_back(GatherArgs(componentNdx,
1373 const int componentNdx = de::max(0, gatherArgs.componentNdx);
1382 return verifyGatherOffsets<float>(log, rendered, texture, texCoords, sampler, lookupPrec, componentNdx, *pixelOffsets);
1393 return verifyGatherOffsets<deUint32>(log, rendered, texture, texCoords, sampler, lookupPrec, componentNdx, *pixelOffsets);
1395 return verifyGatherOffsets<deInt32>(log, rendered, texture, texCoords, sampler, lookupPrec, componentNdx, *pixelOffsets);
1575 DE_ASSERT(gatherArgs.componentNdx < 0);
1618 if (gatherArgs.componentNdx >= 0)
1620 DE_ASSERT(gatherArgs.componentNdx < 4);
1621 result += ", " + de::toString(gatherArgs.componentNdx);
1850 if (isDepthFormat(textureFormat) || basicIterations[basicNdx].componentNdx == (layerNdx + 2) % 4)
2062 if (isDepthFormat(textureFormat) || basicIterations[basicNdx].componentNdx == cubeFaceI % 4)