/external/deqp/framework/delibs/depool/ |
D | dePoolHash.h | 282 int elemNdx; \ 283 for (elemNdx = 0; elemNdx < slot->numUsed; elemNdx++) \ 286 if (!TYPENAME##_insert(hash, slot->keys[elemNdx], slot->values[elemNdx])) \ 307 int elemNdx; \ 308 for (elemNdx = 0; elemNdx < slot->numUsed; elemNdx++) \ 310 if (CMPFUNC(slot->keys[elemNdx], key)) \ 311 return &slot->values[elemNdx]; \ 381 int elemNdx; \ 383 for (elemNdx = 0; elemNdx < slot->numUsed; elemNdx++) \ 385 if (CMPFUNC(slot->keys[elemNdx], key)) \ [all …]
|
D | dePoolSet.h | 290 int elemNdx; \ 291 for (elemNdx = 0; elemNdx < slot->numUsed; elemNdx++) \ 294 if (!TYPENAME##_insert(set, slot->keys[elemNdx])) \ 315 int elemNdx; \ 316 for (elemNdx = 0; elemNdx < slot->numUsed; elemNdx++) \ 318 if (CMPFUNC(slot->keys[elemNdx], key)) \ 389 int elemNdx; \ 391 for (elemNdx = 0; elemNdx < slot->numUsed; elemNdx++) \ 393 if (CMPFUNC(key, slot->keys[elemNdx])) \ 402 slot->keys[elemNdx] = lastSlot->keys[lastSlot->numUsed-1]; \ [all …]
|
D | dePoolHashSet.h | 193 int elemNdx; \ 194 for (elemNdx = 0; elemNdx < slot->numUsed; elemNdx++) \ 197 KEYARRAYTYPENAME##_set(keyArray, arrayNdx, slot->keys[elemNdx]); \ 199 VALUEARRAYTYPENAME##_set(valueArray, arrayNdx, slot->values[elemNdx]); \
|
/external/deqp/framework/randomshaders/ |
D | rsgExecutionContext.cpp | 130 for (int elemNdx = 0; elemNdx < numElems; elemNdx++) in assignMasked() local 131 assignMasked(dst.arrayElement(elemNdx), src.arrayElement(elemNdx), mask); in assignMasked() 151 for (int elemNdx = 0; elemNdx < type.getNumElements(); elemNdx++) in assignMasked() local 153 ExecValueAccess dstElem = dst.component(elemNdx); in assignMasked() 154 ExecConstValueAccess srcElem = src.component(elemNdx); in assignMasked()
|
D | rsgBinaryOps.cpp | 96 for (int elemNdx = 0; elemNdx < m_type.getNumElements(); elemNdx++) in evaluate() local 98 ExecConstValueAccess srcComp = srcValue.component(elemNdx); in evaluate() 99 ExecValueAccess dstComp = dstValue.component(elemNdx); in evaluate() 176 for (int elemNdx = 0; elemNdx < dst.getType().getNumElements(); elemNdx++) in evaluate() local 179 …dst.component(elemNdx).asFloat(compNdx) = ComputeValue()(a.component(elemNdx).asFloat(compNdx),b.c… in evaluate() 189 for (int elemNdx = 0; elemNdx < dst.getType().getNumElements(); elemNdx++) in evaluate() local 192 …dst.component(elemNdx).asBool(compNdx) = EvaluateLessThan()(a.component(elemNdx).asFloat(compNdx),… in evaluate() 396 for (int elemNdx = 0; elemNdx < this->m_type.getNumElements(); elemNdx++) in BinaryVecOp() local 398 ConstValueRangeAccess dst = valueRange.asAccess().component(elemNdx); in BinaryVecOp() 399 …ValueRangeAccess a = this->m_leftValueRange.asAccess().component(elemNdx); // \todo [2011-03-25 … in BinaryVecOp() [all …]
|
D | rsgBuiltinFunctions.hpp | 110 for (int elemNdx = 0; elemNdx < m_inValueRange.getType().getNumElements(); elemNdx++) in evaluate() local 112 ExecConstValueAccess srcComp = srcValue.component(elemNdx); in evaluate() 113 ExecValueAccess dstComp = dstValue.component(elemNdx); in evaluate() 134 for (int elemNdx = 0; elemNdx < valueRange.getType().getNumElements(); elemNdx++) in getWeight() local 136 …ht = GetValueRangeWeight()(valueRange.component(elemNdx).getMin().asFloat(), valueRange.component(… in getWeight()
|
D | rsgExpression.cpp | 835 for (int elemNdx = 0; elemNdx < src.getType().getNumElements(); elemNdx++) in evaluate() local 836 convertExecValue(src.component(elemNdx), dst.component(curScalarNdx++)); in evaluate() 1034 for (int elemNdx = 0; elemNdx < type.getNumElements(); elemNdx++) in computeEntryReadWeight() local 1036 float entryMin = entryValueRange.component(elemNdx).getMin().asFloat(); in computeEntryReadWeight() 1037 float entryMax = entryValueRange.component(elemNdx).getMax().asFloat(); in computeEntryReadWeight() 1038 float readMin = readValueRange.component(elemNdx).getMin().asFloat(); in computeEntryReadWeight() 1039 float readMax = readValueRange.component(elemNdx).getMax().asFloat(); in computeEntryReadWeight() 1062 for (int elemNdx = 0; elemNdx < type.getNumElements(); elemNdx++) in computeEntryReadWeight() local 1064 int entryMin = entryValueRange.component(elemNdx).getMin().asInt(); in computeEntryReadWeight() 1065 int entryMax = entryValueRange.component(elemNdx).getMax().asInt(); in computeEntryReadWeight() [all …]
|
D | rsgShaderGenerator.cpp | 144 for (int elemNdx = 0; elemNdx < valueRange.getType().getNumElements(); elemNdx++) in fillUndefinedComponents() local 146 if (isUndefinedValueRange(valueRange.component(elemNdx))) in fillUndefinedComponents() 148 ValueAccess min = valueRange.component(elemNdx).getMin(); in fillUndefinedComponents() 149 ValueAccess max = valueRange.component(elemNdx).getMax(); in fillUndefinedComponents()
|
D | rsgProgramExecutor.cpp | 163 for (int elemNdx = 0; elemNdx < dst.getType().getNumElements(); elemNdx++) in copyVarying() local 164 dst.component(elemNdx).asFloat() = src.component(elemNdx).asFloat(compNdx); in copyVarying()
|
/external/deqp/framework/delibs/decpp/ |
D | deAppendList.cpp | 43 deUint32 elemNdx; member 47 , elemNdx (elemNdx_) in TestElem() 52 , elemNdx (0) in TestElem() 81 for (deUint32 elemNdx = 0; elemNdx < m_shared->numElements; elemNdx++) in run() local 83 if (elemNdx % syncPerElems == 0) in run() 86 m_shared->testList.append(TestElem(m_threadNdx, elemNdx)); in run() 125 DE_TEST_ASSERT(countByThread[elem.threadNdx] == elem.elemNdx); in runAppendListTest()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderLibraryCase.cpp | 134 int elemNdx = (val.arrayLength == 1) ? 0 : (arrayNdx * scalarSize); in setUniformValue() local 139 gl.uniform1fv(loc, 1, &val.elements[elemNdx].float32); in setUniformValue() 142 gl.uniform2fv(loc, 1, &val.elements[elemNdx].float32); in setUniformValue() 145 gl.uniform3fv(loc, 1, &val.elements[elemNdx].float32); in setUniformValue() 148 gl.uniform4fv(loc, 1, &val.elements[elemNdx].float32); in setUniformValue() 151 gl.uniformMatrix2fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); in setUniformValue() 154 gl.uniformMatrix3fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); in setUniformValue() 157 gl.uniformMatrix4fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); in setUniformValue() 160 gl.uniform1iv(loc, 1, &val.elements[elemNdx].int32); in setUniformValue() 163 gl.uniform2iv(loc, 1, &val.elements[elemNdx].int32); in setUniformValue() [all …]
|
D | glcUniformBlockCase.cpp | 530 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeStd140Layout() local 531 … computeStd140Layout(layout, curOffset, curBlockNdx, curPrefix + "[" + de::toString(elemNdx) + "]", in computeStd140Layout() 610 for (int elemNdx = 0; elemNdx < entry.size; elemNdx++) in generateValue() local 612 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx * entry.arrayStride : 0); in generateValue() 938 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc() local 940 src << "\tresult *= compare_" << typeName << "(" << srcName << "[" << elemNdx << "], "; in generateCompareSrc() 941 generateValueSrc(src, entry, basePtr, elemNdx); in generateCompareSrc()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmTypeTests.cpp | 987 for (deUint32 elemNdx = 0; elemNdx < datasize; ++elemNdx) in combine() local 989 if (filter(data[elemNdx])) in combine() 991 inputs.push_back(data[elemNdx]); in combine() 992 outputs.push_back(operation(data[elemNdx])); in combine() 1353 for (deUint32 elemNdx = 0; elemNdx < data.size(); ++elemNdx) in fillResources() local 1355 if (data[elemNdx] == m_cases[0]) in fillResources() 1357 else if (data[elemNdx] == m_cases[1]) in fillResources() 1359 else if (data[elemNdx] == m_cases[2]) in fillResources() 1598 for (deUint32 elemNdx = 0; elemNdx < decorations.size(); ++elemNdx) in createStageTests() local 1599 fragments["decoration"] += decorations[elemNdx]; in createStageTests() [all …]
|
/external/deqp/modules/glshared/ |
D | glsShaderLibraryCase.cpp | 782 const int elemNdx = arrayNdx * scalarSize; in setUniformValue() local 784 DE_ASSERT(elemNdx+scalarSize <= (int)val.elements.size()); in setUniformValue() 798 case TYPE_FLOAT: gl.uniform1fv(loc, 1, &val.elements[elemNdx].float32); break; in setUniformValue() 799 case TYPE_FLOAT_VEC2: gl.uniform2fv(loc, 1, &val.elements[elemNdx].float32); break; in setUniformValue() 800 case TYPE_FLOAT_VEC3: gl.uniform3fv(loc, 1, &val.elements[elemNdx].float32); break; in setUniformValue() 801 case TYPE_FLOAT_VEC4: gl.uniform4fv(loc, 1, &val.elements[elemNdx].float32); break; in setUniformValue() 802 …case TYPE_FLOAT_MAT2: gl.uniformMatrix2fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); brea… in setUniformValue() 803 …case TYPE_FLOAT_MAT3: gl.uniformMatrix3fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); brea… in setUniformValue() 804 …case TYPE_FLOAT_MAT4: gl.uniformMatrix4fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); brea… in setUniformValue() 805 case TYPE_INT: gl.uniform1iv(loc, 1, &val.elements[elemNdx].int32); break; in setUniformValue() [all …]
|
D | glsUniformBlockCase.cpp | 558 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeStd140Layout() local 559 …computeStd140Layout(layout, curOffset, curBlockNdx, curPrefix + "[" + de::toString(elemNdx) + "]",… in computeStd140Layout() 637 for (int elemNdx = 0; elemNdx < entry.size; elemNdx++) in generateValue() local 639 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx*entry.arrayStride : 0); in generateValue() 1017 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc() local 1019 src << "\tresult *= compare_" << typeName << "(" << srcName << "[" << elemNdx << "], "; in generateCompareSrc() 1020 generateValueSrc(src, entry, basePtr, elemNdx); in generateCompareSrc()
|
D | glsShaderExecUtil.cpp | 979 for (int elemNdx = 0; elemNdx < numValues; elemNdx++) in copyToBuffer() local 983 const int srcOffset = (int)sizeof(deUint32)*(elemNdx*scalarSize + vecNdx*numComps); in copyToBuffer() 984 …const int dstOffset = layout.offset + layout.stride*elemNdx + (isMatrix ? layout.matrixStride*ve… in copyToBuffer() 1006 for (int elemNdx = 0; elemNdx < numValues; elemNdx++) in copyFromBuffer() local 1010 …const int srcOffset = layout.offset + layout.stride*elemNdx + (isMatrix ? layout.matrixStride*ve… in copyFromBuffer() 1011 const int dstOffset = (int)sizeof(deUint32)*(elemNdx*scalarSize + vecNdx*numComps); in copyFromBuffer()
|
/external/deqp/executor/ |
D | xeContainerFormatParser.cpp | 209 for (int elemNdx = 0; elemNdx < DE_LENGTH_OF_ARRAY(s_elements); elemNdx++) in parseContainerLine() local 218 int elemChar = s_elements[elemNdx].name[ndx]; in parseContainerLine() 234 m_element = s_elements[elemNdx].element; in parseContainerLine()
|
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.cpp | 473 for (int elemNdx = 0; elemNdx < entry.arraySize; elemNdx++) in createMask() local 475 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx*entry.arrayStride : 0); in createMask() 672 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeXfbLayout() local 673 …out, curOffset, curLocation, curBlockNdx, curPrefix + "[" + de::toString(elemNdx) + "]", type.getE… in computeXfbLayout() 916 for (int elemNdx = 0; elemNdx < entry.arraySize; elemNdx++) in generateValue() local 918 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx*entry.arrayStride : 0); in generateValue() 1423 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateAssignment() local 1425 src << "\t" << srcName << "[" << elemNdx << "] = "; in generateAssignment() 1426 generateValueSrc(src, entry, basePtr, elemNdx); in generateAssignment() 1808 for (int elemNdx = 0; elemNdx < entry.arraySize; elemNdx++) in validateValue() local [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkBinaryRegistry.hpp | 116 …inline size_t getPageForElement (size_t elemNdx) const { return elemNdx >> ELEMENTS_PER_PAGE_L… in getPageForElement()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFragmentOutputTests.cpp | 191 for (int elemNdx = 0; elemNdx < output.arrayLength; elemNdx++) in createProgram() local 193 vtx << "in " << interpPrec << " " << typeName << " in" << outNdx << "_" << elemNdx << ";\n" in createProgram() 194 …<< interp << " out " << interpPrec << " " << typeName << " var" << outNdx << "_" << elemNdx << ";\… in createProgram() 195 …frag << interp << " in " << interpPrec << " " << typeName << " var" << outNdx << "_" << elemNdx <<… in createProgram() 221 for (int elemNdx = 0; elemNdx < output.arrayLength; elemNdx++) in createProgram() local 223 vtx << "\tvar" << outNdx << "_" << elemNdx << " = in" << outNdx << "_" << elemNdx << ";\n"; in createProgram() 224 frag << "\tout" << outNdx << "[" << elemNdx << "] = var" << outNdx << "_" << elemNdx << ";\n"; in createProgram()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 585 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout() local 586 …nceLayout(layout, curBlockNdx, curOffset, curPrefix + "[" + de::toString(elemNdx) + "]", type.getE… in computeReferenceLayout() 785 for (int elemNdx = 0; elemNdx < arraySize; elemNdx++) in generateValue() local 787 deUint8* const elemPtr = topElemPtr + elemNdx*arrayStride; in generateValue() 1346 for (int elemNdx = 0; elemNdx < arraySize; elemNdx++) in generateCompareSrc() local 1347 …, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.element(elemNdx), LOAD_FULL_MATRI… in generateCompareSrc() 1446 for (int elemNdx = 0; elemNdx < arraySize; elemNdx++) in generateWriteSrc() local 1447 …, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.element(elemNdx), matrixStoreFlag… in generateWriteSrc() 1727 for (int elemNdx = 0; elemNdx < arraySize; elemNdx++) in copyNonWrittenData() local 1728 …tenData(layout, block, instanceNdx, srcBlockPtr, dstBlockPtr, bufVar, accessPath.element(elemNdx)); in copyNonWrittenData()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 566 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout() local 567 …nceLayout(layout, curBlockNdx, curOffset, curPrefix + "[" + de::toString(elemNdx) + "]", type.getE… in computeReferenceLayout() 747 for (int elemNdx = 0; elemNdx < arraySize; elemNdx++) in generateValue() local 749 deUint8* const elemPtr = topElemPtr + elemNdx*arrayStride; in generateValue() 1130 for (int elemNdx = 0; elemNdx < arraySize; elemNdx++) in generateCompareSrc() local 1131 …c(src, resultVar, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.element(elemNdx)); in generateCompareSrc() 1214 for (int elemNdx = 0; elemNdx < arraySize; elemNdx++) in generateWriteSrc() local 1215 …rateWriteSrc(src, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.element(elemNdx)); in generateWriteSrc() 1587 for (int elemNdx = 0; elemNdx < arraySize; elemNdx++) in copyNonWrittenData() local 1588 …tenData(layout, block, instanceNdx, srcBlockPtr, dstBlockPtr, bufVar, accessPath.element(elemNdx)); in copyNonWrittenData()
|
D | es31fProgramUniformTests.cpp | 850 …int elemNdx; //!< If this is a member of a basic-typed array, elemNdx is the index in that arra… member 865 , elemNdx (elemNdx_) in BasicUniform() 1008 for (int elemNdx = 0; elemNdx < varType.getArraySize(); elemNdx++) in generateBasicUniforms() local 1010 const string indexedName = string("") + varName + "[" + de::toString(elemNdx) + "]"; in generateBasicUniforms() 1013 (m_features & FEATURE_ARRAYUSAGE_ONLY_MIDDLE_INDEX ? elemNdx == size/2 : true); in generateBasicUniforms() 1024 …indexedName.c_str(), elemBasicType, isCurElemActive, value, arrayRootName.c_str(), elemNdx, size)); in generateBasicUniforms() 1271 …const string queryName = m_features & FEATURE_ARRAY_FIRST_ELEM_NAME_NO_INDEX && uniform.elemNdx … in getUniforms() 1352 const bool isArrayMember = uniform.elemNdx >= 0; in assignUniforms() 1353 …yName = m_features & FEATURE_ARRAY_FIRST_ELEM_NAME_NO_INDEX && uniform.elemNdx == 0 ? beforeLast… in assignUniforms() 1355 … : m_features & FEATURE_ARRAYASSIGN_FULL ? (uniform.elemNdx == 0 ? uniform.rootSize : 0) in assignUniforms() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 672 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout() local 673 …nceLayout(layout, curBlockNdx, curOffset, curPrefix + "[" + de::toString(elemNdx) + "]", type.getE… in computeReferenceLayout() 750 for (int elemNdx = 0; elemNdx < entry.size; elemNdx++) in generateValue() local 752 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx*entry.arrayStride : 0); in generateValue() 1482 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc() local 1484 …\tresult *= compare_" << typeName << "(" << castName << "(" << srcName << "[" << elemNdx << "]), "; in generateCompareSrc() 1485 generateValueSrc(src, entry, basePtr, elemNdx); in generateCompareSrc()
|
/external/deqp/modules/gles2/functional/ |
D | es2fUniformApiTests.cpp | 795 …int elemNdx; //!< If this is a member of a basic-typed array, elemNdx is the index in that arra… member 810 , elemNdx (elemNdx_) in BasicUniform() 1020 for (int elemNdx = 0; elemNdx < varType.getArraySize(); elemNdx++) in generateBasicUniforms() local 1022 const string indexedName = string("") + varName + "[" + de::toString(elemNdx) + "]"; in generateBasicUniforms() 1025 (m_features & FEATURE_ARRAYUSAGE_ONLY_MIDDLE_INDEX ? elemNdx == size/2 : true); in generateBasicUniforms() 1037 …indexedName.c_str(), elemBasicType, isCurElemActive, value, arrayRootName.c_str(), elemNdx, size)); in generateBasicUniforms() 1355 …const string queryName = m_features & FEATURE_ARRAY_FIRST_ELEM_NAME_NO_INDEX && uniform.elemNdx … in getUniforms() 1478 const bool isArrayMember = uniform.elemNdx >= 0; in assignUniforms() 1479 …yName = m_features & FEATURE_ARRAY_FIRST_ELEM_NAME_NO_INDEX && uniform.elemNdx == 0 ? beforeLast… in assignUniforms() 1481 … : m_features & FEATURE_ARRAYASSIGN_FULL ? (uniform.elemNdx == 0 ? uniform.rootSize : 0) in assignUniforms() [all …]
|