Home
last modified time | relevance | path

Searched refs:arrayElement (Results 1 – 25 of 33) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.hpp82 unsigned int arrayElement = 0);
92 unsigned int arrayElement = 0);
101 unsigned int arrayElement = 0);
112 unsigned int arrayElement = 0);
120 unsigned int arrayElement = 0);
130 unsigned int arrayElement,
143 unsigned int arrayElement,
152 unsigned int arrayElement,
163 unsigned int arrayElement = 0);
172 unsigned int arrayElement = 0);
[all …]
DvktDrawImageObjectUtil.cpp175 unsigned int arrayElement) in readSurface() argument
181 …read(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, vk::VK_IM… in readSurface()
186 …readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect… in readSurface()
199 unsigned int arrayElement) in readDepth() argument
206 …readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect… in readDepth()
219 unsigned int arrayElement) in readVolume() argument
225 …read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::V… in readVolume()
230 …readUsingBuffer(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, as… in readVolume()
242 unsigned int arrayElement) in readSurface1D() argument
248 …read(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect, vk::VK_IMAGE_T… in readSurface1D()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp39 for (ShaderInterfaceVariableXfbInfo &arrayElement : xfb->arrayElements) in LoadShaderInterfaceVariableXfbInfo()
41 LoadShaderInterfaceVariableXfbInfo(stream, &arrayElement); in LoadShaderInterfaceVariableXfbInfo()
57 for (const ShaderInterfaceVariableXfbInfo &arrayElement : xfb.arrayElements) in SaveShaderInterfaceVariableXfbInfo() local
59 SaveShaderInterfaceVariableXfbInfo(arrayElement, stream); in SaveShaderInterfaceVariableXfbInfo()
439 ASSERT(block.arrayElement == 0); in GetInterfaceBlockArraySize()
447 if (nextBlock.arrayElement != arraySize) in GetInterfaceBlockArraySize()
763 uint32_t arrayElement, in WriteBufferDescriptorSetBinding() argument
789 writeInfoOut->dstArrayElement = arrayElement; in WriteBufferDescriptorSetBinding()
1242 uint32_t arrayElement = block.isArray ? block.arrayElement : 0; in updateBuffersDescriptorSet() local
1274 descriptorType, binding, arrayElement, 0, &bufferInfo, in updateBuffersDescriptorSet()
[all …]
/external/angle/src/compiler/translator/
Dblocklayout.cpp85 for (unsigned int arrayElement = 0u; arrayElement < currentArraySize; ++arrayElement) in TraverseStructArrayVariable() local
87 visitor->enterArrayElement(variable, arrayElement); in TraverseStructArrayVariable()
89 elementVar.indexIntoArray(arrayElement); in TraverseStructArrayVariable()
100 visitor->exitArrayElement(variable, arrayElement); in TraverseStructArrayVariable()
115 for (unsigned int arrayElement = 0u; arrayElement < count; ++arrayElement) in TraverseArrayOfArraysVariable() local
117 visitor->enterArrayElement(variable, arrayElement); in TraverseArrayOfArraysVariable()
120 elementVar.indexIntoArray(arrayElement); in TraverseArrayOfArraysVariable()
139 visitor->exitArrayElement(variable, arrayElement); in TraverseArrayOfArraysVariable()
451 unsigned int arrayElement) in enterArrayElement() argument
454 strstr << "[" << arrayElement << "]"; in enterArrayElement()
[all …]
Dblocklayout.h206 virtual void enterArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) {} in enterArrayElement() argument
207 virtual void exitArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) {} in exitArrayElement() argument
229 void enterArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) override;
230 void exitArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) override;
266 void enterArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) override;
267 void exitArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) override;
DblocklayoutHLSL.cpp139 for (size_t arrayElement = 0; arrayElement < variable.getArraySizeProduct(); arrayElement++) in HLSLVariableRegisterCount() local
DVariablePacker.cpp51 for (unsigned int arrayElement = 0u; arrayElement < currentArraySize; ++arrayElement) in ExpandStructArrayVariable() local
53 const std::string elementName = name + ArrayString(arrayElement); in ExpandStructArrayVariable()
/external/angle/src/libANGLE/
DUniform.cpp131 InterfaceBlock::InterfaceBlock() : isArray(false), arrayElement(0) {} in InterfaceBlock()
142 arrayElement(arrayElementIn), in InterfaceBlock()
154 fullNameStr << "[" << arrayElement << "]"; in nameWithArrayIndex()
166 fullNameStr << "[" << arrayElement << "]"; in mappedNameWithArrayIndex()
DVaryingPacking.cpp493 for (unsigned int arrayElement = 0; arrayElement < arrayElementCount; ++arrayElement) in insertVaryingIntoRegisterMap() local
496 arrayElement != packedVarying.arrayIndex) in insertVaryingIntoRegisterMap()
502 registerInfo.registerRow = registerRow + (arrayElement * varyingRows) + varyingRow; in insertVaryingIntoRegisterMap()
504 registerInfo.varyingArrayIndex = arrayElement; in insertVaryingIntoRegisterMap()
DUniform.h131 unsigned int arrayElement; member
DProgramLinkedResources.cpp1290 for (unsigned int arrayElement = 0; arrayElement < interfaceBlock.elementCount(); in defineInterfaceBlock() local
1291 ++arrayElement) in defineInterfaceBlock()
1297 blockArrayName += ArrayString(arrayElement); in defineInterfaceBlock()
1298 blockMappedArrayName += ArrayString(arrayElement); in defineInterfaceBlock()
1311 (interfaceBlock.binding == -1 ? 0 : interfaceBlock.binding + arrayElement); in defineInterfaceBlock()
1313 interfaceBlock.isArray(), arrayElement, firstFieldArraySize, in defineInterfaceBlock()
DProgram.cpp332 (subscripts.empty() && (!block.isArray || block.arrayElement == 0)); in GetInterfaceBlockIndex()
334 (subscripts.size() == 1 && subscripts[0] == block.arrayElement); in GetInterfaceBlockIndex()
361 blockName += ArrayString(block.arrayElement); in GetInterfaceBlockName()
776 stream->writeInt(block.arrayElement); in WriteInterfaceBlock()
786 block->arrayElement = stream->readInt<unsigned int>(); in LoadInterfaceBlock()
/external/llvm-project/flang/lib/Parser/
Dparse-tree.cpp97 ArrayElement arrayElement{DataRef{Name{name}}, std::list<SectionSubscript>{}}; in MakeArrayElementRef() local
99 arrayElement.subscripts.push_back( in MakeArrayElementRef()
102 return Designator{DataRef{common::Indirection{std::move(arrayElement)}}}; in MakeArrayElementRef()
107 ArrayElement arrayElement{DataRef{common::Indirection{std::move(sc)}}, in MakeArrayElementRef() local
110 arrayElement.subscripts.push_back( in MakeArrayElementRef()
113 return Designator{DataRef{common::Indirection{std::move(arrayElement)}}}; in MakeArrayElementRef()
/external/angle/src/tests/gl_tests/
DUniformTest.cpp764 for (size_t arrayElement = 0; arrayElement < 5; ++arrayElement) in TEST_P() local
766 transposedValues.push_back(1.0f + arrayElement); in TEST_P()
767 transposedValues.push_back(3.0f + arrayElement); in TEST_P()
768 transposedValues.push_back(5.0f + arrayElement); in TEST_P()
769 transposedValues.push_back(2.0f + arrayElement); in TEST_P()
770 transposedValues.push_back(4.0f + arrayElement); in TEST_P()
771 transposedValues.push_back(6.0f + arrayElement); in TEST_P()
780 for (size_t arrayElement = 0; arrayElement < 5; ++arrayElement) in TEST_P() local
783 nameStr << "uniMat3x2[" << arrayElement << "]"; in TEST_P()
795 EXPECT_EQ(static_cast<GLfloat>(comp + 1 + arrayElement), sequentialValues[comp]); in TEST_P()
/external/deqp/framework/randomshaders/
DrsgVariableValue.cpp51 if (!compareValueRangesAllTrue<CompareOp>(a.arrayElement(ndx), b.arrayElement(ndx))) in compareValueRangesAllTrue()
215 computeIntersection(dst.arrayElement(ndx), a.arrayElement(ndx), b.arrayElement(ndx)); in computeIntersection()
DrsgVariableValue.hpp98 …ConstStridedValueAccess arrayElement (int elementNdx) const { return ConstStridedValueAccess(ge… in arrayElement() function in rsg::ConstStridedValueAccess
131 …StridedValueAccess arrayElement (int elementNdx) { return StridedValueAccess(this->getType().ge… in arrayElement() function in rsg::StridedValueAccess
209 ConstValueRangeAccess arrayElement (int elementNdx) const;
228 inline ConstValueRangeAccess ConstValueRangeAccess::arrayElement (int elementNdx) const in arrayElement() function in rsg::ConstValueRangeAccess
250 ValueRangeAccess arrayElement (int elementNdx);
259 inline ValueRangeAccess ValueRangeAccess::arrayElement (int elementNdx) in arrayElement() function in rsg::ValueRangeAccess
DrsgExecutionContext.cpp131 assignMasked(dst.arrayElement(elemNdx), src.arrayElement(elemNdx), mask); in assignMasked()
DrsgUtils.cpp97 computeRandomValue(rnd, dst.arrayElement(ndx), valueRange.arrayElement(ndx)); in computeRandomValue()
334 rangeLength += computeRangeLengthSum(valueRange.arrayElement(ndx)); in computeRangeLengthSum()
/external/deqp/external/vulkancts/framework/vulkan/
DvkBuilderUtil.hpp137 static inline Location bindingArrayElement (deUint32 binding_, deUint32 arrayElement) in bindingArrayElement() argument
139 return Location(binding_, arrayElement); in bindingArrayElement()
144 inline Location (deUint32 binding_, deUint32 arrayElement) in Location() argument
146 , m_arrayElement (arrayElement) in Location()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceQueryTests.cpp656 …const ResourceDefinition::ArrayElement* arrayElement = static_cast<const ResourceDefinition::Array… in generateProgramDefinitionFromResource() local
660 if (arrayElement->m_arraySize == ResourceDefinition::ArrayElement::DEFAULT_SIZE) in generateProgramDefinitionFromResource()
667 else if (arrayElement->m_arraySize == ResourceDefinition::ArrayElement::UNSIZED_ARRAY) in generateProgramDefinitionFromResource()
670 arraySize = arrayElement->m_arraySize; in generateProgramDefinitionFromResource()
1197 …const ResourceDefinition::ArrayElement* arrayElement = static_cast<const ResourceDefinition::Array… in genTestCaseName() local
1199 …isImplicitlySizedArray = (arrayElement->m_arraySize == ResourceDefinition::ArrayElement::UNSIZED_A… in genTestCaseName()
3316 …const ResourceDefinition::Node::SharedPtr arrayElement (new ResourceDefinition::ArrayElement(paren… in generateVariableArrayCases() local
3322 …generateVariableCases(context, arrayElement, blockGroup, queryTarget, expandLevel, expandLevel != … in generateVariableArrayCases()
3325 …generateOpaqueTypeCases(context, arrayElement, blockGroup, queryTarget, expandLevel, expandLevel !… in generateVariableArrayCases()
3328 generateVariableArrayCases(context, arrayElement, blockGroup, queryTarget, expandLevel-1); in generateVariableArrayCases()
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cExplicitUniformLocationTest.cpp541 void streamValue(std::ostringstream& str, int arrayElement = 0, int column = 0) const in streamValue() argument
553 str << fValues[arrayElement * 4 + elem]; in streamValue()
563 str << fValues[arrayElement * arrayElementSize + column * type.getSize().first + elem] << ".0"; in streamValue()
569 str << iValues[arrayElement * arrayElementSize + elem]; in streamValue()
575 str << uValues[arrayElement * arrayElementSize + elem] << "u"; in streamValue()
580 const void* getPtr(int arrayElement) const in getPtr()
585 return &iValues[arrayElement * arrayElementSize]; in getPtr()
589 return &uValues[arrayElement * arrayElementSize]; in getPtr()
593 return &fValues[arrayElement * arrayElementSize]; in getPtr()
1026 for (int arrayElement = 0; arrayElement < uniform.type.arraySize; arrayElement++) in streamUniformValidator() local
[all …]
/external/swiftshader/src/Vulkan/
DVkDescriptorSetLayout.hpp142 …ointer(DescriptorSet *descriptorSet, uint32_t bindingNumber, uint32_t arrayElement, uint32_t count…
DVkDescriptorSetLayout.cpp238 …ointer(DescriptorSet *descriptorSet, uint32_t bindingNumber, uint32_t arrayElement, uint32_t count… in getDescriptorPointer() argument
242 size_t byteOffset = bindings[bindingNumber].offset + (*typeSize * arrayElement); in getDescriptorPointer()
/external/angle/src/libANGLE/renderer/metal/
DProgramMtl.mm1270 for (uint32_t arrayElement = 0; arrayElement < samplerBinding.boundTextureUnits.size();
1271 ++arrayElement)
1273 GLuint textureUnit = samplerBinding.boundTextureUnits[arrayElement];
1276 uint32_t textureSlot = mslBinding.textureBinding + arrayElement;
1277 uint32_t samplerSlot = mslBinding.samplerBinding + arrayElement;
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp2883 std::vector <int> arrayElement; in handleAssign() local
2915 if (!arrayElement.empty()) { in handleAssign()
2916 const TType splitDerefType(subTree->getType(), arrayElement.back()); in handleAssign()
2918 … intermediate.addConstantUnion(arrayElement.back(), loc), loc); in handleAssign()
2945 if (!arrayElement.empty()) { in handleAssign()
2946 const TType derefType(subTree->getType(), arrayElement.front()); in handleAssign()
2948 … intermediate.addConstantUnion(arrayElement.front(), loc), loc); in handleAssign()
3008 arrayElement.push_back(element); in handleAssign()
3025 arrayElement.pop_back(); in handleAssign()

12