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.cpp715 int numScalars = type.getNumElements(); in ConstructorOp() local
723 while (curScalarNdx < numScalars) in ConstructorOp()
1003 int numScalars = valueRange.getType().getScalarSize(); in allocateNewVariable() local
1004 …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.cpp1991 const int numScalars = (numValues-numSpecialCases)*scalarSize; in getInputValues() local
1995 …rs(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[inputNdx] + offs, numScalars); in getInputValues()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeShaderBuiltinVarTests.cpp421 const int numScalars = glu::getDataTypeScalarSize(m_varType); in iterate() local
534 const UVec3 resValue = readResultVec(resPtr, numScalars); in iterate()
536 if (!compareNumComponents(refValue, resValue, numScalars)) in iterate()
542 << ": expected " << LogComps(refValue, numScalars) in iterate()
543 << ", 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/robustness/
DvktRobustnessVertexAccessTests.cpp143 static VkDeviceSize getBufferSizeInBytes (deUint32 numScalars, VkFormat format);
1014 VkDeviceSize VertexAccessInstance::getBufferSizeInBytes (deUint32 numScalars, VkFormat format) in getBufferSizeInBytes() argument
1018 return numScalars * ((format == VK_FORMAT_R64_UINT || format == VK_FORMAT_R64_SINT) ? 8 : 4); in getBufferSizeInBytes()
1022 DE_ASSERT(numScalars % 4 == 0); in getBufferSizeInBytes()
1023 return numScalars; in getBufferSizeInBytes()