/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fVertexArrayTest.cpp | 529 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 …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsVertexArrayTests.cpp | 708 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in ContextShaderProgram() local 710 m_componentCount[arrayNdx] = getComponentCount(arrays[arrayNdx]->getOutputType()); in ContextShaderProgram() 711 m_attrType[arrayNdx] = mapOutputType(arrays[arrayNdx]->getOutputType()); in ContextShaderProgram() 850 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in genVertexSource() local 853 …hp " << ContextArray::outputTypeToGLType(arrays[arrayNdx]->getOutputType()) << " a_" << arrays[ar… in genVertexSource() 866 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in genVertexSource() local 868 if (arrays[arrayNdx]->getAttribNdx() == 0) in genVertexSource() 870 switch (arrays[arrayNdx]->getOutputType()) in genVertexSource() 921 switch (arrays[arrayNdx]->getOutputType()) in genVertexSource() 925 "\tcolor = color * a_" << arrays[arrayNdx]->getAttribNdx() << ";\n"; in genVertexSource() [all …]
|
D | glsDrawTest.cpp | 1135 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in DrawTestShaderProgram() local 1137 m_componentCount[arrayNdx] = getComponentCount(arrays[arrayNdx]->getOutputType()); in DrawTestShaderProgram() 1138 m_isCoord[arrayNdx] = arrays[arrayNdx]->isPositionAttribute(); in DrawTestShaderProgram() 1139 m_attrType[arrayNdx] = mapOutputType(arrays[arrayNdx]->getOutputType()); in DrawTestShaderProgram() 1253 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in genVertexSource() local 1256 …<< "${VTX_IN} highp " << outputTypeToGLType(arrays[arrayNdx]->getOutputType()) << " a_" << arrayNd… in genVertexSource() 1269 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++) in genVertexSource() local 1271 const bool isPositionAttr = arrays[arrayNdx]->isPositionAttribute(); in genVertexSource() 1275 switch (arrays[arrayNdx]->getOutputType()) in genVertexSource() 1281 "\tcoord += vec2(float(a_" << arrayNdx << "), float(a_" << arrayNdx << "));\n"; in genVertexSource() [all …]
|
D | glsShaderLibraryCase.cpp | 773 …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() 1177 for (int arrayNdx = 0; arrayNdx < numRenderPasses; arrayNdx++) in execute() local 1204 scalars[repNdx*scalarSize + ndx] = val.elements[arrayNdx*scalarSize + ndx].float32; in execute() 1213 float v = (float)val.elements[arrayNdx*scalarSize + ndx].int32; in execute() 1214 DE_ASSERT(val.elements[arrayNdx*scalarSize + ndx].int32 == (int)v); in execute() 1263 setUniformValue(gl, pipelineProgramIDs, refName, val, arrayNdx, m_testCtx.getLog()); in execute() 1273 setUniformValue(gl, pipelineProgramIDs, valueName, val, arrayNdx, m_testCtx.getLog()); in execute() 1325 …log << TestLog::Message << "INCORRECT RESULT for sub-case " << arrayNdx+1 << " of " << numRenderPa… in execute() 1329 dumpValues(log, valueBlock, arrayNdx); in execute()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fVertexArrayTest.cpp | 742 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 …]
|
/third_party/vk-gl-cts/framework/delibs/depool/ |
D | dePoolHashSet.h | 181 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); \
|
D | dePoolHash.h | 431 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); \
|
D | dePoolSet.h | 439 int arrayNdx = 0; \ 452 ARRAYTYPENAME##_set(array, arrayNdx++, slot->keys[elemNdx]); \ 456 DE_ASSERT(arrayNdx == numElements); \
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderLibraryCase.cpp | 124 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 …]
|
D | glcShaderLibraryCase.hpp | 138 void dumpValues(const ValueBlock& valueBlock, int arrayNdx);
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluShaderLibrary.cpp | 1646 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()
|
D | gluShaderLibrary.hpp | 228 void dumpValues (tcu::TestLog& log, const ValueBlock& values, int arrayNdx);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 662 …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() 1213 …st vk::Allocation& dst, const ValueBufferLayout& layout, const vector<Value>& values, int arrayNdx) in writeValuesToMem() argument 1215 copyToLayout(dst.getHostPtr(), layout, values, arrayNdx); in writeValuesToMem()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationUserDefinedIO.cpp | 419 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()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fLayoutBindingTests.cpp | 1766 const int arrayNdx = iterNdx*2 + drawCycle; in iterate() local 1767 gl.uniform1i(m_shaderProgramArrayNdxLoc, arrayNdx); in iterate() 1769 if (!drawAndVerifyResult(m_expectedColors[arrayNdx])) in iterate() 2035 const int arrayNdx = iterNdx*2 + drawCycle; in iterate() local 2036 gl.uniform1i(m_shaderProgramArrayNdxLoc, arrayNdx); in iterate() 2038 if (!drawAndVerifyResult(m_expectedColors[arrayNdx])) in iterate()
|
D | es31fTessellationTests.cpp | 5973 for (int arrayNdx = 0; arrayNdx < arraySize; arrayNdx++) in basicSubobjectAtIndex() local 5983 …return m_interfaceName + "[" + de::toString(arrayNdx) + "]." + m_members[memberNdx].name + de::toS… in basicSubobjectAtIndex()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelinePushConstantTests.cpp | 1523 const std::string arrayNdx = (size == 128u) ? "[7]" in getColorReadStr() local 1526 const std::string colorReadStr = getSwizzleStr(size) + " += matInst.color" + arrayNdx + ";\n"; in getColorReadStr()
|