/external/deqp/modules/gles3/stress/ |
D | es3sLongRunningShaderTests.cpp | 83 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/skia/src/gpu/glsl/ |
D | GrGLSLGeometryShaderBuilder.cpp | 42 int numInvocations) { in configure() argument 44 fNumInvocations = numInvocations; in configure() 46 maxVertices *= numInvocations; in configure() 47 numInvocations = 1; in configure() 50 this->addLayoutQualifier(SkStringPrintf("invocations = %i", numInvocations).c_str(), in configure()
|
D | GrGLSLGeometryShaderBuilder.h | 33 void configure(InputType, OutputType, int maxVertices, int numInvocations = 1);
|
/external/deqp/modules/gles31/functional/ |
D | es31fOpaqueTypeIndexingTests.cpp | 487 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 …]
|
D | es31fComputeShaderBuiltinVarTests.cpp | 214 …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()
|
D | es31fGeometryShaderTests.cpp | 1488 …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/ |
D | vktGeometryInstancedRenderingTests.cpp | 58 int numInvocations; member 512 …ge, const Vec4& clearColor, const std::vector<Vec4>& perInstancePosition, const int numInvocations) in generateReferenceImage() argument 517 for (int invocationNdx = 0; invocationNdx < numInvocations; ++invocationNdx) in generateReferenceImage() 521 …const float modifier = (numInvocations > 1 ? static_cast<float>(invocationNdx) / static_cast<float… in generateReferenceImage() 524 const float dx = (deFloatSign(-x) - x) / static_cast<float>(numInvocations); in generateReferenceImage() 561 << "layout(points, invocations = " << params.numInvocations << ") in;\n" in initPrograms() 577 …float modifier = " << (params.numInvocations > 1 ? "float(gl_InvocationID) / float(" + de::toStri… in initPrograms() 580 …<< " const float dx = (sign(-pos.x) - pos.x) / float(" << params.numInvocations << ");\n" in initPrograms() 631 checkGeometryShaderSupport(vki, physDevice, params.numInvocations); in test() 646 …<< tcu::TestLog::Message << "Drawing " << params.numInvocations << " quad(s), each drawn by a geom… in test() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktOpaqueTypeIndexingTests.cpp | 761 const int numInvocations = SamplerIndexingCaseInstance::NUM_INVOCATIONS; in iterate() local 767 const int outLookupStride = numInvocations*getDataTypeScalarSize(outputType); in iterate() 795 coords.resize(numInvocations * getDataTypeScalarSize(coordType)); in iterate() 824 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNdx++) in iterate() 961 expandedIndices.resize(numInvocations * m_lookupIndices.size()); in iterate() 964 for (int invNdx = 0; invNdx < numInvocations; invNdx++) in iterate() 965 expandedIndices[lookupNdx*numInvocations + invNdx] = m_lookupIndices[lookupNdx]; in iterate() 969 inputs.push_back(&expandedIndices[lookupNdx*numInvocations]); in iterate() 975 executor->execute(numInvocations, &inputs[0], &outputs[0], *extraResourcesSet); in iterate() 989 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNdx++) in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationGeometryGridRenderTests.cpp | 281 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/ |
D | rrShaders.cpp | 30 …nputType inputType, GeometryShaderOutputType outputType, size_t verticesOut, size_t numInvocations) in GeometryShader() argument 34 , m_numInvocations (numInvocations) in GeometryShader()
|
D | rrShaders.hpp | 179 size_t numInvocations);
|
D | rrRenderer.cpp | 1413 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/ |
D | vktSparseResourcesBufferMemoryAliasing.cpp | 61 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/ |
D | sglrShaderProgram.cpp | 124 m_geometryDecl.numInvocations != 0) in valid() 140 decl.m_geometryDecl.numInvocations) in ShaderProgram()
|
D | sglrShaderProgram.hpp | 134 , numInvocations (numInvocations_) in GeometryShaderDeclaration() 141 size_t numInvocations; member
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeShaderBuiltinVarTests.cpp | 391 …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()
|