/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 471 …gions, DE_NULL, imageAspectFlags, srcTexture.getNumLevels(), srcTexture.getArraySize(), destImage); in uploadTestTextureInternal() 748 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getSize() 772 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getCompressedSize() 785 DE_ASSERT(layer >= 0 && layer < getArraySize()); in getCompressedLevel() 787 return *m_compressedLevels[level * getArraySize() + layer]; in getCompressedLevel() 793 DE_ASSERT(layer >= 0 && layer < getArraySize()); in getCompressedLevel() 795 return *m_compressedLevels[level * getArraySize() + layer]; in getCompressedLevel() 812 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getBufferCopyRegions() 860 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getBufferCopyRegions() 910 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in write() [all …]
|
D | vktPipelineImageUtil.hpp | 171 virtual int getArraySize (void) const { return 1; } in getArraySize() function in vkt::pipeline::TestTexture 237 virtual int getArraySize (void) const; 281 virtual int getArraySize (void) const; 322 virtual int getArraySize (void) const; 344 virtual int getArraySize (void) const;
|
D | vktPipelineImageViewTests.cpp | 78 static int getArraySize (VkImageViewType viewType); 116 const int arraySize = getArraySize(imageViewType); in getImageSamplingInstanceParams() 319 int ImageViewTest::getArraySize (VkImageViewType viewType) in getArraySize() function in vkt::pipeline::__anonee27b3c00111::ImageViewTest 363 const deUint32 arraySize = ImageViewTest::getArraySize(viewType); in createSubresourceRangeTests() 640 arraySize = ImageViewTest::getArraySize(viewType); in createComponentSwizzleTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 545 entry.arraySize = type.getArraySize(); in computeReferenceLayout() 551 curOffset += stride*type.getArraySize(); in computeReferenceLayout() 572 entry.arraySize = type.getArraySize(); in computeReferenceLayout() 579 curOffset += entry.arrayStride*type.getArraySize(); in computeReferenceLayout() 587 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout() 614 …const int topLevelArraySize = varType.getArraySize() == VarType::UNSIZED_ARRAY ? 0 : varType.getA… in computeReferenceLayout() 742 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout() 1004 src << "[" << block.getArraySize() << "]"; in generateDeclaration() 1225 …t arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(ins… in generateCompareSrc() 1286 const int numInstances = isArray ? block.getArraySize() : 1; in generateCompareSrc() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayStencilAttachments.cpp | 74 m_data_array = new glw::GLubyte[getArraySize()]; in init() 76 memset(m_data_array, initial_value, getArraySize() * sizeof(glw::GLubyte)); in init() 104 glw::GLuint CubeMapArrayDataStorage::getArraySize() const in getArraySize() function in glcts::CubeMapArrayDataStorage 217 m_cube_map_array_data[test_index].getArraySize() / m_cube_map_array_data[test_index].getDepth(); in iterate() 606 memset(data, 0, m_cube_map_array_data[test_index].getArraySize() * sizeof(glw::GLubyte)); in fillStencilData()
|
D | esextcTextureCubeMapArrayStencilAttachments.hpp | 62 glw::GLuint getArraySize() const;
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 527 entry.arraySize = type.getArraySize(); in computeReferenceLayout() 533 curOffset += stride*type.getArraySize(); in computeReferenceLayout() 551 entry.arraySize = type.getArraySize(); in computeReferenceLayout() 558 curOffset += numVecs*vecStride*type.getArraySize(); in computeReferenceLayout() 566 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout() 592 …const int topLevelArraySize = varType.getArraySize() == VarType::UNSIZED_ARRAY ? 0 : varType.getA… in computeReferenceLayout() 702 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout() 966 src << "[" << block.getArraySize() << "]"; in generateDeclaration() 1128 …t arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(ins… in generateCompareSrc() 1174 const int numInstances = isArray ? block.getArraySize() : 1; in generateCompareSrc() [all …]
|
D | es31fProgramInterfaceDefinitionUtil.cpp | 203 for (int ndx = 0; ndx < type.getArraySize(); ++ndx) in generateVariableTypeResourceNames() 460 if (varType.getArraySize() != glu::VarType::UNSIZED_ARRAY) in writeVariableReadAccumulateExpression() 462 for (int ndx = 0; ndx < varType.getArraySize(); ++ndx) in writeVariableReadAccumulateExpression() 619 if (varType.getArraySize() != glu::VarType::UNSIZED_ARRAY) in writeVariableWriteExpression() 621 for (int ndx = 0; ndx < varType.getArraySize(); ++ndx) in writeVariableWriteExpression() 912 …const int arraySize = (complexType.getArraySize() == glu::VarType::UNSIZED_ARRAY) ? (1) : (complex… in accumulateComplexType() 1120 …const int arraySize = (type.getArraySize() == glu::VarType::UNSIZED_ARRAY) ? (1) : (type.getArrayS… in getBufferVariableSize() 1271 ? (shader->getDefaultBlock().variables[ndx].varType.getArraySize()) in getFragmentOutputMaxLocation()
|
D | es31fSSBOLayoutCase.hpp | 92 int getArraySize (void) const { return m_arraySize; } in getArraySize() function in deqp::gles31::bb::BufferBlock
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsAttributeLocationTests.cpp | 123 …<< (iter->getArraySize() != Attribute::NOT_ARRAY ? "[" + de::toString(iter->getArraySize()) + "]"… in generateAttributeDefinitions() 148 …const string variableName(attrib.getName() + (attrib.getArraySize() != Attribute::NOT_ARRAY ? "["… in generateToVec4Expression() 185 if (iter->getArraySize() == Attribute::NOT_ARRAY) in generateOutputCode() 189 for (int i = 0; i < iter->getArraySize(); i++) in generateOutputCode() 197 if (iter->getArraySize() == Attribute::NOT_ARRAY) in generateOutputCode() 201 for (int i = 0; i < iter->getArraySize(); i++) in generateOutputCode() 211 if (iter->getArraySize() == Attribute::NOT_ARRAY) in generateOutputCode() 215 for (int i = 0; i < iter->getArraySize(); i++) in generateOutputCode() 547 if (attrib.getArraySize() == Attribute::NOT_ARRAY) in checkActiveAttribQuery() 557 if (size != attrib.getArraySize()) in checkActiveAttribQuery() [all …]
|
D | glsUniformBlockCase.hpp | 89 int getArraySize (void) const { return m_data.array.size; } in getArraySize() function in deqp::gls::ub::VarType 190 int getArraySize (void) const { return m_arraySize; } in getArraySize() function in deqp::gls::ub::UniformBlock
|
D | glsUniformBlockCase.cpp | 521 entry.size = type.getArraySize(); in computeStd140Layout() 525 curOffset += stride*type.getArraySize(); in computeStd140Layout() 545 entry.size = type.getArraySize(); in computeStd140Layout() 550 curOffset += numVecs*type.getArraySize()*stride; in computeStd140Layout() 558 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeStd140Layout() 601 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeStd140Layout() 869 arraySizes.push_back(curType->getArraySize()); in generateDeclaration() 937 src << "[" << block.getArraySize() << "]"; in generateDeclaration() 1017 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc() 1035 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++) in generateCompareSrc() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | UniformBufferTest.cpp | 1935 GLuint getArraySize() { return mArraySize1; } in getArraySize() function in __anon1ac647180111::UniformBlockWithOneLargeArrayMemberTest 2069 const GLuint arraySize = getArraySize(); in TEST_P() 2121 const GLuint arraySize = getArraySize(); in TEST_P() 2178 const GLuint arraySize = getArraySize(); in TEST_P() 2246 const GLuint arraySize = getArraySize(); in TEST_P() 2308 const GLuint arraySize = getArraySize(); in TEST_P() 2370 const GLuint arraySize = getArraySize(); in TEST_P() 2433 const GLuint arraySize = getArraySize(); in TEST_P() 2505 const GLuint arraySize1 = getArraySize(); in TEST_P() 2588 const GLuint arraySize1 = getArraySize(); in TEST_P() [all …]
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluVarTypeUtil.hpp | 260 if (curComp.index+1 < parentType.getArraySize()) in removeTraversed() 330 …isArrayType() || (curType->getArraySize() != VarType::UNSIZED_ARRAY && !de::inBounds(pathIter->ind… in isValidTypePath()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcUniformBlockCase.hpp | 102 int getArraySize(void) const in getArraySize() function in deqp::ub::VarType 258 int getArraySize(void) const in getArraySize() function in deqp::ub::UniformBlock
|
D | glcUniformBlockCase.cpp | 493 entry.size = type.getArraySize(); in computeStd140Layout() 497 curOffset += stride * type.getArraySize(); in computeStd140Layout() 517 entry.size = type.getArraySize(); in computeStd140Layout() 522 curOffset += numVecs * type.getArraySize() * stride; in computeStd140Layout() 530 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeStd140Layout() 572 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeStd140Layout() 780 arraySizes.push_back(curType->getArraySize()); in generateDeclaration() 849 src << "[" << block.getArraySize() << "]"; in generateDeclaration() 938 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc() 957 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++) in generateCompareSrc() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.cpp | 620 const int fieldSize = stride * type.getArraySize(); in computeXfbLayout() 622 const int fieldSizeForLocation = strideForLocation * type.getArraySize(); in computeXfbLayout() 629 entry.arraySize = type.getArraySize(); in computeXfbLayout() 648 const int fieldSize = numVecs * type.getArraySize() * stride; in computeXfbLayout() 650 const int fieldSizeForLocation = numVecs * type.getArraySize() * strideForLocation; in computeXfbLayout() 657 entry.arraySize = type.getArraySize(); in computeXfbLayout() 672 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeXfbLayout() 717 const int numInstances = interfaceBlock.isArray() ? interfaceBlock.getArraySize() : 1; in computeXfbLayout() 1038 arraySizes.push_back(curType->getArraySize()); in generateDeclaration() 1197 src << "[" << block.getArraySize() << "]"; in generateDeclaration() [all …]
|
D | vktTransformFeedbackFuzzLayoutCase.hpp | 91 int getArraySize (void) const { return m_data.array.size; } in getArraySize() function in vkt::TransformFeedback::VarType 201 int getArraySize (void) const { return m_arraySize; } in getArraySize() function in vkt::TransformFeedback::InterfaceBlock
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXAllocaHoisting.cpp | 48 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { in runOnFunction()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.hpp | 98 int getArraySize (void) const { return m_data.array.size; } in getArraySize() function in vkt::ubo::VarType 206 int getArraySize (void) const { return m_arraySize; } in getArraySize() function in vkt::ubo::UniformBlock
|
D | vktUniformBlockCase.cpp | 630 entry.arraySize = type.getArraySize(); in computeReferenceLayout() 636 curOffset += stride*type.getArraySize(); in computeReferenceLayout() 657 entry.arraySize = type.getArraySize(); in computeReferenceLayout() 664 curOffset += entry.arrayStride*type.getArraySize(); in computeReferenceLayout() 672 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout() 711 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout() 1010 arraySizes.push_back(curType->getArraySize()); in generateDeclaration() 1189 src << "[" << block.getArraySize() << "]"; in generateDeclaration() 1482 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc() 1498 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++) in generateCompareSrc() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/ |
D | vktMemoryModelSharedLayoutCase.cpp | 65 entries.push_back(SharedStructVarEntry(elemType.getBasicType(), type.getArraySize())); in computeReferenceLayout() 69 for (int i = 0; i < type.getArraySize(); i++) in computeReferenceLayout() 205 const int arraySize = curType.getArraySize(); in generateSharedMemoryWrites()
|
D | vktMemoryModelSharedLayout.cpp | 156 …var.topLevelArraySize = var.type.getArraySize() == glu::VarType::UNSIZED_ARRAY ? 0 : var.type.getA… in generateSharedMemoryVar()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 186 if (AI.getArraySize()->getType()->isIntegerTy(32)) in simplifyAllocaArraySize() 196 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) { in simplifyAllocaArraySize() 225 if (isa<UndefValue>(AI.getArraySize())) in simplifyAllocaArraySize() 231 if (AI.getArraySize()->getType() != IntPtrTy) { in simplifyAllocaArraySize() 232 Value *V = IC.Builder.CreateIntCast(AI.getArraySize(), IntPtrTy, false); in simplifyAllocaArraySize() 359 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst() 804 ConstantInt *CS = dyn_cast<ConstantInt>(AI->getArraySize()); in isObjectSizeLessThanOrEq()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | ParseHelper.cpp | 544 if(type->getArraySize() == 0) { in constructorErrorCheck() 546 } else if(type->getArraySize() != (int)function.getParamCount()) { in constructorErrorCheck() 1018 if(type.getArraySize() != maxDrawBuffers->getConstPointer()->getIConst()) in declareVariable() 1246 type.setArraySize(initializer->getArraySize()); in executeInitializer() 1310 if (variable->isConstant() && !(type.isArray() && type.getArraySize() > 1)) in executeInitializer() 2272 if (index >= node->getType().getArraySize()) { in addConstArrayNode() 2536 if(index >= baseExpression->getType().getArraySize()) in addIndexExpression() 2543 safeIndex = baseExpression->getType().getArraySize() - 1; in addIndexExpression() 3156 if(left->getArraySize() != right->getArraySize()) in binaryOpCommonCheck() 3552 arraySize = typedThis->getArraySize(); in addFunctionCallOrMethod()
|