Home
last modified time | relevance | path

Searched refs:componentNdx (Results 1 – 13 of 13) sorted by relevance

/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp130 …ampler& sampler, const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&…
131 …pler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&…
132 …pler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&…
134 …ampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&…
135 …pler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&…
136 …pler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&…
139 …ampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const Vec4& re…
140 …pler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& r…
141 …pler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const UVec4& r…
DtcuTexture.hpp448 …Access& src, const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&…
554 …Vec4 gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2…
589 …e2DView::gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&… in gatherOffsets() argument
591 return gatherArray2DOffsets(m_levels[0], sampler, s, t, 0, componentNdx, offsets); in gatherOffsets()
710 …Vec4 gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2…
749 inline Vec4 Texture2D::gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, c… in gatherOffsets() argument
751 return m_view.gatherOffsets(sampler, s, t, componentNdx, offsets); in gatherOffsets()
776 Vec4 gather (const Sampler& sampler, float s, float t, float r, int componentNdx) const;
808 Vec4 gather (const Sampler& sampler, float s, float t, float r, int componentNdx) const;
835 …ec4 TextureCube::gather (const Sampler& sampler, float s, float t, float r, int componentNdx) const in gather()
[all …]
DtcuTexLookupVerifier.cpp2351 int componentNdx, in isGatherOffsetsResultValid() argument
2377 color[offNdx] = lookup<ScalarType>(level, sampler, x, y, coordZ)[componentNdx]; in isGatherOffsetsResultValid()
2392 int componentNdx, in isGatherOffsetsResultValid() argument
2396 …return isGatherOffsetsResultValid(texture.getLevel(0), sampler, prec, coord, 0, componentNdx, offs… in isGatherOffsetsResultValid()
2403 int componentNdx, in isGatherOffsetsResultValid() argument
2407 …return isGatherOffsetsResultValid(texture.getLevel(0), sampler, prec, coord, 0, componentNdx, offs… in isGatherOffsetsResultValid()
2414 int componentNdx, in isGatherOffsetsResultValid() argument
2418 …return isGatherOffsetsResultValid(texture.getLevel(0), sampler, prec, coord, 0, componentNdx, offs… in isGatherOffsetsResultValid()
2426 int componentNdx, in is2DArrayGatherOffsetsResultValid() argument
2433 …tValid(texture.getLevel(0), sampler, prec, coord.swizzle(0,1), layer, componentNdx, offsets, resul… in is2DArrayGatherOffsetsResultValid()
[all …]
DtcuTexture.cpp2321 …Access& src, const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&… in fetchGatherArray2DOffsets() argument
2323 DE_ASSERT(de::inBounds(componentNdx, 0, 4)); in fetchGatherArray2DOffsets()
2345 result[i] = pixel[componentNdx]; in fetchGatherArray2DOffsets()
2351 …Access& src, const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&… in gatherArray2DOffsets() argument
2354 DE_ASSERT(de::inBounds(componentNdx, 0, 4)); in gatherArray2DOffsets()
2356 return fetchGatherArray2DOffsets(src, sampler, s, t, depth, componentNdx, offsets); in gatherArray2DOffsets()
3253 Vec4 TextureCubeView::gather (const Sampler& sampler, float s, float t, float r, int componentNdx) … in gather()
3279 result[i] = sampleColors[sampleIndices[i]][componentNdx]; in gather()
3478 …gatherOffsets (const Sampler& sampler, float s, float t, float r, int componentNdx, const IVec2 (&… in gatherOffsets() argument
3480 return gatherArray2DOffsets(m_levels[0], sampler, s, t, selectLayer(r), componentNdx, offsets); in gatherOffsets()
DtcuRasterizationVerifier.cpp866 float calculateIntersectionParameter (const tcu::Vec2 line[2], float w, int componentNdx) in calculateIntersectionParameter() argument
868 DE_ASSERT(componentNdx < 2); in calculateIntersectionParameter()
869 if (line[1][componentNdx] == line[0][componentNdx]) in calculateIntersectionParameter()
872 return (w - line[0][componentNdx]) / (line[1][componentNdx] - line[0][componentNdx]); in calculateIntersectionParameter()
/external/deqp/modules/gles31/functional/
Des31fTextureGatherTests.cpp508 …e2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&… in gatherOffsets() argument
510 …return texture.gatherOffsets(sampler, coord.x(), coord.y(), componentNdx, offsets).cast<ColorScala… in gatherOffsets()
514 …rayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&… in gatherOffsets() argument
516 …return texture.gatherOffsets(sampler, coord.x(), coord.y(), coord.z(), componentNdx, offsets).cast… in gatherOffsets()
520 …ubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&… in gatherOffsets() argument
524 …return texture.gather(sampler, coord.x(), coord.y(), coord.z(), componentNdx).cast<ColorScalarType… in gatherOffsets()
549 int componentNdx, in isGatherOffsetsResultValid() argument
555 return tcu::isGatherResultValid(texture, sampler, prec, coord, componentNdx, result); in isGatherOffsetsResultValid()
578 int componentNdx, in verifyGatherOffsets() argument
601 …Vec idealPix = gatherOffsets<ColorScalarType>(texture, sampler, texCoord, componentNdx, offsets); in verifyGatherOffsets()
[all …]
Des31fPrimitiveBoundingBoxTests.cpp1428 …lBufferAccess& access, const tcu::IVec4& area, int& floodCounter, int componentNdx, const tcu::IVe…
1429 …erAccess& access, const tcu::IVec2& begin, const tcu::IVec2& end, int componentNdx, int& messageLi…
1430 …tcu::IVec2 getNumMinimaMaxima (const tcu::ConstPixelBufferAccess& access, int componentNdx) c…
1431 …erAccess& access, const tcu::IVec2& begin, const tcu::IVec2& end, int componentNdx, int& floodCoun…
2075 …Access& access, const tcu::IVec4& area, int& messageLimitCounter, int componentNdx, const tcu::IVe… in checkAreaNumLines() argument
2079 const tcu::IVec2 numMinimaMaxima = getNumMinimaMaxima(subAccess, componentNdx); in checkAreaNumLines()
2105 …eRenderCase::getNumMinimaMaxima (const tcu::ConstPixelBufferAccess& access, int componentNdx) const in getNumMinimaMaxima()
2117 const int componentValue = access.getPixelInt(x, y)[componentNdx]; in getNumMinimaMaxima()
2162 …erAccess& access, const tcu::IVec2& begin, const tcu::IVec2& end, int componentNdx, int& messageLi… in checkLineContinuity() argument
2172 const bool hit = (access.getPixelInt(cursor.x(), cursor.y())[componentNdx] != 0); in checkLineContinuity()
[all …]
Des31fSeparateShaderTests.cpp468 for (int componentNdx = 0; componentNdx < NUM_COMPONENTS; ++componentNdx) in genVtxShaderSrc() local
470 printFloat(oss, s_quadrants[vertexNdx][componentNdx] * rnd.getInt(4,16) / 16.0); in genVtxShaderSrc()
471 oss << (componentNdx < 1 ? ", " : ""); in genVtxShaderSrc()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexInputTests.cpp1203 void writeVertexInputValueSint (deUint8* destPtr, VkFormat format, int componentNdx, deInt32 value) in writeVertexInputValueSint() argument
1206 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; in writeVertexInputValueSint()
1227 void writeVertexInputValueUint (deUint8* destPtr, VkFormat format, int componentNdx, deUint32 value) in writeVertexInputValueUint() argument
1230 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; in writeVertexInputValueUint()
1251 void writeVertexInputValueSfloat (deUint8* destPtr, VkFormat format, int componentNdx, float value) in writeVertexInputValueSfloat() argument
1254 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; in writeVertexInputValueSfloat()
1283 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) in writeVertexInputValue() local
1287 if (componentNdx == 0) in writeVertexInputValue()
1289 else if (componentNdx == 2) in writeVertexInputValue()
1292 swizzledNdx = componentNdx; in writeVertexInputValue()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp553 …e2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&… in gatherOffsets() argument
555 …return texture.gatherOffsets(sampler, coord.x(), coord.y(), componentNdx, offsets).cast<ColorScala… in gatherOffsets()
559 …rayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&… in gatherOffsets() argument
561 …return texture.gatherOffsets(sampler, coord.x(), coord.y(), coord.z(), componentNdx, offsets).cast… in gatherOffsets()
565 …ubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&… in gatherOffsets() argument
569 …return texture.gather(sampler, coord.x(), coord.y(), coord.z(), componentNdx).cast<ColorScalarType… in gatherOffsets()
594 int componentNdx, in isGatherOffsetsResultValid() argument
600 return tcu::isGatherResultValid(texture, sampler, prec, coord, componentNdx, result); in isGatherOffsetsResultValid()
623 int componentNdx, in verifyGatherOffsets() argument
646 …Vec idealPix = gatherOffsets<ColorScalarType>(texture, sampler, texCoord, componentNdx, offsets); in verifyGatherOffsets()
[all …]
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp1407 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) in generateArray() local
1409 …setData(&(data[vertexNdx * stride + Array::inputTypeSize(type) * componentNdx]), type, rnd, min, m… in generateArray()
1746 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) in createPerQuads() local
1750 …tSafeAssignment<T>(data + quadNdx * quadStride + stride * 0 + componentStride * componentNdx, val); in createPerQuads()
1751 …tSafeAssignment<T>(data + quadNdx * quadStride + stride * 1 + componentStride * componentNdx, val); in createPerQuads()
1752 …tSafeAssignment<T>(data + quadNdx * quadStride + stride * 2 + componentStride * componentNdx, val); in createPerQuads()
1753 …tSafeAssignment<T>(data + quadNdx * quadStride + stride * 3 + componentStride * componentNdx, val); in createPerQuads()
1754 …tSafeAssignment<T>(data + quadNdx * quadStride + stride * 4 + componentStride * componentNdx, val); in createPerQuads()
1755 …tSafeAssignment<T>(data + quadNdx * quadStride + stride * 5 + componentStride * componentNdx, val); in createPerQuads()
DglsDrawTest.cpp1590 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) in createBasicArray() local
1592 components[componentNdx] = getRandom<GLType>(rnd, min, max); in createBasicArray()
1595 …if (vertexNdx != 0 && abs(components[componentNdx] - previousComponents[componentNdx]) < minValue<… in createBasicArray()
1598 components[componentNdx] = getRandom<GLType>(rnd, min, max); in createBasicArray()
1602 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) in createBasicArray() local
1603 previousComponents[componentNdx] = components[componentNdx]; in createBasicArray()
1605 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) in createBasicArray() local
1606 …alignmentSafeAssignment(writePtr + componentNdx*componentSize, components[componentNdx].getValue()… in createBasicArray()
/external/deqp/modules/gles3/functional/
Des3fVertexArrayObjectTests.cpp349 for (int componentNdx = 0; componentNdx < buffer.componentCount; componentNdx++) in createRandomBufferData() local
925 for (int componentNdx = 0; componentNdx < buffer.componentCount; componentNdx++) in createRandomBufferData() local