Home
last modified time | relevance | path

Searched refs:numInvocations (Results 1 – 16 of 16) sorted by relevance

/external/deqp/modules/gles3/stress/
Des3sLongRunningShaderTests.cpp83 int numInvocations; member
231 …estLog::Message << "Number of vertices and fragments: " << m_params->numInvocations << TestLog::En… in init()
269 ^ deInt32Hash(params.numInvocations); in getSeed()
277 vector<Vec2> positions (m_params->numInvocations); in iterate()
278 … iterCounts (m_params->iterCountType == ITERCOUNTTYPE_DYNAMIC ? m_params->numInvocations : 1); in iterate()
297 glu::pr::Points(m_params->numInvocations)); in iterate()
316 const int numInvocations = 4096; in init() local
326 … "", glu::SHADERTYPE_VERTEX, LOOPTYPE_FOR, ITERCOUNTTYPE_DYNAMIC, numInvocations, shortLoopMin,… in init()
327 … "", glu::SHADERTYPE_FRAGMENT, LOOPTYPE_FOR, ITERCOUNTTYPE_DYNAMIC, numInvocations, shortLoopMin,… in init()
328 …"", glu::SHADERTYPE_VERTEX, LOOPTYPE_WHILE, ITERCOUNTTYPE_DYNAMIC, numInvocations, shortLoopMin,… in init()
[all …]
/external/deqp/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp487 const int numInvocations = 64; in iterate() local
493 const int outLookupStride = numInvocations*getDataTypeScalarSize(outputType); in iterate()
508 coords.resize(numInvocations * getDataTypeScalarSize(coordType)); in iterate()
517 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNdx++) in iterate()
563 expandedIndices.resize(numInvocations * lookupIndices.size()); in iterate()
566 for (int invNdx = 0; invNdx < numInvocations; invNdx++) in iterate()
567 expandedIndices[lookupNdx*numInvocations + invNdx] = lookupIndices[lookupNdx]; in iterate()
571 inputs.push_back(&expandedIndices[lookupNdx*numInvocations]); in iterate()
581 executor->execute(numInvocations, &inputs[0], &outputs[0]); in iterate()
596 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNdx++) in iterate()
[all …]
Des31fComputeShaderBuiltinVarTests.cpp214 …const deUint32 numInvocations = subCase.localSize[0]*subCase.localSize[1]*subCase.localSize[2]… in iterate() local
218 const deUint32 bufferSize = numInvocations*outVarInfo.arrayStride; in iterate()
277 …m_testCtx.getLog() << TestLog::Message << (numInvocations-numFailed) << " / " << numInvocations <<… in iterate()
Des31fGeometryShaderTests.cpp1488 …InvocationCountShader (const glu::ContextType& contextType, int numInvocations, OutputCase testCa…
1495 …static std::string genGeometrySource (const glu::ContextType& contextType, int numInvocations, O…
1496 static size_t getNumVertices (int numInvocations, OutputCase testCase);
1502 …der::InvocationCountShader (const glu::ContextType& contextType, int numInvocations, OutputCase te… in InvocationCountShader() argument
1513 getNumVertices(numInvocations, testCase), in InvocationCountShader()
1514 numInvocations) in InvocationCountShader()
1515 … << sglr::pdec::GeometrySource(genGeometrySource(contextType, numInvocations, testCase).c_str())) in InvocationCountShader()
1516 , m_numInvocations (numInvocations) in InvocationCountShader()
1590 …tShader::genGeometrySource (const glu::ContextType& contextType, int numInvocations, OutputCase te… in genGeometrySource() argument
1592 const int maxVertices = (int)getNumVertices(numInvocations, testCase); in genGeometrySource()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryInstancedRenderingTests.cpp59 int numInvocations; member
513 …ge, const Vec4& clearColor, const std::vector<Vec4>& perInstancePosition, const int numInvocations) in generateReferenceImage() argument
518 for (int invocationNdx = 0; invocationNdx < numInvocations; ++invocationNdx) in generateReferenceImage()
522 …const float modifier = (numInvocations > 1 ? static_cast<float>(invocationNdx) / static_cast<float… in generateReferenceImage()
525 const float dx = (deFloatSign(-x) - x) / static_cast<float>(numInvocations); in generateReferenceImage()
562 << "layout(points, invocations = " << params.numInvocations << ") in;\n" in initPrograms()
578 …float modifier = " << (params.numInvocations > 1 ? "float(gl_InvocationID) / float(" + de::toStri… in initPrograms()
581 …<< " const float dx = (sign(-pos.x) - pos.x) / float(" << params.numInvocations << ");\n" in initPrograms()
632 checkGeometryShaderSupport(vki, physDevice, params.numInvocations); in test()
647 …<< tcu::TestLog::Message << "Drawing " << params.numInvocations << " quad(s), each drawn by a geom… in test()
[all …]
/external/skia/src/gpu/glsl/
DGrGLSLGeometryShaderBuilder.cpp42 int numInvocations) { in configure() argument
44 fNumInvocations = numInvocations; in configure()
46 this->addLayoutQualifier(SkStringPrintf("invocations = %i", numInvocations).c_str(), in configure()
DGrGLSLGeometryShaderBuilder.h33 void configure(InputType, OutputType, int maxVertices, int numInvocations = 1);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp764 const int numInvocations = SamplerIndexingCaseInstance::NUM_INVOCATIONS; in iterate() local
770 const int outLookupStride = numInvocations*getDataTypeScalarSize(outputType); in iterate()
798 coords.resize(numInvocations * getDataTypeScalarSize(coordType)); in iterate()
827 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNdx++) in iterate()
964 expandedIndices.resize(numInvocations * m_lookupIndices.size()); in iterate()
967 for (int invNdx = 0; invNdx < numInvocations; invNdx++) in iterate()
968 expandedIndices[lookupNdx*numInvocations + invNdx] = m_lookupIndices[lookupNdx]; in iterate()
972 inputs.push_back(&expandedIndices[lookupNdx*numInvocations]); in iterate()
978 executor->execute(numInvocations, &inputs[0], &outputs[0], *extraResourcesSet); in iterate()
992 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNdx++) in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryGridRenderTests.cpp281 const int numInvocations = m_numGeometryInvocations; in initPrograms() local
288 << "layout(triangles, invocations = " << numInvocations << ") in;\n" in initPrograms()
324 …nLevel << " * " << numPrimitives << ", 2 * " << m_tessGenLevel << " * " << numInvocations << ");\n" in initPrograms()
357 DE_ASSERT(m_numLayers == numInvocations * 2); in initPrograms()
403 …<< " ivec2 srcSliceNdx = ivec2(gridPosition.x, gridPosition.y * " << (numInvocations*2) << " + … in initPrograms()
404 …x.y) % ivec2(" << m_tessGenLevel << ", " << m_tessGenLevel << " * " << (numInvocations*2) << ");\n" in initPrograms()
409 …tSliceArea.y = float(dstSliceNdx.y) / float(" << (m_tessGenLevel * numInvocations * 2) << ") * 2… in initPrograms()
411 …tSliceArea.w = float(dstSliceNdx.y+1) / float(" << (m_tessGenLevel * numInvocations * 2) << ") * 2… in initPrograms()
419 << " float sliceHeight = (aabb.w - aabb.y) / float(2 * " << numInvocations << ");\n" in initPrograms()
/external/deqp/framework/referencerenderer/
DrrShaders.cpp30 …nputType inputType, GeometryShaderOutputType outputType, size_t verticesOut, size_t numInvocations) in GeometryShader() argument
34 , m_numInvocations (numInvocations) in GeometryShader()
DrrShaders.hpp179 size_t numInvocations);
DrrRenderer.cpp1413 const int numInvocations = (int)program.geometryShader->getNumInvocations(); in drawWithGeometryShader() local
1425 for (int invocationNdx = 0; invocationNdx < numInvocations; ++invocationNdx) in drawWithGeometryShader()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferMemoryAliasing.cpp61 tcu::UVec3 computeWorkGroupSize (const deUint32 numInvocations) in computeWorkGroupSize() argument
65 deUint32 numInvocationsLeft = numInvocations; in computeWorkGroupSize()
111 const deUint32 numInvocations = m_bufferSizeInBytes / SIZE_OF_UINT_IN_SHADER; in initPrograms() local
112 const tcu::UVec3 workGroupSize = computeWorkGroupSize(numInvocations); in initPrograms()
/external/deqp/framework/opengl/simplereference/
DsglrShaderProgram.hpp134 , numInvocations (numInvocations_) in GeometryShaderDeclaration()
141 size_t numInvocations; member
DsglrShaderProgram.cpp124 m_geometryDecl.numInvocations != 0) in valid()
140 decl.m_geometryDecl.numInvocations) in ShaderProgram()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeShaderBuiltinVarTests.cpp391 …const deUint32 numInvocations = subCase.localSize()[0] * subCase.localSize()[1] * subCase.loca… in iterate() local
410 const deUint32 resultBufferSize = numInvocations * resultBufferStride; in iterate()
521 …testCtx.getLog() << TestLog::Message << (numInvocations - numFailed) << " / " << numInvocations <<… in iterate()