Home
last modified time | relevance | path

Searched refs:numScalars (Results 1 - 11 of 11) sorted by relevance

/third_party/vk-gl-cts/framework/randomshaders/
H A 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 in reserve()
[all...]
H A DrsgVariableManager.hpp109 int numScalars; member in rsg::ReservedScalars
112 : numScalars(0) in ReservedScalars()
210 void reserve (ReservedScalars& store, int numScalars);
H A DrsgUtils.cpp357 int numScalars = type.getScalarSize(); in computeDynamicRangeWeight() local
359 return rangeLenSum / (float)numScalars; in computeDynamicRangeWeight()
H A 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.getShaderParameters().maxUniformScalars; in allocateNewVariable()
/third_party/vk-gl-cts/modules/gles31/functional/
H A 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()
H A Des31fShaderCommonFunctionTests.cpp1992 const int numScalars = (numValues-numSpecialCases)*scalarSize;
1996 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[inputNdx] + offs, numScalars);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
H A DvktComputeShaderBuiltinVarTests.cpp435 const int numScalars = glu::getDataTypeScalarSize(m_varType); in iterate() local
552 const UVec3 resValue = readResultVec(resPtr, numScalars); in iterate()
554 if (!compareNumComponents(refValue, resValue, numScalars)) in iterate()
560 << ": expected " << LogComps(refValue, numScalars) in iterate()
561 << ", got " << LogComps(resValue, numScalars) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/
H A DvktComputeShaderBuiltinVarTests.cpp423 const int numScalars = glu::getDataTypeScalarSize(m_varType); in iterate() local
540 const UVec3 resValue = readResultVec(resPtr, numScalars); in iterate()
542 if (!compareNumComponents(refValue, resValue, numScalars)) in iterate()
548 << ": expected " << LogComps(refValue, numScalars) in iterate()
549 << ", got " << LogComps(resValue, numScalars) in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
H A 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 m_testCtx.getLog() << TestLog::Message << "out" << curInVec << " value range: " << valueRangeToString(numScalars, minVal, maxVal) << TestLog::EndMessage; in iterate()
672 float* v = dst + (y*gridWidth + x)*numScalars; in iterate()
674 for (int ndx = 0; ndx < numScalars; ndx++) in iterate()
698 m_testCtx.getLog() << TestLog::Message << "out" << curInVec << " value range: " << valueRangeToString(numScalars, minVal, maxVal) << TestLog::EndMessage; in iterate()
711 deInt32* v = dst + (y*gridWidth + x)*numScalars; in iterate()
715 for (int ndx = 0; ndx < numScalars; ndx++) in iterate()
734 m_testCtx.getLog() << TestLog::Message << "out" << curInVec << " value range: " << valueRangeToString(numScalars, UVec in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustnessVertexAccessTests.cpp147 static VkDeviceSize getBufferSizeInBytes (deUint32 numScalars, VkFormat format);
1064 VkDeviceSize VertexAccessInstance::getBufferSizeInBytes (deUint32 numScalars, VkFormat format) in getBufferSizeInBytes() argument
1068 return numScalars * ((format == VK_FORMAT_R64_UINT || format == VK_FORMAT_R64_SINT) ? 8 : 4); in getBufferSizeInBytes()
1072 DE_ASSERT(numScalars % 4 == 0); in getBufferSizeInBytes()
1073 return numScalars; in getBufferSizeInBytes()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustnessVertexAccessTests.cpp150 static VkDeviceSize getBufferSizeInBytes (deUint32 numScalars, VkFormat format);
1071 VkDeviceSize VertexAccessInstance::getBufferSizeInBytes (deUint32 numScalars, VkFormat format) in getBufferSizeInBytes() argument
1075 return numScalars * ((format == VK_FORMAT_R64_UINT || format == VK_FORMAT_R64_SINT) ? 8 : 4); in getBufferSizeInBytes()
1079 DE_ASSERT(numScalars % 4 == 0); in getBufferSizeInBytes()
1080 return numScalars; in getBufferSizeInBytes()

Completed in 17 milliseconds