/external/deqp/framework/common/ |
D | tcuRandomValueIterator.hpp | 38 for (int vecNdx = 0; vecNdx < DE_LENGTH_OF_ARRAY(data)/4; vecNdx++) in getRandomValue() local 42 data[vecNdx*4+compNdx] = ((const deUint8*)&rval)[compNdx]; in getRandomValue()
|
/external/deqp/modules/glshared/ |
D | glsShaderExecUtil.cpp | 337 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutputDecl() local 339 decl.name = outVarName + "_" + de::toString(vecNdx); in generateFragShaderOutputDecl() 340 decl.layout.location = location + vecNdx; in generateFragShaderOutputDecl() 359 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutAssign() local 361 …tputPrefix << output->name << "_" << vecNdx << " = floatBitsToUint(" << valuePrefix << output->nam… in generateFragShaderOutAssign() 363 …t" << outputPrefix << output->name << "_" << vecNdx << " = " << valuePrefix << output->name << "["… in generateFragShaderOutAssign() 980 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToBuffer() local 982 const int srcOffset = (int)sizeof(deUint32)*(elemNdx*scalarSize + vecNdx*numComps); in copyToBuffer() 983 … dstOffset = layout.offset + layout.stride*elemNdx + (isMatrix ? layout.matrixStride*vecNdx : 0); in copyToBuffer() 1007 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyFromBuffer() local [all …]
|
D | glsUniformBlockCase.cpp | 640 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() local 642 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFragmentOutputTests.cpp | 634 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in iterate() local 639 DE_ASSERT(output.location+vecNdx < (int)attachments.size()); in iterate() 640 attachments[output.location+vecNdx].numWrittenChannels = numScalars; in iterate() 641 attachments[output.location+vecNdx].outPrecision = output.precision; in iterate() 650 if (de::inBounds(output.location+vecNdx, 0, (int)attachments.size())) in iterate() 654 …:TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(attachments[output.location+vecNdx].format); in iterate() 685 if (de::inBounds(output.location+vecNdx, 0, (int)attachments.size())) in iterate() 688 … const IVec4 fmtBits = tcu::getTextureFormatBitDepth(attachments[output.location+vecNdx].format); in iterate() 724 if (de::inBounds(output.location+vecNdx, 0, (int)attachments.size())) in iterate() 727 … const IVec4 fmtBits = tcu::getTextureFormatBitDepth(attachments[output.location+vecNdx].format); in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 349 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutputDecl() local 351 decl.name = outVarName + "_" + de::toString(vecNdx); in generateFragShaderOutputDecl() 352 decl.layout.location = location + vecNdx; in generateFragShaderOutputDecl() 376 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutAssign() local 378 …tputPrefix << output->name << "_" << vecNdx << " = floatBitsToUint(" << valuePrefix << output->nam… in generateFragShaderOutAssign() 380 …utputPrefix << output->name << "_" << vecNdx << " = " << packPrefix << valuePrefix << output->name… in generateFragShaderOutAssign() 1749 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToBuffer() local 1752 const int srcOffset = size * (elemNdx * scalarSize + vecNdx * numComps); in copyToBuffer() 1753 …tOffset = layout.offset + layout.stride * elemNdx + (isMatrix ? layout.matrixStride * vecNdx : 0); in copyToBuffer() 1777 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyFromBuffer() local [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 673 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToLayout() local 677 …const deUint32 data = value.elements[arrayNdx*scalarSize + vecNdx*numComps + compNdx].bool32 ? ~0u… in copyToLayout() 679 …deMemcpy((deUint8*)dst + entryLayout.offset + vecNdx*entryLayout.vecStride + compNdx * sizeof(deUi… in copyToLayout() 687 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToLayout() local 688 deMemcpy((deUint8*)dst + entryLayout.offset + vecNdx*entryLayout.vecStride, in copyToLayout() 689 &value.elements[arrayNdx*scalarSize + vecNdx*numComps], in copyToLayout() 1014 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in getVertexAttributeDescriptions() local 1017 const deUint32 offset = (deUint32)(layoutEntry.offset + layoutEntry.vecStride*vecNdx); in getVertexAttributeDescriptions()
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderCompilationCases.cpp | 247 for (int vecNdx = 0; vecNdx < 4; vecNdx++) in combineVec4ToVec16() local 249 const Vec4& srcVec = vecNdx == 0 ? a0 : vecNdx == 1 ? a1 : vecNdx == 2 ? a2 : a3; in combineVec4ToVec16() 251 result[vecNdx*4 + i] = srcVec[i]; in combineVec4ToVec16()
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderCompilationCases.cpp | 247 for (int vecNdx = 0; vecNdx < 4; vecNdx++) in combineVec4ToVec16() local 249 const Vec4& srcVec = vecNdx == 0 ? a0 : vecNdx == 1 ? a1 : vecNdx == 2 ? a2 : a3; in combineVec4ToVec16() 251 result[vecNdx*4 + i] = srcVec[i]; in combineVec4ToVec16()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 619 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() local 621 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx * entry.matrixStride : 0); in generateValue()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 759 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() local 761 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 794 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() local 796 deUint8* const vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 756 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() local 758 deUint8* const vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
|