Home
last modified time | relevance | path

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

123

/third_party/vk-gl-cts/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 …]
/third_party/skia/third_party/externals/angle2/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()
441 ASSERT(block.arrayElement == 0); in GetInterfaceBlockArraySize()
449 if (nextBlock.arrayElement != arraySize) in GetInterfaceBlockArraySize()
788 uint32_t arrayElement, in WriteBufferDescriptorSetBinding() argument
814 writeInfoOut->dstArrayElement = arrayElement; in WriteBufferDescriptorSetBinding()
1281 uint32_t arrayElement = block.isArray ? block.arrayElement : 0; in updateBuffersDescriptorSet() local
1313 descriptorType, binding, arrayElement, 0, &bufferInfo, in updateBuffersDescriptorSet()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
Dblocklayout.cpp78 for (unsigned int arrayElement = 0u; arrayElement < count; ++arrayElement) in TraverseStructArrayVariable() local
80 visitor->enterArrayElement(variable, arrayElement); in TraverseStructArrayVariable()
82 elementVar.indexIntoArray(arrayElement); in TraverseStructArrayVariable()
93 visitor->exitArrayElement(variable, arrayElement); in TraverseStructArrayVariable()
108 for (unsigned int arrayElement = 0u; arrayElement < count; ++arrayElement) in TraverseArrayOfArraysVariable() local
110 visitor->enterArrayElement(variable, arrayElement); in TraverseArrayOfArraysVariable()
113 elementVar.indexIntoArray(arrayElement); in TraverseArrayOfArraysVariable()
131 visitor->exitArrayElement(variable, arrayElement); in TraverseArrayOfArraysVariable()
421 unsigned int arrayElement) in enterArrayElement() argument
424 strstr << "[" << arrayElement << "]"; in enterArrayElement()
[all …]
Dblocklayout.h204 virtual void enterArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) {} in enterArrayElement() argument
205 virtual void exitArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) {} in exitArrayElement() argument
227 void enterArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) override;
228 void exitArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) override;
261 void enterArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) override;
262 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()
/third_party/skia/third_party/externals/angle2/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()
475 unsigned int arrayElement) in enterArrayElement() argument
478 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()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DUniform.cpp129 InterfaceBlock::InterfaceBlock() : isArray(false), arrayElement(0) {} in InterfaceBlock()
136 : name(nameIn), mappedName(mappedNameIn), isArray(isArrayIn), arrayElement(arrayElementIn) in InterfaceBlock()
147 fullNameStr << "[" << arrayElement << "]"; in nameWithArrayIndex()
159 fullNameStr << "[" << arrayElement << "]"; in mappedNameWithArrayIndex()
DVaryingPacking.cpp255 for (unsigned int arrayElement = 0; arrayElement < arrayElementCount; ++arrayElement) in insert() local
257 if (packedVarying.isArrayElement() && arrayElement != packedVarying.arrayIndex) in insert()
263 registerInfo.registerRow = registerRow + (arrayElement * varyingRows) + varyingRow; in insert()
265 registerInfo.varyingArrayIndex = arrayElement; in insert()
/third_party/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/util/capture/
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/flutter/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DUniformTest.cpp776 for (size_t arrayElement = 0; arrayElement < 5; ++arrayElement) in TEST_P() local
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 = 0; arrayElement < 5; ++arrayElement) in TEST_P() local
795 nameStr << "uniMat3x2[" << arrayElement << "]"; in TEST_P()
807 EXPECT_EQ(static_cast<GLfloat>(comp + 1 + arrayElement), sequentialValues[comp]); in TEST_P()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.cpp164 ASSERT(block.arrayElement == 0); in GetInterfaceBlockArraySize()
172 if (nextBlock.arrayElement != arraySize) in GetInterfaceBlockArraySize()
231 uint32_t arrayElement, in WriteBufferDescriptorSetBinding() argument
280 writeInfoOut->dstArrayElement = arrayElement; in WriteBufferDescriptorSetBinding()
1244 if (!block.isArray || block.arrayElement == 0) in updateBuffersDescriptorSet()
1257 uint32_t arrayElement = block.isArray ? block.arrayElement : 0; in updateBuffersDescriptorSet() local
1264 binding, arrayElement, 0, &bufferInfo, &writeInfo); in updateBuffersDescriptorSet()
1456 for (uint32_t arrayElement = 0; arrayElement < samplerBinding.boundTextureUnits.size(); in updateTexturesDescriptorSet() local
1457 ++arrayElement) in updateTexturesDescriptorSet()
1459 GLuint textureUnit = samplerBinding.boundTextureUnits[arrayElement]; in updateTexturesDescriptorSet()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteStructSamplers.cpp376 for (unsigned int arrayElement = 0; arrayElement < arraySizes[0]; ++arrayElement) in extractFieldSamplers() local
380 stringBuilder.appendHex(arrayElement); in extractFieldSamplers()

123