/external/deqp/framework/common/ |
H A D | tcuTexLookupVerifier.hpp | 135 bool isGatherOffsetsResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result); 136 bool isGatherOffsetsResultValid (const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result); 137 bool isGatherOffsetsResultValid (const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result); 139 bool isGatherOffsetsResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result); 140 bool isGatherOffsetsResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result); 141 bool isGatherOffsetsResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result); 144 bool isGatherResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const Vec4& result); 145 bool isGatherResultValid (const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& result); 146 bool isGatherResultValid (const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const UVec4& result);
|
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...] |
H A D | tcuRasterizationVerifier.cpp | 866 float calculateIntersectionParameter (const tcu::Vec2 line[2], float w, int componentNdx) 868 DE_ASSERT(componentNdx < 2); 869 if (line[1][componentNdx] == line[0][componentNdx]) 872 return (w - line[0][componentNdx]) / (line[1][componentNdx] - line[0][componentNdx]);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureGatherTests.cpp | 508 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4]) argument 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]) argument 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]) argument 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, offset 545 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 572 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 791 int componentNdx; // If negative, implicit component index 0 is used (i.e. the parameter is not given). member in struct:deqp::gles31::Functional::__anon4905::GatherArgs 1459 const int componentNdx = de::max(0, gatherArgs.componentNdx); local 1506 const int componentNdx = de::max(0, gatherArgs.componentNdx); local 1551 const int componentNdx = componentCaseNdx - 1; local [all...] |
H A D | es31fPrimitiveBoundingBoxTests.cpp | 1428 bool checkAreaNumLines (const tcu::ConstPixelBufferAccess& access, const tcu::IVec4& area, int& floodCounter, int componentNdx, const tcu::IVec2& numLines) const; 1429 deUint8 checkLineContinuity (const tcu::ConstPixelBufferAccess& access, const tcu::IVec2& begin, const tcu::IVec2& end, int componentNdx, int& messageLimitCounter) const; 1430 tcu::IVec2 getNumMinimaMaxima (const tcu::ConstPixelBufferAccess& access, int componentNdx) const; 1431 deUint8 checkLineWidths (const tcu::ConstPixelBufferAccess& access, const tcu::IVec2& begin, const tcu::IVec2& end, int componentNdx, int& floodCounter) const; 2075 bool LineRenderCase::checkAreaNumLines (const tcu::ConstPixelBufferAccess& access, const tcu::IVec4& area, int& messageLimitCounter, int componentNdx, const tcu::IVec2& numLines) const 2079 const tcu::IVec2 numMinimaMaxima = getNumMinimaMaxima(subAccess, componentNdx); 2105 tcu::IVec2 LineRenderCase::getNumMinimaMaxima (const tcu::ConstPixelBufferAccess& access, int componentNdx) const 2117 const int componentValue = access.getPixelInt(x, y)[componentNdx]; 2162 deUint8 LineRenderCase::checkLineContinuity (const tcu::ConstPixelBufferAccess& access, const tcu::IVec2& begin, const tcu::IVec2& end, int componentNdx, int& messageLimitCounter) const 2172 const bool hit = (access.getPixelInt(cursor.x(), cursor.y())[componentNdx] ! [all...] |
H A D | es31fSeparateShaderTests.cpp | 468 for (int componentNdx = 0; componentNdx < NUM_COMPONENTS; ++componentNdx) 470 printFloat(oss, s_quadrants[vertexNdx][componentNdx] * rnd.getInt(4,16) / 16.0); 471 oss << (componentNdx < 1 ? ", " : "");
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineVertexInputTests.cpp | 1181 void writeVertexInputValueSint (deUint8* destPtr, VkFormat format, int componentNdx, deInt32 value) argument 1184 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; 1205 void writeVertexInputValueUint (deUint8* destPtr, VkFormat format, int componentNdx, deUint32 value) argument 1208 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; 1229 void writeVertexInputValueSfloat (deUint8* destPtr, VkFormat format, int componentNdx, float value) argument 1232 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; 1261 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) 1265 if (componentNdx [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::__anon3991::GatherArgs 925 const int componentNdx = componentCaseNdx - 1; local 1373 const int componentNdx = de::max(0, gatherArgs.componentNdx); local [all...] |
/external/deqp/modules/glshared/ |
H A D | glsVertexArrayTests.cpp | 1407 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) 1409 setData(&(data[vertexNdx * stride + Array::inputTypeSize(type) * componentNdx]), type, rnd, min, max); 1746 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) 1750 alignmentSafeAssignment<T>(data + quadNdx * quadStride + stride * 0 + componentStride * componentNdx, val); 1751 alignmentSafeAssignment<T>(data + quadNdx * quadStride + stride * 1 + componentStride * componentNdx, val); 1752 alignmentSafeAssignment<T>(data + quadNdx * quadStride + stride * 2 + componentStride * componentNdx, va [all...] |
H A D | glsDrawTest.cpp | 1590 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) 1592 components[componentNdx] = getRandom<GLType>(rnd, min, max); 1595 if (vertexNdx != 0 && abs(components[componentNdx] - previousComponents[componentNdx]) < minValue<GLType>()) 1598 components[componentNdx] = getRandom<GLType>(rnd, min, max); 1602 for (int componentNdx = 0; componentNdx < componentCount; componentNdx [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fVertexArrayObjectTests.cpp | 349 for (int componentNdx = 0; componentNdx < buffer.componentCount; componentNdx++) 925 for (int componentNdx = 0; componentNdx < buffer.componentCount; componentNdx++)
|