Home
last modified time | relevance | path

Searched refs:elementCount (Results 1 – 25 of 62) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Drenderer_utils.cpp152 unsigned int elementCount, in SetFloatUniformMatrix() argument
158 std::min(elementCount - arrayElementOffset, static_cast<unsigned int>(countIn)); in SetFloatUniformMatrix()
175 unsigned int elementCount, in SetFloatUniformMatrixFast() argument
182 std::min(elementCount - arrayElementOffset, static_cast<unsigned int>(countIn)); in SetFloatUniformMatrixFast()
533 unsigned int elementCount,
554 unsigned int elementCount,
569 unsigned int elementCount, in Run() argument
581 SetFloatUniformMatrixFast(arrayElementOffset, elementCount, countIn, srcMatrixSize, value, in Run()
587 SetFloatUniformMatrix<false, cols, 4, true, cols, 4>(arrayElementOffset, elementCount, in Run()
594 unsigned int elementCount, in Run() argument
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DValidateOutputs.cpp101 const size_t elementCount = in validate() local
115 if (location + elementCount <= validOutputsToUse->size()) in validate()
117 for (size_t elementIndex = 0; elementIndex < elementCount; elementIndex++) in validate()
135 if (elementCount > 0) in validate()
138 elementCount > 1 ? "output array locations would exceed MAX_DRAW_BUFFERS" in validate()
DValidateVaryingLocations.cpp145 int elementCount, in MarkVaryingLocations() argument
148 for (int elementIndex = 0; elementIndex < elementCount; ++elementIndex) in MarkVaryingLocations()
269 const int elementCount = GetLocationCount(varying->getType(), ignoreVaryingArraySize); in ValidateShaderInterfaceAndAssignLocations() local
270 MarkVaryingLocations(diagnostics, varying, nullptr, location, elementCount, in ValidateShaderInterfaceAndAssignLocations()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DValidateOutputs.cpp101 const size_t elementCount = in validate() local
115 if (location + elementCount <= validOutputsToUse->size()) in validate()
117 for (size_t elementIndex = 0; elementIndex < elementCount; elementIndex++) in validate()
135 if (elementCount > 0) in validate()
138 elementCount > 1 ? "output array locations would exceed MAX_DRAW_BUFFERS" in validate()
DValidateVaryingLocations.cpp80 const int elementCount = GetLocationCount(varying, ignoreVaryingArraySize); in ValidateShaderInterface() local
81 for (int elementIndex = 0; elementIndex < elementCount; ++elementIndex) in ValidateShaderInterface()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgramExecutable.cpp68 unsigned int elementCount, in FindUsedOutputLocation() argument
72 if (baseLocation + elementCount > outputLocations.size()) in FindUsedOutputLocation()
74 elementCount = baseLocation < outputLocations.size() in FindUsedOutputLocation()
78 for (unsigned int elementIndex = 0; elementIndex < elementCount; elementIndex++) in FindUsedOutputLocation()
96 unsigned int elementCount, in AssignOutputLocations() argument
101 if (baseLocation + elementCount > outputLocations.size()) in AssignOutputLocations()
103 outputLocations.resize(baseLocation + elementCount); in AssignOutputLocations()
105 for (unsigned int elementIndex = 0; elementIndex < elementCount; elementIndex++) in AssignOutputLocations()
473 size_t elementCount = stream->readInt<size_t>(); in load() local
475 ImageBinding imageBinding(elementCount, textureType); in load()
[all …]
DProgramLinkedResources.cpp510 unsigned int elementCount = variable.getBasicTypeElementCount(); in visitNamedVariable() local
517 mUniformCount.vectorCount += VariableRegisterCount(variable.type) * elementCount; in visitNamedVariable()
520 mUniformCount.samplerCount += (isSampler ? elementCount : 0); in visitNamedVariable()
521 mUniformCount.imageCount += (isImage ? elementCount : 0); in visitNamedVariable()
522 mUniformCount.atomicCounterCount += (isAtomicCounter ? elementCount : 0); in visitNamedVariable()
523 mUniformCount.fragmentInOutCount += (isFragmentInOut ? elementCount : 0); in visitNamedVariable()
527 mLocation += elementCount; in visitNamedVariable()
916 unsigned int elementCount = uniform.getBasicTypeElementCount(); in indexUniforms() local
917 for (unsigned int arrayIndex = 0; arrayIndex < elementCount; arrayIndex++) in indexUniforms()
991 unsigned int elementCount = uniform.getBasicTypeElementCount(); in gatherUniformLocationsAndCheckConflicts() local
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Dset-iterators.js64 var elementCount = s.size; variable
66 for (var i = 0; i < elementCount; i++) {
92 var elementCount = s.size;
94 for (var i = 0; i < elementCount; i++) {
Dmap-iterators.js70 var elementCount = m.size; variable
72 for (var i = 0; i < elementCount; i++) {
106 var elementCount = m.size;
108 for (var i = 0; i < elementCount; i++) {
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp754 int elementCount, std::vector<FloatPixel>& result) const;
759 …fer(const GLvoid* gradient, const PixelFormat& format, int samplerIsIntUintFloat, int elementCount,
763 void makeBufferPackedInt(const GLvoid* gradient, const PixelFormat& format, int elementCount,
767 void makeBufferPackedUint(const GLvoid* gradient, const PixelFormat& format, int elementCount,
771 void makeBufferPackedFloat(const GLvoid* gradient, const PixelFormat& format, int elementCount,
2615 const PixelType& type, int elementCount, std::vector<FloatPixel>& result) const in getFloatBuffer() argument
2621 …makeBuffer(gradient, format, samplerIsIntUintFloat, elementCount, componentCount, pack_UNSIGNED_BY… in getFloatBuffer()
2624 …makeBuffer(gradient, format, samplerIsIntUintFloat, elementCount, componentCount, pack_BYTE, resul… in getFloatBuffer()
2627 …makeBuffer(gradient, format, samplerIsIntUintFloat, elementCount, componentCount, pack_UNSIGNED_SH… in getFloatBuffer()
2630 …makeBuffer(gradient, format, samplerIsIntUintFloat, elementCount, componentCount, pack_SHORT, resu… in getFloatBuffer()
[all …]
/third_party/typescript/tests/baselines/reference/
DdefaultBestCommonTypesHaveDecls.js10 var elementCount = result.length; variable
25 var elementCount = result.length;
DdefaultBestCommonTypesHaveDecls.symbols28 var elementCount = result.length;
29 >elementCount : Symbol(elementCount, Decl(defaultBestCommonTypesHaveDecls.ts, 8, 3))
DdefaultBestCommonTypesHaveDecls.types31 var elementCount = result.length;
32 >elementCount : any
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Drenderer_utils.cpp191 unsigned int elementCount, in SetFloatUniformMatrix() argument
197 std::min(elementCount - arrayElementOffset, static_cast<unsigned int>(countIn)); in SetFloatUniformMatrix()
214 unsigned int elementCount, in SetFloatUniformMatrixFast() argument
221 std::min(elementCount - arrayElementOffset, static_cast<unsigned int>(countIn)); in SetFloatUniformMatrixFast()
702 unsigned int elementCount,
723 unsigned int elementCount,
738 unsigned int elementCount, in Run() argument
750 SetFloatUniformMatrixFast(arrayElementOffset, elementCount, countIn, srcMatrixSize, value, in Run()
756 SetFloatUniformMatrix<false, cols, 4, true, cols, 4>(arrayElementOffset, elementCount, in Run()
763 unsigned int elementCount, in Run() argument
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsDrawTest.cpp1502 …static char* generateArray (int seed, int elementCount, int componentCount, int offset, int st…
1503 …static char* generateIndices (int seed, int elementCount, DrawTestSpec::IndexType type, int of…
1508 …static char* createIndices (int seed, int elementCount, int offset, int min, int max, int inde…
1510 …static char* generateBasicArray (int seed, int elementCount, int componentCount, int offset, in…
1512 …static char* createBasicArray (int seed, int elementCount, int componentCount, int offset, int …
1513 …static char* generatePackedArray (int seed, int elementCount, int componentCount, int offset, i…
1516 char* RandomArrayGenerator::generateArray (int seed, int elementCount, int componentCount, int offs… in generateArray() argument
1519 return generatePackedArray(seed, elementCount, componentCount, offset, stride); in generateArray()
1521 return generateBasicArray(seed, elementCount, componentCount, offset, stride, type); in generateArray()
1524 char* RandomArrayGenerator::generateBasicArray (int seed, int elementCount, int componentCount, int… in generateBasicArray() argument
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DProgramLinkedResources.cpp487 unsigned int elementCount = variable.getBasicTypeElementCount(); in visitNamedVariable() local
494 mUniformCount.vectorCount += VariableRegisterCount(variable.type) * elementCount; in visitNamedVariable()
497 mUniformCount.samplerCount += (isSampler ? elementCount : 0); in visitNamedVariable()
498 mUniformCount.imageCount += (isImage ? elementCount : 0); in visitNamedVariable()
499 mUniformCount.atomicCounterCount += (isAtomicCounter ? elementCount : 0); in visitNamedVariable()
503 mLocation += elementCount; in visitNamedVariable()
774 unsigned int elementCount = uniform.getBasicTypeElementCount(); in indexUniforms() local
775 for (unsigned int arrayIndex = 0; arrayIndex < elementCount; arrayIndex++) in indexUniforms()
847 unsigned int elementCount = uniform.getBasicTypeElementCount(); in gatherUniformLocationsAndCheckConflicts() local
849 for (unsigned int arrayIndex = 0; arrayIndex < elementCount; arrayIndex++) in gatherUniformLocationsAndCheckConflicts()
[all …]
DProgram.cpp887 size_t elementCount, in SamplerBinding() argument
891 boundTextureUnits(elementCount, 0), in SamplerBinding()
3187 unsigned int elementCount = samplerUniform.getBasicTypeElementCount(); in linkSamplerAndImageBindings() local
3189 mState.mSamplerBindings.emplace_back(textureType, format, elementCount, false); in linkSamplerAndImageBindings()
3706 size_t elementCount = 0; in linkValidateTransformFeedback() local
3725 elementCount = (subscripts.empty() ? var->getOutermostArraySize() : 1); in linkValidateTransformFeedback()
3735 elementCount = 1; in linkValidateTransformFeedback()
3739 componentCount = VariableComponentCount(var->type) * elementCount; in linkValidateTransformFeedback()
3970 unsigned int elementCount, in FindUsedOutputLocation() argument
3974 if (baseLocation + elementCount > outputLocations.size()) in FindUsedOutputLocation()
[all …]
/third_party/typescript/tests/cases/compiler/
DdefaultBestCommonTypesHaveDecls.ts9 var elementCount = result.length; variable
/third_party/icu/tools/unicodetools/com/ibm/rbm/
DRBxliffImporter.java170 int groupCount = 0, elementCount = 0; in importDoc() local
179 elementCount++; in importDoc()
182 if (elementCount == 1 && groupCount == 1) { in importDoc()
/third_party/skia/third_party/externals/icu/source/tools/gensprep/
Dstore.c246 int32_t elementCount = 0; in storeMappingData() local
256 elementCount = uhash_count(hashTable); in storeMappingData()
261 while(writtenElementCount < elementCount){ in storeMappingData()
/third_party/icu/icu4c/source/tools/gensprep/
Dstore.c246 int32_t elementCount = 0; in storeMappingData() local
256 elementCount = uhash_count(hashTable); in storeMappingData()
261 while(writtenElementCount < elementCount){ in storeMappingData()
/third_party/flutter/skia/third_party/externals/icu/source/tools/gensprep/
Dstore.c245 int32_t elementCount = 0; in storeMappingData() local
255 elementCount = uhash_count(hashTable); in storeMappingData()
260 while(writtenElementCount < elementCount){ in storeMappingData()
/third_party/flutter/engine/flutter/shell/platform/darwin/common/framework/Source/
DFlutterStandardCodec.mm197 return self.type == other.type && self.elementCount == other.elementCount &&
308 [self writeSize:typedData.elementCount];
404 UInt32 elementCount = [self readSize];
407 NSData* data = [self readData:elementCount * elementSize];
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp2248 …bool ConvertPrimitiveType(GLenum primitiveType, GLsizei elementCount, GLenum elementType, sw::Draw… in ConvertPrimitiveType() argument
2254 primitiveCount = elementCount; in ConvertPrimitiveType()
2259 primitiveCount = elementCount / 2; in ConvertPrimitiveType()
2264 primitiveCount = elementCount; in ConvertPrimitiveType()
2269 primitiveCount = elementCount - 1; in ConvertPrimitiveType()
2274 primitiveCount = elementCount / 3; in ConvertPrimitiveType()
2279 primitiveCount = elementCount - 2; in ConvertPrimitiveType()
2284 primitiveCount = elementCount - 2; in ConvertPrimitiveType()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DVertexArrayMtl.mm534 size_t elementCount;
539 elementCount = vertexCount;
545 elementCount = UnsignedCeilDivide(instanceCount, binding.getDivisor());
547 size_t bytesIntendedToUse = (startElement + elementCount) * binding.getStride();
572 // Allocate space for startElement + elementCount so indexing will work. If we don't
574 // Only elementCount vertices will be used by the upcoming draw so that is all we copy.
575 size_t bytesToAllocate = (startElement + elementCount) * convertedStride;
594 streamFormat.vertexLoadFunction(src, binding.getStride(), elementCount,
609 destOffset, elementCount, binding.getStride(),

123