/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineVertexInputTests.cpp | 1297 void writeVertexInputValueSint (deUint8* destPtr, VkFormat format, int componentNdx, deInt32 value) argument 1300 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; 1321 void writeVertexInputValueUint (deUint8* destPtr, VkFormat format, int componentNdx, deUint32 value) argument 1324 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; 1345 void writeVertexInputValueSfloat (deUint8* destPtr, VkFormat format, int componentNdx, float value) argument 1348 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; 1377 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) 1381 if (componentNdx [all...] |
/external/deqp/framework/common/ |
H A D | tcuTexture.hpp | 451 Vec4 gatherArray2DOffsets (const ConstPixelBufferAccess& src, const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&offsets)[4]); 557 Vec4 gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const; 592 inline Vec4 Texture2DView::gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const argument 594 return gatherArray2DOffsets(m_levels[0], sampler, s, t, 0, componentNdx, offsets); 713 Vec4 gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const; 752 inline Vec4 Texture2D::gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const argument 754 return m_view.gatherOffsets(sampler, s, t, componentNdx, offsets); 779 Vec4 gather (const Sampler& sampler, float s, float t, float r, int componentNdx) const; 811 Vec4 gather (const Sampler& sampler, float s, float t, float r, int componentNdx) const; 838 inline Vec4 TextureCube::gather (const Sampler& sampler, float s, float t, float r, int componentNdx) cons 1021 gatherOffsets(const Sampler& sampler, float s, float t, float r, int componentNdx, const IVec2 (&offsets)[4]) const argument [all...] |
H A D | tcuTexLookupVerifier.cpp | 2351 int componentNdx, 2377 color[offNdx] = lookup<ScalarType>(level, sampler, x, y, coordZ)[componentNdx]; 2392 int componentNdx, 2396 return isGatherOffsetsResultValid(texture.getLevel(0), sampler, prec, coord, 0, componentNdx, offsets, result); 2403 int componentNdx, 2407 return isGatherOffsetsResultValid(texture.getLevel(0), sampler, prec, coord, 0, componentNdx, offsets, result); 2414 int componentNdx, 2418 return isGatherOffsetsResultValid(texture.getLevel(0), sampler, prec, coord, 0, componentNdx, offsets, result); 2426 int componentNdx, 2433 if (isGatherOffsetsResultValid(texture.getLevel(0), sampler, prec, coord.swizzle(0,1), layer, componentNdx, offset 2346 isGatherOffsetsResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, int coordZ, int componentNdx, const IVec2 (&offsets)[4], const Vector<ScalarType, 4>& result) argument 2388 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) argument 2399 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) argument 2410 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) argument 2422 is2DArrayGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vector<ScalarType, 4>& result) argument 2439 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) argument 2450 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) argument 2461 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) argument 2473 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const CubeFaceFloatCoords& coords, int componentNdx, const Vector<ScalarType, 4>& result) argument 2530 isCubeGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const Vector<ScalarType, 4>& result) argument 2556 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const Vec4& result) argument 2566 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& result) argument 2576 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const UVec4& result) argument [all...] |
H A D | tcuTexture.cpp | 2377 static Vec4 fetchGatherArray2DOffsets (const ConstPixelBufferAccess& src, const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&offsets)[4]) argument 2379 DE_ASSERT(de::inBounds(componentNdx, 0, 4)); 2401 result[i] = pixel[componentNdx]; 2407 Vec4 gatherArray2DOffsets (const ConstPixelBufferAccess& src, const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&offsets)[4]) argument 2410 DE_ASSERT(de::inBounds(componentNdx, 0, 4)); 2412 return fetchGatherArray2DOffsets(src, sampler, s, t, depth, componentNdx, offsets); 3309 Vec4 TextureCubeView::gather (const Sampler& sampler, float s, float t, float r, int componentNdx) const 3335 result[i] = sampleColors[sampleIndices[i]][componentNdx]; 3534 Vec4 Texture2DArrayView::gatherOffsets (const Sampler& sampler, float s, float t, float r, int componentNdx, const IVec2 (&offsets)[4]) const 3536 return gatherArray2DOffsets(m_levels[0], sampler, s, t, selectLayer(r), componentNdx, offset [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureGatherTests.cpp | 553 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4]) argument 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]) argument 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]) argument 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, offset 590 isGatherOffsetsResultValid(const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const tcu::Vector<ColorScalarT, 4>& result) argument 617 verifyGatherOffsets(TestLog& log, const ConstPixelBufferAccess& result, const TexViewT& texture, const TexCoordT (&texCoords)[4], const tcu::Sampler& sampler, const PrecType& lookupPrec, int componentNdx, const PixelOffsets& getPixelOffsets) argument 809 int componentNdx; // If negative, implicit component index 0 is used (i.e. the parameter is not given). member in struct:vkt::sr::__anon4525::GatherArgs 925 const int componentNdx = componentCaseNdx - 1; local 1373 const int componentNdx = de::max(0, gatherArgs.componentNdx); local [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureGatherTests.cpp | 524 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4]) argument 526 return texture.gatherOffsets(sampler, coord.x(), coord.y(), componentNdx, offsets).cast<ColorScalarType>(); 530 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) argument 532 return texture.gatherOffsets(sampler, coord.x(), coord.y(), coord.z(), componentNdx, offsets).cast<ColorScalarType>(); 536 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) argument 540 return texture.gather(sampler, coord.x(), coord.y(), coord.z(), componentNdx).cast<ColorScalarType>(); 565 int componentNdx, 571 return tcu::isGatherResultValid(texture, sampler, prec, coord, componentNdx, result); 594 int componentNdx, 617 const ColorVec idealPix = gatherOffsets<ColorScalarType>(texture, sampler, texCoord, componentNdx, offset 561 isGatherOffsetsResultValid(const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const tcu::Vector<ColorScalarT, 4>& result) argument 588 verifyGatherOffsets(TestLog& log, const ConstPixelBufferAccess& result, const TexViewT& texture, const TexCoordT (&texCoords)[4], const tcu::Sampler& sampler, const PrecType& lookupPrec, int componentNdx, const PixelOffsets& getPixelOffsets) argument 807 int componentNdx; // If negative, implicit component index 0 is used (i.e. the parameter is not given). member in struct:deqp::gles31::Functional::__anon5467::GatherArgs 1479 const int componentNdx = de::max(0, gatherArgs.componentNdx); local 1526 const int componentNdx = de::max(0, gatherArgs.componentNdx); local 1571 const int componentNdx = componentCaseNdx - 1; local [all...] |