Home
last modified time | relevance | path

Searched refs:numScalars (Results 1 – 9 of 9) sorted by relevance

/external/deqp/framework/randomshaders/
DrsgVariableManager.cpp246 int numScalars = type.getScalarSize(); in allocate() local
257 m_numAllocatedScalars += numScalars; in allocate()
267 int numScalars = variable->getType().getScalarSize(); in setStorage() local
272 m_numAllocatedShaderInScalars -= numScalars; in setStorage()
276 m_numAllocatedUniformScalars -= numScalars; in setStorage()
281 m_numAllocatedShaderInScalars += numScalars; in setStorage()
285 m_numAllocatedUniformScalars += numScalars; in setStorage()
374 void VariableManager::reserve (ReservedScalars& store, int numScalars) in reserve() argument
376 DE_ASSERT(store.numScalars == 0); in reserve()
377 store.numScalars = numScalars; in reserve()
[all …]
DrsgVariableManager.hpp109 int numScalars; member in rsg::ReservedScalars
112 : numScalars(0) in ReservedScalars()
204 void reserve (ReservedScalars& store, int numScalars);
DrsgUtils.cpp357 int numScalars = type.getScalarSize(); in computeDynamicRangeWeight() local
359 return rangeLenSum / (float)numScalars; in computeDynamicRangeWeight()
DrsgExpression.cpp690 int numScalars = type.getNumElements(); in ConstructorOp() local
698 while (curScalarNdx < numScalars) in ConstructorOp()
978 int numScalars = valueRange.getType().getScalarSize(); in allocateNewVariable() local
979 …bool uniformOk = state.getVariableManager().getNumAllocatedUniformScalars() + numScalars <= state.… in allocateNewVariable()
/external/deqp/modules/gles31/functional/
Des31fComputeShaderBuiltinVarTests.cpp241 const int numScalars = getDataTypeScalarSize(m_varType); in iterate() local
261 const UVec3 resValue = readResultVec(resPtr, numScalars); in iterate()
263 if (!compareComps(refValue, resValue, numScalars)) in iterate()
267 << ": expected " << LogComps(refValue, numScalars) in iterate()
268 << ", got " << LogComps(resValue, numScalars) in iterate()
Des31fShaderCommonFunctionTests.cpp2027 const int numScalars = (numValues-numSpecialCases)*scalarSize; in getInputValues() local
2031 …rs(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[inputNdx] + offs, numScalars); in getInputValues()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeShaderBuiltinVarTests.cpp390 const int numScalars = glu::getDataTypeScalarSize(m_varType); in iterate() local
503 const UVec3 resValue = readResultVec(resPtr, numScalars); in iterate()
505 if (!compareNumComponents(refValue, resValue, numScalars)) in iterate()
511 << ": expected " << LogComps(refValue, numScalars) in iterate()
512 << ", got " << LogComps(resValue, numScalars) in iterate()
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp632 int numScalars = glu::getDataTypeScalarSize(output.type); in iterate() local
636 inputs[curInVec].resize(numVertices*numScalars); in iterate()
640 attachments[output.location+vecNdx].numWrittenChannels = numScalars; in iterate()
659 …Message << "out" << curInVec << " value range: " << valueRangeToString(numScalars, minVal, maxVal)… in iterate()
672 float* v = dst + (y*gridWidth + x)*numScalars; in iterate()
674 for (int ndx = 0; ndx < numScalars; ndx++) in iterate()
697 …Message << "out" << curInVec << " value range: " << valueRangeToString(numScalars, minVal, maxVal)… in iterate()
710 deInt32* v = dst + (y*gridWidth + x)*numScalars; in iterate()
714 for (int ndx = 0; ndx < numScalars; ndx++) in iterate()
733 …essage << "out" << curInVec << " value range: " << valueRangeToString(numScalars, UVec4(0), maxVa… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp2316 const int numScalars = (numValues-numSpecialCases)*scalarSize; in getInputValues() local
2320 …rs(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[inputNdx] + offs, numScalars); in getInputValues()