/external/deqp/framework/delibs/decpp/ |
D | deAppendList.hpp | 175 size_t elementNdx = 0; in ~AppendList() local 185 for (; elementNdx < min(m_numElements, (delBlock->blockNdx+1)*m_blockSize); ++elementNdx) in ~AppendList() 186 delBlock->elements[elementNdx%m_blockSize].~ElementType(); in ~AppendList() 191 DE_ASSERT(elementNdx == m_numElements); in ~AppendList() 199 size_t elementNdx = 0; in clear() local 209 for (; elementNdx < min(m_numElements, (delBlock->blockNdx+1)*m_blockSize); ++elementNdx) in clear() 210 delBlock->elements[elementNdx%m_blockSize].~ElementType(); in clear() 216 DE_ASSERT(elementNdx == m_numElements); in clear() 233 const size_t elementNdx = deAtomicIncrementUSize(&m_numElements) - 1; in append() local 234 const size_t blockNdx = elementNdx / m_blockSize; in append() [all …]
|
D | deArrayBuffer.hpp | 66 T* getElementPtr (size_t elementNdx) throw(); 67 const T* getElementPtr (size_t elementNdx) const throw(); 202 T* ArrayBuffer<T,Alignment,Stride>::getElementPtr (size_t elementNdx) throw() in getElementPtr() argument 204 return (T*)(((deUint8*)m_ptr) + Stride * elementNdx); in getElementPtr() 208 const T* ArrayBuffer<T,Alignment,Stride>::getElementPtr (size_t elementNdx) const throw() in getElementPtr() 210 return (T*)(((deUint8*)m_ptr) + Stride * elementNdx); in getElementPtr()
|
/external/deqp/framework/randomshaders/ |
D | rsgVariableValue.hpp | 98 … (int elementNdx) const { return ConstStridedValueAccess(getType().getElementType(), m_value + St… in arrayElement() 131 …nt elementNdx) { return StridedValueAccess(this->getType().getElementType(), this->m_value + Strid… in arrayElement() argument 209 ConstValueRangeAccess arrayElement (int elementNdx) const; 228 inline ConstValueRangeAccess ConstValueRangeAccess::arrayElement (int elementNdx) const in arrayElement() 230 int offset = m_type->getElementScalarOffset(elementNdx); in arrayElement() 250 ValueRangeAccess arrayElement (int elementNdx); 259 inline ValueRangeAccess ValueRangeAccess::arrayElement (int elementNdx) in arrayElement() argument 261 int offset = m_type->getElementScalarOffset(elementNdx); in arrayElement()
|
D | rsgProgramExecutor.cpp | 142 for (int elementNdx = 0; elementNdx < numElements; elementNdx++) in interpolateVertexInput() local 145 getVertexInterpolationCoords(xd, yd, x, y, elementNdx); in interpolateVertexInput() 146 …nent(elementNdx).asFloat(dstComp) = interpolateVertex(valueRange.getMin().component(elementNdx).as… in interpolateVertexInput()
|
D | rsgVariableType.cpp | 124 int VariableType::getElementScalarOffset (int elementNdx) const in getElementScalarOffset() 127 return elementNdx * getElementType().getScalarSize(); in getElementScalarOffset()
|
D | rsgBinaryOps.cpp | 718 for (int elementNdx = 0; elementNdx < numElements; elementNdx++) in EqualityComparisonOp() local 723 ValueRangeAccess a = this->m_leftValueRange.asAccess().component(elementNdx); in EqualityComparisonOp() 724 ValueRangeAccess b = this->m_rightValueRange.asAccess().component(elementNdx); in EqualityComparisonOp()
|
D | rsgVariableType.hpp | 147 int getElementScalarOffset (int elementNdx) const;
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.cpp | 430 for (int elementNdx = 0; elementNdx < numElements; elementNdx++) in operator <<() local 432 if (elementNdx > 0) in operator <<() 437 …case rsg::VariableType::TYPE_FLOAT: message << value.component(elementNdx).asFloat(); break; in operator <<() 438 case rsg::VariableType::TYPE_INT: message << value.component(elementNdx).asInt(); break; in operator <<() 439 …case rsg::VariableType::TYPE_BOOL: message << (value.component(elementNdx).asBool() ? "true" : "… in operator <<() 440 …case rsg::VariableType::TYPE_SAMPLER_2D: message << value.component(elementNdx).asInt(); bre… in operator <<() 441 …case rsg::VariableType::TYPE_SAMPLER_CUBE: message << value.component(elementNdx).asInt(); b… in operator <<()
|
D | glsUniformBlockCase.cpp | 942 …Src (std::ostringstream& src, const UniformLayoutEntry& entry, const void* basePtr, int elementNdx) in generateValueSrc() argument 947 …const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset + (isArray ? elementNdx*entry.ar… in generateValueSrc() 1032 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++) in generateCompareSrc() local 1034 std::string op = string("[") + de::toString(elementNdx) + "]"; in generateCompareSrc() 1278 for (int elementNdx = 0; elementNdx < dstEntry.size; elementNdx++) in copyUniformData() local 1280 deUint8* dstElemPtr = dstBasePtr + elementNdx*dstEntry.arrayStride; in copyUniformData() 1281 const deUint8* srcElemPtr = srcBasePtr + elementNdx*srcEntry.arrayStride; in copyUniformData()
|
D | glsDrawTest.cpp | 1781 for (int elementNdx = 0; elementNdx < elementCount; ++elementNdx) in createIndices() local 1801 alignmentSafeAssignment<T>(writePtr + elementSize * elementNdx, T(ndx)); in createIndices()
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderer.hpp | 94 size_t getIndex (size_t elementNdx) const; 95 bool isRestartIndex (size_t elementNdx, deUint32 restartIndex) const;
|
D | rrVertexAttrib.cpp | 494 …const int elementNdx = (vertexAttrib.instanceDivisor != 0) ? (instanceNdx / vertexAttrib.instance… in readVertexAttrib() local 497 const int byteOffset = elementNdx*stride; in readVertexAttrib() 514 …const int elementNdx = (vertexAttrib.instanceDivisor != 0) ? (instanceNdx / vertexAttrib.instance… in readVertexAttrib() local 517 const int byteOffset = elementNdx*stride; in readVertexAttrib() 534 …const int elementNdx = (vertexAttrib.instanceDivisor != 0) ? (instanceNdx / vertexAttrib.instance… in readVertexAttrib() local 537 const int byteOffset = elementNdx*stride; in readVertexAttrib()
|
D | rrRenderer.cpp | 1711 size_t PrimitiveList::getIndex (size_t elementNdx) const in getIndex() 1716 int index = m_baseVertex + (int)readIndexArray(m_indexType, m_indices, elementNdx); in getIndex() 1722 return (size_t)(m_baseVertex) + elementNdx; in getIndex() 1725 bool PrimitiveList::isRestartIndex (size_t elementNdx, deUint32 restartIndex) const in isRestartIndex() argument 1729 return readIndexArray(m_indexType, m_indices, elementNdx) == restartIndex; in isRestartIndex() 1731 return elementNdx == (size_t)restartIndex; in isRestartIndex() 1777 for (size_t elementNdx = 0; elementNdx < command.primitives.getNumElements(); ++elementNdx) in drawInstanced() local 1783 while (elementNdx < command.primitives.getNumElements() && in drawInstanced() 1784 …!(command.state.restart.enabled && command.primitives.isRestartIndex(elementNdx, command.state.res… in drawInstanced() 1788 vertexPackets[numVertexPackets]->vertexNdx = (int)command.primitives.getIndex(elementNdx); in drawInstanced() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 1277 for (int elementNdx = 0; elementNdx < dstArraySize; elementNdx++) in copyBufferVarData() local 1279 deUint8* const dstElemPtr = dstTopPtr + elementNdx*dstArrayStride; in copyBufferVarData() 1280 const deUint8* const srcElemPtr = srcTopPtr + elementNdx*srcArrayStride; in copyBufferVarData() 1487 for (int elementNdx = 0; elementNdx < resArraySize; elementNdx++) in compareBufferVarData() local 1489 deUint8* const resElemPtr = resTopPtr + elementNdx*resArrayStride; in compareBufferVarData() 1490 const deUint8* const refElemPtr = refTopPtr + elementNdx*refArrayStride; in compareBufferVarData() 1522 …< refEntry.name << ", top-level ndx " << topElemNdx << ", bottom-level ndx " << elementNdx << ":\n" in compareBufferVarData() 1544 …< refEntry.name << ", top-level ndx " << topElemNdx << ", bottom-level ndx " << elementNdx << ":\n" in compareBufferVarData()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 1499 for (int elementNdx = 0; elementNdx < dstArraySize; elementNdx++) in copyBufferVarData() local 1501 deUint8* const dstElemPtr = dstTopPtr + elementNdx*dstArrayStride; in copyBufferVarData() 1502 const deUint8* const srcElemPtr = srcTopPtr + elementNdx*srcArrayStride; in copyBufferVarData() 1709 for (int elementNdx = 0; elementNdx < resArraySize; elementNdx++) in compareBufferVarData() local 1711 deUint8* const resElemPtr = resTopPtr + elementNdx*resArrayStride; in compareBufferVarData() 1712 const deUint8* const refElemPtr = refTopPtr + elementNdx*refArrayStride; in compareBufferVarData() 1744 …< refEntry.name << ", top-level ndx " << topElemNdx << ", bottom-level ndx " << elementNdx << ":\n" in compareBufferVarData() 1766 …< refEntry.name << ", top-level ndx " << topElemNdx << ", bottom-level ndx " << elementNdx << ":\n" in compareBufferVarData()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 888 …Src (std::ostringstream& src, const UniformLayoutEntry& entry, const void* basePtr, int elementNdx) in generateValueSrc() argument 893 …const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset + (isArray ? elementNdx * entry.… in generateValueSrc() 986 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++) in generateCompareSrc() local 988 std::string op = std::string("[") + de::toString(elementNdx) + "]"; in generateCompareSrc()
|