Home
last modified time | relevance | path

Searched refs:arrayElement (Results 1 - 25 of 34) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DProgramExecutableVk.cpp39 for (ShaderInterfaceVariableXfbInfo &arrayElement : xfb->arrayElements) in LoadShaderInterfaceVariableXfbInfo()
41 LoadShaderInterfaceVariableXfbInfo(stream, &arrayElement); in LoadShaderInterfaceVariableXfbInfo()
57 for (const ShaderInterfaceVariableXfbInfo &arrayElement : xfb.arrayElements) in SaveShaderInterfaceVariableXfbInfo()
59 SaveShaderInterfaceVariableXfbInfo(arrayElement, stream); in SaveShaderInterfaceVariableXfbInfo()
441 ASSERT(block.arrayElement == 0); in GetInterfaceBlockArraySize()
449 if (nextBlock.arrayElement != arraySize) in GetInterfaceBlockArraySize()
455 // the sequential `arrayElement`s to belong to the same block. in GetInterfaceBlockArraySize()
788 uint32_t arrayElement, in WriteBufferDescriptorSetBinding()
814 writeInfoOut->dstArrayElement = arrayElement; in WriteBufferDescriptorSetBinding()
1281 uint32_t arrayElement in updateBuffersDescriptorSet() local
782 WriteBufferDescriptorSetBinding(const vk::BufferHelper &buffer, VkDeviceSize offset, VkDeviceSize size, VkDescriptorSet descSet, VkDescriptorType descType, uint32_t bindingIndex, uint32_t arrayElement, VkDeviceSize requiredOffsetAlignment, VkDescriptorBufferInfo *bufferInfoOut, VkWriteDescriptorSet *writeInfoOut) WriteBufferDescriptorSetBinding() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A 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
[all...]
H A DvktDrawImageObjectUtil.cpp175 unsigned int arrayElement) in readSurface()
181 read(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_2D, in readSurface()
186 readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readSurface()
199 unsigned int arrayElement) in readDepth()
206 readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readDepth()
219 unsigned int arrayElement) in readVolume()
225 read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_3D, in readVolume()
230 readUsingBuffer(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readVolume()
242 unsigned int arrayElement) in readSurface1D()
248 read(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspec in readSurface1D()
167 readSurface(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurface() argument
191 readDepth(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readDepth() argument
210 readVolume(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readVolume() argument
235 readSurface1D(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurface1D() argument
259 read(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, vk::VkImageType type, void * data) read() argument
280 readUsingBuffer(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, void * data) readUsingBuffer() argument
414 readSurfaceLinear(vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurfaceLinear() argument
427 readLinear(vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, void * data) readLinear() argument
526 uploadVolume(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadVolume() argument
548 uploadSurface(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurface() argument
570 uploadSurface1D(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurface1D() argument
592 uploadSurfaceLinear(const tcu::ConstPixelBufferAccess& access, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurfaceLinear() argument
604 upload(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, vk::VkImageType type, const void * data) upload() argument
682 uploadUsingBuffer(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, const void * data) uploadUsingBuffer() argument
776 uploadLinear(vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, const void * data) uploadLinear() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A 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
[all...]
H A DvktDrawImageObjectUtil.cpp175 unsigned int arrayElement) in readSurface()
181 read(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_2D, in readSurface()
186 readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readSurface()
199 unsigned int arrayElement) in readDepth()
206 readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readDepth()
219 unsigned int arrayElement) in readVolume()
225 read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_3D, in readVolume()
230 readUsingBuffer(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readVolume()
242 unsigned int arrayElement) in readSurface1D()
248 read(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspec in readSurface1D()
167 readSurface(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurface() argument
191 readDepth(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readDepth() argument
210 readVolume(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readVolume() argument
235 readSurface1D(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurface1D() argument
259 read(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, vk::VkImageType type, void * data) read() argument
280 readUsingBuffer(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, void * data) readUsingBuffer() argument
414 readSurfaceLinear(vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurfaceLinear() argument
427 readLinear(vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, void * data) readLinear() argument
526 uploadVolume(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadVolume() argument
548 uploadSurface(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurface() argument
570 uploadSurface1D(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurface1D() argument
592 uploadSurfaceLinear(const tcu::ConstPixelBufferAccess& access, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurfaceLinear() argument
604 upload(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, vk::VkImageType type, const void * data) upload() argument
682 uploadUsingBuffer(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, const void * data) uploadUsingBuffer() argument
776 uploadLinear(vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, const void * data) uploadLinear() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A Dblocklayout.cpp85 for (unsigned int arrayElement = 0u; arrayElement < currentArraySize; ++arrayElement) in TraverseStructArrayVariable()
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()
117 visitor->enterArrayElement(variable, arrayElement); in TraverseArrayOfArraysVariable()
474 enterArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) enterArrayElement() argument
478 strstr << "[" << arrayElement << "]"; enterArrayElement() local
484 exitArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) exitArrayElement() argument
571 enterArrayElement(const sh::ShaderVariable &arrayVar, unsigned int arrayElement) enterArrayElement() argument
595 exitArrayElement(const sh::ShaderVariable &arrayVar, unsigned int arrayElement) exitArrayElement() argument
[all...]
H A 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;
H A DblocklayoutHLSL.cpp139 for (size_t arrayElement = 0; arrayElement < variable.getArraySizeProduct(); arrayElement++) in HLSLVariableRegisterCount()
H A DVariablePacker.cpp51 for (unsigned int arrayElement = 0u; arrayElement < currentArraySize; ++arrayElement) in ExpandStructArrayVariable()
53 const std::string elementName = name + ArrayString(arrayElement); in ExpandStructArrayVariable()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DUniform.cpp131 InterfaceBlock::InterfaceBlock() : isArray(false), arrayElement(0) {} in InterfaceBlock()
142 arrayElement(arrayElementIn), in InterfaceBlock()
154 fullNameStr << "[" << arrayElement << "]"; in nameWithArrayIndex() local
166 fullNameStr << "[" << arrayElement << "]"; in mappedNameWithArrayIndex() local
H A DVaryingPacking.cpp493 for (unsigned int arrayElement = 0; arrayElement < arrayElementCount; ++arrayElement) in insertVaryingIntoRegisterMap()
496 arrayElement != packedVarying.arrayIndex) in insertVaryingIntoRegisterMap()
502 registerInfo.registerRow = registerRow + (arrayElement * varyingRows) + varyingRow; in insertVaryingIntoRegisterMap()
504 registerInfo.varyingArrayIndex = arrayElement; in insertVaryingIntoRegisterMap()
H A DUniform.h131 unsigned int arrayElement; member
H A DProgramLinkedResources.cpp1290 for (unsigned int arrayElement = 0; arrayElement < interfaceBlock.elementCount(); in defineInterfaceBlock()
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()
H A DContext_gl_1_autogen.h253 void arrayElement(GLint i); \
/third_party/skia/third_party/externals/angle2/util/capture/
H A Dframe_capture_test_utils.cpp55 const rapidjson::Document::ValueType &arrayElement = traceArray[arrayIndex]; in LoadTraceNamesFromJSON() local
57 if (!arrayElement.IsString()) in LoadTraceNamesFromJSON()
63 angle::SplitStringAlongWhitespace(arrayElement.GetString(), &traceAndVersion); in LoadTraceNamesFromJSON()
/third_party/vk-gl-cts/framework/randomshaders/
H A 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()
H A DrsgVariableValue.hpp98 ConstStridedValueAccess arrayElement (int elementNdx) const { return ConstStridedValueAccess(getType().getElementType(), m_value + Stride*getType().getElementScalarOffset(elementNdx)); } in arrayElement() function in rsg::ConstStridedValueAccess
131 StridedValueAccess arrayElement (int elementNdx) { return StridedValueAccess(this->getType().getElementType(), this->m_value + Stride*this->getType().getElementScalarOffset(elementNdx)); } 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
H A DrsgExecutionContext.cpp131 assignMasked(dst.arrayElement(elemNdx), src.arrayElement(elemNdx), mask); in assignMasked()
H A DrsgUtils.cpp97 computeRandomValue(rnd, dst.arrayElement(ndx), valueRange.arrayElement(ndx)); in computeRandomValue()
334 rangeLength += computeRangeLengthSum(valueRange.arrayElement(ndx)); in computeRangeLengthSum()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DUniformTest.cpp776 for (size_t arrayElement = 0; arrayElement < 5; ++arrayElement) in TEST_P()
778 transposedValues.push_back(1.0f + arrayElement); in TEST_P()
779 transposedValues.push_back(3.0f + arrayElement); in TEST_P()
780 transposedValues.push_back(5.0f + arrayElement); in TEST_P()
781 transposedValues.push_back(2.0f + arrayElement); in TEST_P()
782 transposedValues.push_back(4.0f + arrayElement); in TEST_P()
783 transposedValues.push_back(6.0f + arrayElement); in TEST_P()
792 for (size_t arrayElement in TEST_P()
795 nameStr << "uniMat3x2[" << arrayElement << "]"; TEST_P() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A 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()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fProgramInterfaceQueryTests.cpp656 const ResourceDefinition::ArrayElement* arrayElement = static_cast<const ResourceDefinition::ArrayElement*>(head);
660 if (arrayElement->m_arraySize == ResourceDefinition::ArrayElement::DEFAULT_SIZE)
667 else if (arrayElement->m_arraySize == ResourceDefinition::ArrayElement::UNSIZED_ARRAY)
670 arraySize = arrayElement->m_arraySize;
1197 const ResourceDefinition::ArrayElement* arrayElement = static_cast<const ResourceDefinition::ArrayElement*>(node);
1199 isImplicitlySizedArray = (arrayElement->m_arraySize == ResourceDefinition::ArrayElement::UNSIZED_ARRAY);
3316 const ResourceDefinition::Node::SharedPtr arrayElement (new ResourceDefinition::ArrayElement(parentStructure));
3322 generateVariableCases(context, arrayElement, blockGroup, queryTarget, expandLevel, expandLevel != 1);
3325 generateOpaqueTypeCases(context, arrayElement, blockGroup, queryTarget, expandLevel, expandLevel != 1);
3328 generateVariableArrayCases(context, arrayElement, blockGrou
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cExplicitUniformLocationTest.cpp541 void streamValue(std::ostringstream& str, int arrayElement = 0, int column = 0) const in streamValue()
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
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkDescriptorSetLayout.hpp139 uint8_t *getDescriptorPointer(DescriptorSet *descriptorSet, uint32_t bindingNumber, uint32_t arrayElement, uint32_t count, size_t *typeSize) const;
H A DVkDescriptorSetLayout.cpp270 uint8_t *DescriptorSetLayout::getDescriptorPointer(DescriptorSet *descriptorSet, uint32_t bindingNumber, uint32_t arrayElement, uint32_t count, size_t *typeSize) const
274 size_t byteOffset = bindings[bindingNumber].offset + (*typeSize * arrayElement);

Completed in 26 milliseconds

12