Home
last modified time | relevance | path

Searched refs:getScalarSize (Results 1 – 22 of 22) sorted by relevance

/external/deqp/framework/randomshaders/
DrsgVariableType.cpp81 int VariableType::getScalarSize (void) const in getScalarSize() function in rsg::VariableType
97 sum += i->getType().getScalarSize(); in getScalarSize()
104 return m_elementType->getScalarSize() * m_numElements; in getScalarSize()
119 curOffset += i->getType().getScalarSize(); in getMemberScalarOffset()
127 return elementNdx * getElementType().getScalarSize(); in getElementScalarOffset()
DrsgVariableValue.cpp160 , m_min (type.getScalarSize()) in ValueRange()
161 , m_max (type.getScalarSize()) in ValueRange()
167 , m_min (type.getScalarSize()) in ValueRange()
168 , m_max (type.getScalarSize()) in ValueRange()
176 , m_min (type.getScalarSize()) in ValueRange()
177 , m_max (type.getScalarSize()) in ValueRange()
185 , m_min (other.getType().getScalarSize()) in ValueRange()
186 , m_max (other.getType().getScalarSize()) in ValueRange()
DrsgShader.cpp60 , m_min (variable->getType().getScalarSize()) in ShaderInput()
61 , m_max (variable->getType().getScalarSize()) in ShaderInput()
DrsgProgramExecutor.cpp58 : m_value(type.getScalarSize()*numVertices) in VaryingStorage()
64 return ValueAccess(type, &m_value[type.getScalarSize()*vtxNdx]); in getValue()
69 return ConstValueAccess(type, &m_value[type.getScalarSize()*vtxNdx]); in getValue()
DrsgVariableType.hpp146 int getScalarSize (void) const;
DrsgVariableManager.cpp246 int numScalars = type.getScalarSize(); in allocate()
267 int numScalars = variable->getType().getScalarSize(); in setStorage()
DrsgVariableValue.hpp166 int scalarSize = this->getType().getScalarSize(); in operator =()
342 m_value.resize(type.getScalarSize() * Stride); in setStorage()
DrsgUtils.cpp357 int numScalars = type.getScalarSize(); in computeDynamicRangeWeight()
DrsgExpression.cpp266 …if (state.getVariableManager().getNumAllocatedScalars() + type.getScalarSize() > state.getShaderPa… in canAllocateVariable()
1003 int numScalars = valueRange.getType().getScalarSize(); in allocateNewVariable()
/external/deqp/framework/opengl/
DgluVarType.cpp92 int VarType::getScalarSize (void) const in getScalarSize() function in glu::VarType
97 case VARTYPE_ARRAY: return m_data.array.elementType->getScalarSize()*m_data.array.size; in getScalarSize()
103 size += iter->getType().getScalarSize(); in getScalarSize()
DgluVarType.hpp70 int getScalarSize (void) const;
DgluShaderLibrary.cpp69 …rayLen = values.empty() ? 0 : (values[0].elements.size() / (size_t)values[0].type.getScalarSize()); in isValid()
81 if (value.elements.size() != refArrayLen*(size_t)value.type.getScalarSize()) in isValid()
141 …pec.values.inputs[0].type.getScalarSize() != spec.values.outputs[0].elements.size() / spec.values.… in isValid()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1329 const int outSize = output.varType.getScalarSize(); in execute()
2164 const int scalarSize = symbol.varType.getScalarSize(); in generateSpirv()
2235 const int scalarSize = symbol.varType.getScalarSize(); in generateSpirv()
2461 if (spec.inputs[inputNdx].varType.getScalarSize() > 1) in generateSpirv()
2464 for (int i = 0; i < spec.inputs[inputNdx].varType.getScalarSize(); ++i) in generateSpirv()
2473 for (int i = 0; i < spec.inputs[inputNdx].varType.getScalarSize(); ++i) in generateSpirv()
2513 spec.outputs[0].varType.getScalarSize()); in generateSpirv()
2549 if (spec.outputs[outputNdx].varType.getScalarSize() > 1) in generateSpirv()
2551 for (int i = 0; i < spec.outputs[outputNdx].varType.getScalarSize(); ++i) in generateSpirv()
2559 for (int i = 0; i < spec.outputs[outputNdx].varType.getScalarSize(); ++i) in generateSpirv()
DvktShaderCommonFunctionTests.cpp200 sizes[ndx] = symbols[ndx].varType.getScalarSize(); in getScalarSizes()
217 totalSize += getComponentByteSize(sym.varType.getBasicType()) * sym.varType.getScalarSize(); in computeTotalByteSize()
229 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers()
DvktShaderIntegerFunctionTests.cpp164 sizes[ndx] = symbols[ndx].varType.getScalarSize(); in getScalarSizes()
172 totalSize += sym->varType.getScalarSize(); in computeTotalScalarSize()
184 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers()
/external/deqp/modules/gles31/functional/
Des31fShaderIntegerFunctionTests.cpp224 sizes[ndx] = symbols[ndx].varType.getScalarSize(); in getScalarSizes()
232 totalSize += sym->varType.getScalarSize(); in computeTotalScalarSize()
244 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers()
Des31fShaderCommonFunctionTests.cpp288 sizes[ndx] = symbols[ndx].varType.getScalarSize(); in getScalarSizes()
296 totalSize += sym->varType.getScalarSize(); in computeTotalScalarSize()
308 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers()
/external/deqp/modules/gles3/functional/
Des3fTransformFeedbackTests.cpp278 numComponents = glu::getVarType(varying.type, varPath).getScalarSize(); in isProgramSupported()
519 accumulatedSize += output.type.getScalarSize()*(int)sizeof(deUint32); in computeTransformFeedbackOutputs()
962 m_bufferStrides.push_back(outIter->type.getScalarSize()*(int)sizeof(deUint32)); in init()
968 totalSize += outIter->type.getScalarSize()*(int)sizeof(deUint32); in init()
Des3fShaderCommonFunctionTests.cpp213 sizes[ndx] = symbols[ndx].varType.getScalarSize(); in getScalarSizes()
221 totalSize += sym->varType.getScalarSize(); in computeTotalScalarSize()
233 const int scalarSize = var.varType.getScalarSize(); in getInputOutputPointers()
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp1174 …ty() ? 1 : (int)valueBlock.outputs[0].elements.size() / valueBlock.outputs[0].type.getScalarSize(); in execute()
DglsShaderExecUtil.cpp664 const int outSize = output.varType.getScalarSize(); in execute()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp1567 return int(values.outputs[0].elements.size() / values.outputs[0].type.getScalarSize()); in getNumSubCases()