Home
last modified time | relevance | path

Searched refs:numInvocations (Results 1 – 18 of 18) 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/external/vulkancts/modules/vulkan/geometry/
DvktGeometryInstancedRenderingTests.cpp61 int numInvocations; member
245 …ge, const Vec4& clearColor, const std::vector<Vec4>& perInstancePosition, const int numInvocations) in generateReferenceImage() argument
250 for (int invocationNdx = 0; invocationNdx < numInvocations; ++invocationNdx) in generateReferenceImage()
254 …const float modifier = (numInvocations > 1 ? static_cast<float>(invocationNdx) / static_cast<float… in generateReferenceImage()
257 const float dx = (deFloatSign(-x) - x) / static_cast<float>(numInvocations); in generateReferenceImage()
294 << "layout(points, invocations = " << params.numInvocations << ") in;\n" in initPrograms()
310 …float modifier = " << (params.numInvocations > 1 ? "float(gl_InvocationID) / float(" + de::toStri… in initPrograms()
313 …<< " const float dx = (sign(-pos.x) - pos.x) / float(" << params.numInvocations << ");\n" in initPrograms()
364 checkGeometryShaderSupport(vki, physDevice, params.numInvocations); in test()
379 …<< tcu::TestLog::Message << "Drawing " << params.numInvocations << " quad(s), each drawn by a geom… in test()
[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))) 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/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp656 const int numInvocations = SamplerIndexingCaseInstance::NUM_INVOCATIONS; in iterate() local
662 const int outLookupStride = numInvocations*getDataTypeScalarSize(outputType); in iterate()
690 coords.resize(numInvocations * getDataTypeScalarSize(coordType)); in iterate()
719 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNdx++) in iterate()
856 expandedIndices.resize(numInvocations * m_lookupIndices.size()); in iterate()
859 for (int invNdx = 0; invNdx < numInvocations; invNdx++) in iterate()
860 expandedIndices[lookupNdx*numInvocations + invNdx] = m_lookupIndices[lookupNdx]; in iterate()
864 inputs.push_back(&expandedIndices[lookupNdx*numInvocations]); in iterate()
870 executor->execute(numInvocations, &inputs[0], &outputs[0], *extraResourcesSet); in iterate()
884 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNdx++) in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryGridRenderTests.cpp284 const int numInvocations = m_numGeometryInvocations; in initPrograms() local
291 << "layout(triangles, invocations = " << numInvocations << ") in;\n" in initPrograms()
327 …nLevel << " * " << numPrimitives << ", 2 * " << m_tessGenLevel << " * " << numInvocations << ");\n" in initPrograms()
360 DE_ASSERT(m_numLayers == numInvocations * 2); in initPrograms()
406 …<< " ivec2 srcSliceNdx = ivec2(gridPosition.x, gridPosition.y * " << (numInvocations*2) << " + … in initPrograms()
407 …x.y) % ivec2(" << m_tessGenLevel << ", " << m_tessGenLevel << " * " << (numInvocations*2) << ");\n" in initPrograms()
412 …tSliceArea.y = float(dstSliceNdx.y) / float(" << (m_tessGenLevel * numInvocations * 2) << ") * 2… in initPrograms()
414 …tSliceArea.w = float(dstSliceNdx.y+1) / float(" << (m_tessGenLevel * numInvocations * 2) << ") * 2… in initPrograms()
422 << " float sliceHeight = (aabb.w - aabb.y) / float(2 * " << numInvocations << ");\n" in initPrograms()
/external/skia/src/gpu/glsl/
DGrGLSLVertexGeoBuilder.cpp71 int numInvocations) { in configure() argument
73 fNumInvocations = numInvocations; in configure()
75 this->addLayoutQualifier(SkStringPrintf("invocations = %i", numInvocations).c_str(), in configure()
DGrGLSLVertexGeoBuilder.h66 void configure(InputType, OutputType, int maxVertices, int numInvocations = 1);
/external/skqp/src/gpu/glsl/
DGrGLSLVertexGeoBuilder.cpp71 int numInvocations) { in configure() argument
73 fNumInvocations = numInvocations; in configure()
75 this->addLayoutQualifier(SkStringPrintf("invocations = %i", numInvocations).c_str(), in configure()
DGrGLSLVertexGeoBuilder.h66 void configure(InputType, OutputType, int maxVertices, int numInvocations = 1);
/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.cpp63 tcu::UVec3 computeWorkGroupSize (const deUint32 numInvocations) in computeWorkGroupSize() argument
67 deUint32 numInvocationsLeft = numInvocations; in computeWorkGroupSize()
117 const deUint32 numInvocations = m_bufferSizeInBytes / SIZE_OF_UINT_IN_SHADER; in initPrograms() local
118 const tcu::UVec3 workGroupSize = computeWorkGroupSize(numInvocations); in initPrograms()
/external/deqp/framework/opengl/simplereference/
DsglrShaderProgram.cpp124 m_geometryDecl.numInvocations != 0) in valid()
140 decl.m_geometryDecl.numInvocations) in ShaderProgram()
DsglrShaderProgram.hpp134 , numInvocations (numInvocations_) in GeometryShaderDeclaration()
141 size_t numInvocations; member
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeShaderBuiltinVarTests.cpp421 …const deUint32 numInvocations = subCase.localSize()[0] * subCase.localSize()[1] * subCase.loca… in iterate() local
440 const deUint32 resultBufferSize = numInvocations * resultBufferStride; in iterate()
551 …testCtx.getLog() << TestLog::Message << (numInvocations - numFailed) << " / " << numInvocations <<… in iterate()