Home | History | Annotate | Download | only in functional

Lines Matching full:componentndx

508 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4])
510 return texture.gatherOffsets(sampler, coord.x(), coord.y(), componentNdx, offsets).cast<ColorScalarType>();
514 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4])
516 return texture.gatherOffsets(sampler, coord.x(), coord.y(), coord.z(), componentNdx, offsets).cast<ColorScalarType>();
520 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4])
524 return texture.gather(sampler, coord.x(), coord.y(), coord.z(), componentNdx).cast<ColorScalarType>();
549 int componentNdx,
555 return tcu::isGatherResultValid(texture, sampler, prec, coord, componentNdx, result);
578 int componentNdx,
601 const ColorVec idealPix = gatherOffsets<ColorScalarType>(texture, sampler, texCoord, componentNdx, offsets);
609 if (!isGatherOffsetsResultValid(texture, sampler, lookupPrec, texCoord, componentNdx, offsets, resultPix))
791 int componentNdx; // If negative, implicit component index 0 is used (i.e. the parameter is not given).
795 : componentNdx(-1)
805 : componentNdx(comp)
1167 DE_ASSERT(gatherArgs.componentNdx < 0);
1200 if (gatherArgs.componentNdx >= 0)
1202 DE_ASSERT(gatherArgs.componentNdx < 4);
1203 result += ", " + de::toString(gatherArgs.componentNdx);
1211 // \note If componentNdx for genProgramSources() is -1, component index is not specified.
1459 const int componentNdx = de::max(0, gatherArgs.componentNdx);
1461 const Vec4 refColor (incompleteColor[componentNdx]);
1466 << incompleteColor[componentNdx] << " is component at index " << componentNdx
1506 const int componentNdx = de::max(0, gatherArgs.componentNdx);
1515 return verifyGatherOffsets<float>(log, rendered, texture, texCoords, sampler, lookupPrec, componentNdx, *pixelOffsets);
1526 return verifyGatherOffsets<deUint32>(log, rendered, texture, texCoords, sampler, lookupPrec, componentNdx, *pixelOffsets);
1528 return verifyGatherOffsets<deInt32>(log, rendered, texture, texCoords, sampler, lookupPrec, componentNdx, *pixelOffsets);
1551 const int componentNdx = componentCaseNdx - 1;
1556 result.push_back(GatherArgs(componentNdx));
1566 result.push_back(GatherArgs(componentNdx, IVec2(min, max)));
1570 result.push_back(GatherArgs(componentNdx, IVec2(min, min)));
1571 result.push_back(GatherArgs(componentNdx, IVec2(max, min)));
1572 result.push_back(GatherArgs(componentNdx, IVec2(max, max)));
1574 result.push_back(GatherArgs(componentNdx, IVec2(0, hmax)));
1575 result.push_back(GatherArgs(componentNdx, IVec2(hmin, 0)));
1576 result.push_back(GatherArgs(componentNdx, IVec2(0, 0)));
1583 result.push_back(GatherArgs(componentNdx));
1593 result.push_back(GatherArgs(componentNdx,
1600 result.push_back(GatherArgs(componentNdx,
1783 if (isDepthFormat(m_textureFormat) || basicIterations[basicNdx].componentNdx == (layerNdx + 2) % 4)
1919 if (isDepthFormat(m_textureFormat) || basicIterations[basicNdx].componentNdx == cubeFaceI % 4)