/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.cpp | 466 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(entry.type) : 1; in createMask() local 467 const int vecSize = scalarSize / numVecs; in createMask() 471 DE_ASSERT(scalarSize%numVecs == 0); in createMask() 477 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in createMask() 586 const int numVecs = glu::getDataTypeMatrixNumColumns(basicType); in computeXfbLayout() local 593 fieldSize = numVecs * stride; in computeXfbLayout() 594 fieldSizeForLocation = numVecs * strideForLocation; in computeXfbLayout() 646 const int numVecs = glu::getDataTypeMatrixNumColumns(elemBasicType); in computeXfbLayout() local 648 const int fieldSize = numVecs * type.getArraySize() * stride; in computeXfbLayout() 650 const int fieldSizeForLocation = numVecs * type.getArraySize() * strideForLocation; in computeXfbLayout() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/ |
D | vktMemoryModelSharedLayoutCase.cpp | 96 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(entry.type) : 1; in generateValue() local 97 const int vecSize = scalarSize / numVecs; in generateValue() 99 DE_ASSERT(scalarSize % numVecs == 0); in generateValue() 105 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 458 int numVecs = in computeStd140Layout() local 466 curOffset += numVecs * stride; in computeStd140Layout() 508 int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) : in computeStd140Layout() local 518 entry.arrayStride = stride * numVecs; in computeStd140Layout() 522 curOffset += numVecs * type.getArraySize() * stride; in computeStd140Layout() 601 int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) : in generateValue() local 604 int vecSize = scalarSize / numVecs; in generateValue() 608 DE_ASSERT(scalarSize % numVecs == 0); in generateValue() 614 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() 1797 int numVecs = isMatrix ? (uniform.isRowMajor ? glu::getDataTypeMatrixNumRows(uniform.type) : in checkLayoutBounds() local [all …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderExecUtil.cpp | 332 const int numVecs = glu::getDataTypeMatrixNumColumns(output.varType.getBasicType()); in generateFragShaderOutputDecl() local 337 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutputDecl() 357 const int numVecs = glu::getDataTypeMatrixNumColumns(output->varType.getBasicType()); in generateFragShaderOutAssign() local 359 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutAssign() 940 const int numVecs = glu::getDataTypeMatrixNumColumns(basicType); in computeVarLayout() local 950 curOffset += vecAlignment*numVecs; in computeVarLayout() 976 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(basicType) : 1; in copyToBuffer() local 977 const int numComps = scalarSize / numVecs; in copyToBuffer() 981 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToBuffer() 1003 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(basicType) : 1; in copyFromBuffer() local [all …]
|
D | glsUniformBlockCase.cpp | 486 int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeStd140Layout() local 494 curOffset += numVecs*stride; in computeStd140Layout() 536 int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) in computeStd140Layout() local 546 entry.arrayStride = stride*numVecs; in computeStd140Layout() 550 curOffset += numVecs*type.getArraySize()*stride; in computeStd140Layout() 630 …int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) : glu:… in generateValue() local 631 int vecSize = scalarSize / numVecs; in generateValue() 635 DE_ASSERT(scalarSize%numVecs == 0); in generateValue() 641 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue() 1840 …int numVecs = isMatrix ? (uniform.isRowMajor ? glu::getDataTypeMatrixNumRows(uniform.type)… in checkLayoutBounds() local [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 493 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeReferenceLayout() local 500 curOffset += numVecs*baseAlignment; in computeReferenceLayout() 542 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) in computeReferenceLayout() local 552 entry.arrayStride = vecStride*numVecs; in computeReferenceLayout() 558 curOffset += numVecs*vecStride*type.getArraySize(); in computeReferenceLayout() 630 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) in computeReferenceLayout() local 644 entry.arrayStride = stride*numVecs; in computeReferenceLayout() 650 curOffset += stride*numVecs*topLevelArraySize; in computeReferenceLayout() 735 …const int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) :… in generateValue() local 736 const int vecSize = scalarSize / numVecs; in generateValue() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFragmentOutputTests.cpp | 333 int numVecs = 0; in getNumInputVectors() local 335 numVecs += (i->arrayLength > 0 ? i->arrayLength : 1); in getNumInputVectors() 336 return numVecs; in getNumInputVectors() 631 int numVecs = output.arrayLength > 0 ? output.arrayLength : 1; in iterate() local 634 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in iterate() 787 int numVecs = isArray ? output.arrayLength : 1; in iterate() local 789 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in iterate() 847 const int numVecs = isArray ? output.arrayLength : 1; in iterate() local 849 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in iterate()
|
D | es3fTransformFeedbackTests.cpp | 1474 int numVecs = glu::isDataTypeMatrix(type) ? glu::getDataTypeMatrixNumColumns(type) : 1; in init() local 1476 int maxArrayLen = de::max(1, isSeparateMode ? 4/numComps : maxVecs/numVecs); in init() 1486 numAttributeVectors += arrayLen*numVecs; in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 627 const int numVecs = isMatrix ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd140Layout() local 634 layout.size += alignment*(numVecs-1) + vecSize*int(sizeof(deUint32)); in computeStd140Layout() 649 const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd430Layout() local 656 layout.size += alignment*(numVecs-1) + vecSize*int(sizeof(deUint32)); in computeStd430Layout() 666 const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType) : 1; in copyToLayout() local 673 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToLayout() 687 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToLayout() 1005 const int numVecs = isDataTypeMatrix(basicType) in getVertexAttributeDescriptions() local 1014 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in getVertexAttributeDescriptions()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 345 const int numVecs = glu::getDataTypeMatrixNumColumns(output.varType.getBasicType()); in generateFragShaderOutputDecl() local 350 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutputDecl() 375 const int numVecs = glu::getDataTypeMatrixNumColumns(output->varType.getBasicType()); in generateFragShaderOutAssign() local 377 for (int vecNdx = 0; vecNdx < numVecs; ++vecNdx) in generateFragShaderOutAssign() 1652 const int numVecs = glu::getDataTypeMatrixNumColumns(basicType); in computeVarLayout() local 1662 curOffset += vecAlignment*numVecs; in computeVarLayout() 1779 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(basicType) : 1; in copyToBuffer() local 1780 const int numComps = scalarSize / numVecs; in copyToBuffer() 1785 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in copyToBuffer() 1820 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(basicType) : 1; in copyFromBuffer() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 506 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeReferenceLayout() local 514 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout() 563 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) in computeReferenceLayout() local 573 entry.arrayStride = vecStride*numVecs; in computeReferenceLayout() 657 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) in computeReferenceLayout() local 674 entry.arrayStride = stride*numVecs; in computeReferenceLayout() 775 …const int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) :… in generateValue() local 776 const int vecSize = scalarSize / numVecs; in generateValue() 779 DE_ASSERT(scalarSize%numVecs == 0); in generateValue() 791 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 591 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeReferenceLayout() local 599 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout() 648 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(elemBasicType) in computeReferenceLayout() local 658 entry.arrayStride = vecStride*numVecs; in computeReferenceLayout() 743 …int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) : glu:… in generateValue() local 744 int vecSize = scalarSize / numVecs; in generateValue() 748 DE_ASSERT(scalarSize%numVecs == 0); in generateValue() 754 for (int vecNdx = 0; vecNdx < numVecs; vecNdx++) in generateValue()
|