Home
last modified time | relevance | path

Searched refs:vecNdx (Results 1 – 15 of 15) sorted by relevance

/external/deqp/framework/common/
DtcuRandomValueIterator.hpp38 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/
DglsShaderExecUtil.cpp337 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()
981 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToBuffer() local
983 const int srcOffset = (int)sizeof(deUint32)*(elemNdx*scalarSize + vecNdx*numComps); in copyToBuffer()
984 … dstOffset = layout.offset + layout.stride*elemNdx + (isMatrix ? layout.matrixStride*vecNdx : 0); in copyToBuffer()
1008 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyFromBuffer() local
[all …]
DglsUniformBlockCase.cpp641 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() local
643 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp634 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()
725 if (de::inBounds(output.location+vecNdx, 0, (int)attachments.size())) in iterate()
728 … const IVec4 fmtBits = tcu::getTextureFormatBitDepth(attachments[output.location+vecNdx].format); in iterate()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkQueryUtil.hpp298 for (deUint32 vecNdx = 0; vecNdx < 2; ++vecNdx) in validateStructsWithGuard() local
302 if (((deUint8*)(vec[vecNdx]))[ndx + sizeof(Type)] != guardValue) in validateStructsWithGuard()
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp389 for (size_t vecNdx = 0; vecNdx < vec.size(); vecNdx++) in operator <<() local
390 str << (deUint64)vec[vecNdx] << (vecNdx + 1 < vec.size() ? ", " : "]"); in operator <<()
477 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in createMask() local
479 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in createMask()
920 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() local
922 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
1812 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in validateValue() local
1814 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in validateValue()
1870 …result += " (elemNdx=" + de::toString(elemNdx) + " vecNdx=" + de::toString(vecNdx) + " compNdx=" +… in validateValue()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp673 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/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp351 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutputDecl() local
353 decl.name = outVarName + "_" + de::toString(vecNdx); in generateFragShaderOutputDecl()
354 decl.layout.location = location + vecNdx; in generateFragShaderOutputDecl()
378 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutAssign() local
380 …tputPrefix << output->name << "_" << vecNdx << " = floatBitsToUint(" << valuePrefix << output->nam… in generateFragShaderOutAssign()
382 …utputPrefix << output->name << "_" << vecNdx << " = " << packPrefix << valuePrefix << output->name… in generateFragShaderOutAssign()
1788 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToBuffer() local
1790 const int srcOffset = size * (elemNdx * scalarSize + vecNdx * numComps); in copyToBuffer()
1791 …tOffset = layout.offset + layout.stride * elemNdx + (isMatrix ? layout.matrixStride * vecNdx : 0); in copyToBuffer()
1828 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyFromBuffer() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelSharedLayoutCase.cpp105 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() local
/external/deqp/modules/gles2/performance/
Des2pShaderCompilationCases.cpp247 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/
Des3pShaderCompilationCases.cpp247 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/
DglcUniformBlockCase.cpp614 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() local
616 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx * entry.matrixStride : 0); in generateValue()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp754 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() local
756 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp791 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() local
793 deUint8* const vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp751 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() local
753 deUint8* const vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()