Home
last modified time | relevance | path

Searched refs:arrayNdx (Results 1 – 21 of 21) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fVertexArrayTest.cpp529 for (int arrayNdx = 0; arrayNdx < arrayCounts[arrayCountNdx]; arrayNdx++) in init() local
583 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName() local
587 << Array::storageToString(spec.arrays[arrayNdx].storage); in getTestName()
599 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in addStorageCases() local
601 if (spec.arrays[arrayNdx].storage != Array::STORAGE_USER) in addStorageCases()
686 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName() local
690 << Array::inputTypeToString(spec.arrays[arrayNdx].inputType) in getTestName()
691 << spec.arrays[arrayNdx].componentCount << "_" in getTestName()
692 << spec.arrays[arrayNdx].stride; in getTestName()
777 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName() local
[all …]
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dtypes.c246 SetModifiers(KeyTypesInfo *info, KeyTypeInfo *type, ExprDef *arrayNdx, in SetModifiers() argument
251 if (arrayNdx) in SetModifiers()
332 SetMapEntry(KeyTypesInfo *info, KeyTypeInfo *type, ExprDef *arrayNdx, in SetMapEntry() argument
337 if (arrayNdx == NULL) in SetMapEntry()
340 if (!ExprResolveModMask(info->ctx, arrayNdx, MOD_BOTH, &info->mods, in SetMapEntry()
422 SetPreserve(KeyTypesInfo *info, KeyTypeInfo *type, ExprDef *arrayNdx, in SetPreserve() argument
427 if (arrayNdx == NULL) in SetPreserve()
430 if (!ExprResolveModMask(info->ctx, arrayNdx, MOD_BOTH, &info->mods, &mods)) in SetPreserve()
518 SetLevelName(KeyTypesInfo *info, KeyTypeInfo *type, ExprDef *arrayNdx, in SetLevelName() argument
524 if (arrayNdx == NULL) in SetLevelName()
[all …]
Dcompat.c466 ExprDef *arrayNdx, ExprDef *value) in SetInterpField() argument
471 if (arrayNdx) in SetInterpField()
482 if (arrayNdx) in SetInterpField()
494 if (arrayNdx) in SetInterpField()
513 if (arrayNdx) in SetInterpField()
532 ExprDef *arrayNdx, ExprDef *value) in SetLedMapField() argument
537 if (arrayNdx) in SetLedMapField()
549 if (arrayNdx) in SetLedMapField()
561 if (arrayNdx) in SetLedMapField()
579 if (arrayNdx) in SetLedMapField()
[all …]
Dsymbols.c616 GetGroupIndex(SymbolsInfo *info, KeyInfo *keyi, ExprDef *arrayNdx, in GetGroupIndex() argument
621 if (arrayNdx == NULL) { in GetGroupIndex()
647 if (!ExprResolveGroup(info->ctx, arrayNdx, ndx_rtrn)) { in GetGroupIndex()
663 AddSymbolsToKey(SymbolsInfo *info, KeyInfo *keyi, ExprDef *arrayNdx, in AddSymbolsToKey() argument
670 if (!GetGroupIndex(info, keyi, arrayNdx, SYMBOLS, &ndx)) in AddSymbolsToKey()
732 AddActionsToKey(SymbolsInfo *info, KeyInfo *keyi, ExprDef *arrayNdx, in AddActionsToKey() argument
740 if (!GetGroupIndex(info, keyi, arrayNdx, ACTIONS, &ndx)) in AddActionsToKey()
803 ExprDef *arrayNdx, ExprDef *value) in SetSymbolsField() argument
816 if (!arrayNdx) { in SetSymbolsField()
820 else if (!ExprResolveGroup(info->ctx, arrayNdx, &ndx)) { in SetSymbolsField()
[all …]
Dkeycodes.c432 ExprDef *arrayNdx; in HandleKeyNameVar() local
434 if (!ExprResolveLhs(info->ctx, stmt->name, &elem, &field, &arrayNdx)) in HandleKeyNameVar()
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp771 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in ContextShaderProgram() local
773 m_componentCount[arrayNdx] = getComponentCount(arrays[arrayNdx]->getOutputType()); in ContextShaderProgram()
774 m_attrType[arrayNdx] = mapOutputType(arrays[arrayNdx]->getOutputType()); in ContextShaderProgram()
913 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in genVertexSource() local
916 …hp " << ContextArray::outputTypeToGLType(arrays[arrayNdx]->getOutputType()) << " a_" << arrays[ar… in genVertexSource()
929 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in genVertexSource() local
931 if (arrays[arrayNdx]->getAttribNdx() == 0) in genVertexSource()
933 switch (arrays[arrayNdx]->getOutputType()) in genVertexSource()
984 switch (arrays[arrayNdx]->getOutputType()) in genVertexSource()
988 "\tcolor = color * a_" << arrays[arrayNdx]->getAttribNdx() << ";\n"; in genVertexSource()
[all …]
DglsDrawTest.cpp1147 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in DrawTestShaderProgram() local
1149 m_componentCount[arrayNdx] = getComponentCount(arrays[arrayNdx]->getOutputType()); in DrawTestShaderProgram()
1150 m_isCoord[arrayNdx] = arrays[arrayNdx]->isPositionAttribute(); in DrawTestShaderProgram()
1151 m_attrType[arrayNdx] = mapOutputType(arrays[arrayNdx]->getOutputType()); in DrawTestShaderProgram()
1265 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in genVertexSource() local
1268 …<< "${VTX_IN} highp " << outputTypeToGLType(arrays[arrayNdx]->getOutputType()) << " a_" << arrayNd… in genVertexSource()
1281 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in genVertexSource() local
1283 const bool isPositionAttr = arrays[arrayNdx]->isPositionAttribute(); in genVertexSource()
1287 switch (arrays[arrayNdx]->getOutputType()) in genVertexSource()
1293 "\tcoord += vec2(float(a_" << arrayNdx << "), float(a_" << arrayNdx << "));\n"; in genVertexSource()
[all …]
DglsShaderLibraryCase.cpp773 …nt32>& pipelinePrograms, const std::string& name, const Value& val, int arrayNdx, tcu::TestLog& lo… in setUniformValue() argument
782 const int elemNdx = arrayNdx * scalarSize; in setUniformValue()
1184 for (int arrayNdx = 0; arrayNdx < numRenderPasses; arrayNdx++) in execute() local
1211 scalars[repNdx*scalarSize + ndx] = val.elements[arrayNdx*scalarSize + ndx].float32; in execute()
1220 float v = (float)val.elements[arrayNdx*scalarSize + ndx].int32; in execute()
1221 DE_ASSERT(val.elements[arrayNdx*scalarSize + ndx].int32 == (int)v); in execute()
1270 setUniformValue(gl, pipelineProgramIDs, refName, val, arrayNdx, m_testCtx.getLog()); in execute()
1280 setUniformValue(gl, pipelineProgramIDs, valueName, val, arrayNdx, m_testCtx.getLog()); in execute()
1332 …log << TestLog::Message << "INCORRECT RESULT for sub-case " << arrayNdx+1 << " of " << numRenderPa… in execute()
1336 dumpValues(log, valueBlock, arrayNdx); in execute()
/external/deqp/modules/gles3/functional/
Des3fVertexArrayTest.cpp742 for (int arrayNdx = 0; arrayNdx < arrayCounts[arrayCountNdx]; arrayNdx++) in init() local
796 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName() local
800 << Array::storageToString(spec.arrays[arrayNdx].storage); in getTestName()
812 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in addStorageCases() local
814 if (spec.arrays[arrayNdx].storage != Array::STORAGE_USER) in addStorageCases()
899 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName() local
903 << Array::inputTypeToString(spec.arrays[arrayNdx].inputType) in getTestName()
904 << spec.arrays[arrayNdx].componentCount << "_" in getTestName()
905 << spec.arrays[arrayNdx].stride; in getTestName()
990 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName() local
[all …]
/external/deqp/framework/delibs/depool/
DdePoolHashSet.h181 int arrayNdx = 0; \
197 KEYARRAYTYPENAME##_set(keyArray, arrayNdx, slot->keys[elemNdx]); \
199 VALUEARRAYTYPENAME##_set(valueArray, arrayNdx, slot->values[elemNdx]); \
200 arrayNdx++; \
205 DE_ASSERT(arrayNdx == numElements); \
DdePoolHash.h431 int arrayNdx = 0; \
447 KEYARRAYTYPENAME##_set(keyArray, arrayNdx, slot->keys[elemNdx]); \
449 VALUEARRAYTYPENAME##_set(valueArray, arrayNdx, slot->values[elemNdx]); \
450 arrayNdx++; \
455 DE_ASSERT(arrayNdx == numElements); \
DdePoolSet.h439 int arrayNdx = 0; \
452 ARRAYTYPENAME##_set(array, arrayNdx++, slot->keys[elemNdx]); \
456 DE_ASSERT(arrayNdx == numElements); \
/external/deqp/external/openglcts/modules/common/
DglcShaderLibraryCase.cpp124 const ShaderCase::Value& val, int arrayNdx) in setUniformValue() argument
134 int elemNdx = (val.arrayLength == 1) ? 0 : (arrayNdx * scalarSize); in setUniformValue()
365 for (int arrayNdx = 0; arrayNdx < valueBlock.arrayLength; arrayNdx++) in execute() local
394 scalars[repNdx * scalarSize + ndx] = val.elements[arrayNdx * scalarSize + ndx].float32; in execute()
403 float v = (float)val.elements[arrayNdx * scalarSize + ndx].int32; in execute()
404 DE_ASSERT(val.elements[arrayNdx * scalarSize + ndx].int32 == (int)v); in execute()
450 setUniformValue(gl, programID, refName, val, arrayNdx); in execute()
456 setUniformValue(gl, programID, valueName, val, arrayNdx); in execute()
485 … << (int)m_valueBlocks.size() << ", sub-case " << arrayNdx + 1 << " of " << valueBlock.arrayLength in execute()
489 dumpValues(valueBlock, arrayNdx); in execute()
[all …]
DglcShaderLibraryCase.hpp139 void dumpValues(const ValueBlock& valueBlock, int arrayNdx);
/external/deqp/framework/opengl/
DgluShaderLibrary.cpp1646 static void dumpValue (tcu::TestLog& log, const Value& val, const char* storageName, int arrayNdx) in dumpValue() argument
1668 int elemNdx = arrayNdx; in dumpValue()
1691 int elemNdx = arrayNdx; in dumpValue()
1707 … dumpValues (tcu::TestLog& log, const vector<Value>& values, const char* storageName, int arrayNdx) in dumpValues() argument
1710 dumpValue(log, values[valNdx], storageName, arrayNdx); in dumpValues()
1713 void dumpValues (tcu::TestLog& log, const ValueBlock& values, int arrayNdx) in dumpValues() argument
1715 dumpValues(log, values.inputs, "input", arrayNdx); in dumpValues()
1716 dumpValues(log, values.outputs, "expected", arrayNdx); in dumpValues()
1717 dumpValues(log, values.uniforms, "uniform", arrayNdx); in dumpValues()
DgluShaderLibrary.hpp228 void dumpValues (tcu::TestLog& log, const ValueBlock& values, int arrayNdx);
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp662 …ToLayout (void* dst, const ValueBufferLayout::Entry& entryLayout, const Value& value, int arrayNdx) in copyToLayout() argument
669 DE_ASSERT(size_t((arrayNdx+1)*scalarSize) <= value.elements.size()); in copyToLayout()
677 …const deUint32 data = value.elements[arrayNdx*scalarSize + vecNdx*numComps + compNdx].bool32 ? ~0u… in copyToLayout()
689 &value.elements[arrayNdx*scalarSize + vecNdx*numComps], in copyToLayout()
694 …opyToLayout (void* dst, const ValueBufferLayout& layout, const vector<Value>& values, int arrayNdx) in copyToLayout() argument
699 copyToLayout(dst, layout.entries[ndx], values[ndx], arrayNdx); in copyToLayout()
1224 …st vk::Allocation& dst, const ValueBufferLayout& layout, const vector<Value>& values, int arrayNdx) in writeValuesToMem() argument
1226 copyToLayout(dst.getHostPtr(), layout, values, arrayNdx); in writeValuesToMem()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationUserDefinedIO.cpp419 for (int arrayNdx = 0; arrayNdx < arraySize; ++arrayNdx) in basicSubobjectAtIndex() local
426 …return m_interfaceName + "[" + de::toString(arrayNdx) + "]." + m_members[memberNdx].name + de::toS… in basicSubobjectAtIndex()
/external/deqp/modules/gles31/functional/
Des31fLayoutBindingTests.cpp1753 const int arrayNdx = iterNdx*2 + drawCycle; in iterate() local
1754 gl.uniform1i(m_shaderProgramArrayNdxLoc, arrayNdx); in iterate()
1756 if (!drawAndVerifyResult(m_expectedColors[arrayNdx])) in iterate()
2022 const int arrayNdx = iterNdx*2 + drawCycle; in iterate() local
2023 gl.uniform1i(m_shaderProgramArrayNdxLoc, arrayNdx); in iterate()
2025 if (!drawAndVerifyResult(m_expectedColors[arrayNdx])) in iterate()
Des31fTessellationTests.cpp5870 for (int arrayNdx = 0; arrayNdx < arraySize; arrayNdx++) in basicSubobjectAtIndex() local
5880 …return m_interfaceName + "[" + de::toString(arrayNdx) + "]." + m_members[memberNdx].name + de::toS… in basicSubobjectAtIndex()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp1496 const std::string arrayNdx = (size == 128u) ? "[7]" in getColorReadStr() local
1499 const std::string colorReadStr = getSwizzleStr(size) + " += matInst.color" + arrayNdx + ";\n";; in getColorReadStr()