Home
last modified time | relevance | path

Searched refs:getArraySizeProduct (Results 1 – 23 of 23) sorted by relevance

/external/angle/src/compiler/translator/
DValidateVaryingLocations.cpp51 field_size *= fieldType->getArraySizeProduct(); in GetFieldLocationCount()
77 totalLocation *= varyingType.getArraySizeProduct(); in GetInterfaceBlockLocationCount()
115 return elementLocationCount * varyingType.getArraySizeProduct(); in GetLocationCount()
262 int remainingLocations = currentLocation * (varyingType.getArraySizeProduct() - 1); in ValidateShaderInterfaceAndAssignLocations()
DVariablePacker.cpp91 return GetTypePackingRows(variable.type) * variable.getArraySizeProduct(); in GetVariablePackingRows()
125 return lhs.getArraySizeProduct() > rhs.getArraySizeProduct(); in operator ()()
220 if (variable.getArraySizeProduct() > maxVectors / GetTypePackingRows(variable.type)) in checkExpandedVariablesWithinPackingLimits()
DblocklayoutHLSL.cpp139 for (size_t arrayElement = 0; arrayElement < variable.getArraySizeProduct(); arrayElement++) in HLSLVariableRegisterCount()
DShaderVars.cpp170 unsigned int ShaderVariable::getArraySizeProduct() const in getArraySizeProduct() function in sh::ShaderVariable
229 memorySize *= getArraySizeProduct(); in getExternalSize()
DResourcesHLSL.cpp92 startIndex + i * elementType.getArraySizeProduct()); in OutputUniformIndexArrayInitializer()
282 unsigned int registerCount = type.isArray() ? type.getArraySizeProduct() : 1u; in assignSamplerInStructUniformRegister()
DTypes.h204 unsigned int getArraySizeProduct() const;
DTypes.cpp550 unsigned int TType::getArraySizeProduct() const in getArraySizeProduct() function in sh::TType
DParseContext.cpp1780 int arrayTotalElementCount = type.getArraySizeProduct(); in checkBindingIsValid()
2696 const size_t size = type->isArray() ? kAtomicCounterArrayStride * type->getArraySizeProduct() in checkAtomicCounterOffsetDoesNotOverlap()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DLayout.cpp117 const size_t vol = type.getArraySizeProduct(); in MetalLayoutOf()
281 layout *= type.getArraySizeProduct(); in CommonGlslLayoutOf()
341 outerDim *= type.getArraySizeProduct(); in CommonGlslLayoutOf()
DFixTypeConstructors.cpp36 size_t primarySize = retType.getNominalSize() * retType.getArraySizeProduct(); in visitAggregate()
DEmitMetal.cpp1159 const int arraySize = type.isArray() ? type.getArraySizeProduct() : 1; in emitUniformBufferDeclaration()
1802 mMainUniformBufferIndex += type.getArraySizeProduct(); in emitFunctionParameter()
1810 mMainSamplerIndex += type.getArraySizeProduct(); in emitFunctionParameter()
1818 mMainTextureIndex += type.getArraySizeProduct(); in emitFunctionParameter()
DModifyStruct.cpp246 const int volume = static_cast<int>(ot.getArraySizeProduct()); in publish()
971 const unsigned volume = type.getArraySizeProduct(); in InlineArray()
DRewritePipelines.cpp788 const auto n = static_cast<int>(envType.getArraySizeProduct()); in visitMain()
/external/angle/src/libANGLE/renderer/d3d/
DDynamicImage2DHLSL.cpp724 for (unsigned int index = 0; index < uniform.getArraySizeProduct(); index++) in OutputHLSLImage2DUniformGroup()
788 for (unsigned int index = 0; index < uniform.getArraySizeProduct(); index++) in OutputHLSLImage2DUniformGroup()
867 for (unsigned int index = 0; index < image2D.getArraySizeProduct(); index++) in generateShaderForImage2DBindSignature()
DProgramD3D.cpp121 for (unsigned int index = 0; index < image2D.getArraySizeProduct(); index++) in GetDefaultImage2DBindLayoutFromComputeShader()
305 registerCount = typeInfo.rowCount * getArraySizeProduct();
311 unsigned int D3DUniform::getArraySizeProduct() const in getArraySizeProduct() function in rx::D3DUniform
319 (isArray() && elementIndex < getArraySizeProduct())); in getDataPtrToElement()
804 int count = d3dUniform->getArraySizeProduct(); in updateSamplerMapping()
2284 d3dUniform->mSamplerData.resize(d3dUniform->getArraySizeProduct(), 0); in initializeUniformStorage()
2752 unsigned int elementCount = targetUniform->getArraySizeProduct(); in setUniformMatrixfvInternal()
2787 mState.getUniforms()[uniformIndex].parentArrayIndex() * d3dUniform->getArraySizeProduct(); in assignSamplerRegisters()
2805 d3dUniform->getArraySizeProduct(), mShaderSamplers[shaderType], in assignSamplerRegisters()
2901 mState.getUniforms()[uniformIndex].parentArrayIndex() * d3dUniform->getArraySizeProduct(); in assignImageRegisters()
[all …]
DProgramD3D.h58 unsigned int getArraySizeProduct() const;
/external/angle/include/GLSLANG/
DShaderVars.h73 unsigned int getArraySizeProduct() const;
/external/angle/src/compiler/translator/tree_ops/d3d/
DRecordUniformBlocksWithLargeArrayMember.cpp128 if (type->getArraySizeProduct() >= kMinArraySizeUseStructuredBuffer) in FieldIsOrHasLargeArrayField()
/external/angle/src/libANGLE/
DShader.cpp62 return x.getArraySizeProduct() > y.getArraySizeProduct(); in CompareShaderVar()
DProgramLinkedResources.cpp1288 unsigned int firstFieldArraySize = interfaceBlock.fields[0].getArraySizeProduct(); in defineInterfaceBlock()
/external/angle/src/libANGLE/renderer/vulkan/
DProgramVk.cpp606 locationInfo.arrayIndex, linkedUniform.getArraySizeProduct(), count, transpose, value, in setUniformMatrixfv()
/external/angle/src/libANGLE/renderer/metal/
DVertexArrayMtl.mm301 uint32_t arraySize = var.getArraySizeProduct();
DProgramMtl.mm1062 locationInfo.arrayIndex, linkedUniform.getArraySizeProduct(), count, transpose, value,