/third_party/vk-gl-cts/modules/gles3/stress/ |
H A D | es3sLongRunningShaderTests.cpp | 83 int numInvocations; member 231 m_testCtx.getLog() << TestLog::Message << "Number of vertices and fragments: " << m_params->numInvocations << TestLog::EndMessage; in init() 269 ^ deInt32Hash(params.numInvocations); in getSeed() 277 vector<Vec2> positions (m_params->numInvocations); in iterate() 278 vector<int> 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 { "short_for_vertex", "", glu::SHADERTYPE_VERTEX, LOOPTYPE_FOR, ITERCOUNTTYPE_DYNAMIC, numInvocations, shortLoopMin, shortLoopMax }, in init() 327 { "short_for_fragment", "", glu::SHADERTYPE_FRAGMENT, LOOPTYPE_FOR, ITERCOUNTTYPE_DYNAMIC, numInvocations, shortLoopMin, shortLoopMax }, in init() 328 { "short_while_vertex", "", glu::SHADERTYPE_VERTEX, LOOPTYPE_WHILE, ITERCOUNTTYPE_DYNAMIC, numInvocations, shortLoopMi in init() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryInstancedRenderingTests.cpp | 61 int numInvocations; member 245 void generateReferenceImage(tcu::PixelBufferAccess image, 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>(numInvocations - 1) : 0.0f); 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 << " const float modifier = " << (params.numInvocations > 1 ? "float(gl_InvocationID) / float(" + de::toString(params.numInvocations - 1) + ")" : "0.0") << ";\n" in initPrograms() 313 << " const float dx = (sign(-pos.x) - pos.x) / float(" << params.numInvocations << ");\ in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryInstancedRenderingTests.cpp | 61 int numInvocations; member 245 void generateReferenceImage(tcu::PixelBufferAccess image, 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>(numInvocations - 1) : 0.0f); 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 << " const float modifier = " << (params.numInvocations > 1 ? "float(gl_InvocationID) / float(" + de::toString(params.numInvocations - 1) + ")" : "0.0") << ";\n" in initPrograms() 313 << " const float dx = (sign(-pos.x) - pos.x) / float(" << params.numInvocations << ");\ in initPrograms() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fOpaqueTypeIndexingTests.cpp | 491 const int numInvocations = 64; in iterate() local 497 const int outLookupStride = numInvocations*getDataTypeScalarSize(outputType); in iterate() 512 coords.resize(numInvocations * getDataTypeScalarSize(coordType)); in iterate() 521 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNdx++) in iterate() 567 expandedIndices.resize(numInvocations * lookupIndices.size()); in iterate() 570 for (int invNdx = 0; invNdx < numInvocations; invNdx++) in iterate() 571 expandedIndices[lookupNdx*numInvocations + invNdx] = lookupIndices[lookupNdx]; in iterate() 575 inputs.push_back(&expandedIndices[lookupNdx*numInvocations]); in iterate() 585 executor->execute(numInvocations, &inputs[0], &outputs[0]); in iterate() 600 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNd in iterate() 851 const int numInvocations = 32; iterate() local 1086 const int numInvocations = 32; iterate() local [all...] |
H A D | es31fComputeShaderBuiltinVarTests.cpp | 214 const deUint32 numInvocations = subCase.localSize[0]*subCase.localSize[1]*subCase.localSize[2]*subCase.numWorkGroups[0]*subCase.numWorkGroups[1]*subCase.numWorkGroups[2]; in iterate() local 218 const deUint32 bufferSize = numInvocations*outVarInfo.arrayStride; in iterate() 277 m_testCtx.getLog() << TestLog::Message << (numInvocations-numFailed) << " / " << numInvocations << " values passed" << TestLog::EndMessage; in iterate()
|
H A D | es31fGeometryShaderTests.cpp | 1500 InvocationCountShader (const glu::ContextType& contextType, int numInvocations, OutputCase testCase); 1507 static std::string genGeometrySource (const glu::ContextType& contextType, int numInvocations, OutputCase testCase); 1508 static size_t getNumVertices (int numInvocations, OutputCase testCase); 1514 InvocationCountShader::InvocationCountShader (const glu::ContextType& contextType, int numInvocations, OutputCase testCase) in InvocationCountShader() argument 1525 getNumVertices(numInvocations, testCase), in InvocationCountShader() 1526 numInvocations) in InvocationCountShader() 1527 << sglr::pdec::GeometrySource(genGeometrySource(contextType, numInvocations, testCase))) in InvocationCountShader() 1528 , m_numInvocations (numInvocations) in InvocationCountShader() 1602 std::string InvocationCountShader::genGeometrySource (const glu::ContextType& contextType, int numInvocations, OutputCase testCase) in genGeometrySource() argument 1604 const int maxVertices = (int)getNumVertices(numInvocations, testCas in genGeometrySource() 1617 " highp float l_angle = float(gl_InvocationID) / float(" << numInvocations << ") * 5.5;\\n" genGeometrySource() local 1668 getNumVertices(int numInvocations, OutputCase testCase) getNumVertices() argument 1697 InstancedExpansionShader(const glu::ContextType& contextType, int numInvocations) InstancedExpansionShader() argument 1778 genGeometrySource(const glu::ContextType& contextType, int numInvocations) genGeometrySource() argument 1790 " highp float phase = float(gl_InvocationID) / float(" << numInvocations << ") * 6.3;\\n" genGeometrySource() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktOpaqueTypeIndexingTests.cpp | 678 const int numInvocations = SamplerIndexingCaseInstance::NUM_INVOCATIONS; in iterate() local 684 const int outLookupStride = numInvocations*getDataTypeScalarSize(outputType); in iterate() 713 coords.resize(numInvocations * getDataTypeScalarSize(coordType)); in iterate() 742 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNdx++) in iterate() 879 expandedIndices.resize(numInvocations * m_lookupIndices.size()); in iterate() 882 for (int invNdx = 0; invNdx < numInvocations; invNdx++) in iterate() 883 expandedIndices[lookupNdx*numInvocations + invNdx] = m_lookupIndices[lookupNdx]; in iterate() 887 inputs.push_back(&expandedIndices[lookupNdx*numInvocations]); in iterate() 893 executor->execute(numInvocations, &inputs[0], &outputs[0], *extraResourcesSet); in iterate() 907 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNd in iterate() 1187 const int numInvocations = NUM_INVOCATIONS; iterate() local 1572 const int numInvocations = NUM_INVOCATIONS; iterate() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktOpaqueTypeIndexingTests.cpp | 680 const int numInvocations = SamplerIndexingCaseInstance::NUM_INVOCATIONS; in iterate() local 686 const int outLookupStride = numInvocations*getDataTypeScalarSize(outputType); in iterate() 715 coords.resize(numInvocations * getDataTypeScalarSize(coordType)); in iterate() 744 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNdx++) in iterate() 881 expandedIndices.resize(numInvocations * m_lookupIndices.size()); in iterate() 884 for (int invNdx = 0; invNdx < numInvocations; invNdx++) in iterate() 885 expandedIndices[lookupNdx*numInvocations + invNdx] = m_lookupIndices[lookupNdx]; in iterate() 889 inputs.push_back(&expandedIndices[lookupNdx*numInvocations]); in iterate() 895 executor->execute(numInvocations, &inputs[0], &outputs[0], *extraResourcesSet); in iterate() 909 for (int invocationNdx = 0; invocationNdx < numInvocations; invocationNd in iterate() 1191 const int numInvocations = NUM_INVOCATIONS; iterate() local 1578 const int numInvocations = NUM_INVOCATIONS; iterate() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationGeometryGridRenderTests.cpp | 225 const int numInvocations = m_numGeometryInvocations; in initPrograms() local 232 << "layout(triangles, invocations = " << numInvocations << ") in;\n" in initPrograms() 268 << " ivec2 dstGridSize = ivec2(" << m_tessGenLevel << " * " << numPrimitives << ", 2 * " << m_tessGenLevel << " * " << numInvocations << ");\n" in initPrograms() 301 DE_ASSERT(m_numLayers == numInvocations * 2); in initPrograms() 347 << " ivec2 srcSliceNdx = ivec2(gridPosition.x, gridPosition.y * " << (numInvocations*2) << " + inputTriangleNdx);\n" in initPrograms() 348 << " ivec2 dstSliceNdx = ivec2(7 * srcSliceNdx.x, 127 * srcSliceNdx.y) % ivec2(" << m_tessGenLevel << ", " << m_tessGenLevel << " * " << (numInvocations*2) << ");\n" in initPrograms() 353 << " outputSliceArea.y = float(dstSliceNdx.y) / float(" << (m_tessGenLevel * numInvocations * 2) << ") * 2.0 - 1.0 - gapOffset;\n" in initPrograms() 355 << " outputSliceArea.w = float(dstSliceNdx.y+1) / float(" << (m_tessGenLevel * numInvocations * 2) << ") * 2.0 - 1.0 + gapOffset;\n"; in initPrograms() 363 << " float sliceHeight = (aabb.w - aabb.y) / float(2 * " << numInvocations << ");\n" in initPrograms() local
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrShaders.cpp | 30 GeometryShader::GeometryShader (size_t numVaryingInputs, size_t numVaryingOutputs, GeometryShaderInputType inputType, GeometryShaderOutputType outputType, size_t verticesOut, size_t numInvocations) in GeometryShader() argument 34 , m_numInvocations (numInvocations) in GeometryShader()
|
H A D | rrShaders.hpp | 179 size_t numInvocations);
|
H A D | rrRenderer.cpp | 1421 const int numInvocations = (int)program.geometryShader->getNumInvocations(); in drawWithGeometryShader() local 1433 for (int invocationNdx = 0; invocationNdx < numInvocations; ++invocationNdx) in drawWithGeometryShader()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationGeometryGridRenderTests.cpp | 225 const int numInvocations = m_numGeometryInvocations; in initPrograms() local 232 << "layout(triangles, invocations = " << numInvocations << ") in;\n" in initPrograms() 268 << " ivec2 dstGridSize = ivec2(" << m_tessGenLevel << " * " << numPrimitives << ", 2 * " << m_tessGenLevel << " * " << numInvocations << ");\n" in initPrograms() 301 DE_ASSERT(m_numLayers == numInvocations * 2); in initPrograms() 347 << " ivec2 srcSliceNdx = ivec2(gridPosition.x, gridPosition.y * " << (numInvocations*2) << " + inputTriangleNdx);\n" in initPrograms() 348 << " ivec2 dstSliceNdx = ivec2(7 * srcSliceNdx.x, 127 * srcSliceNdx.y) % ivec2(" << m_tessGenLevel << ", " << m_tessGenLevel << " * " << (numInvocations*2) << ");\n" in initPrograms() 353 << " outputSliceArea.y = float(dstSliceNdx.y) / float(" << (m_tessGenLevel * numInvocations * 2) << ") * 2.0 - 1.0 - gapOffset;\n" in initPrograms() 355 << " outputSliceArea.w = float(dstSliceNdx.y+1) / float(" << (m_tessGenLevel * numInvocations * 2) << ") * 2.0 - 1.0 + gapOffset;\n"; in initPrograms() 363 << " float sliceHeight = (aabb.w - aabb.y) / float(2 * " << numInvocations << ");\n" in initPrograms() local
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesBufferMemoryAliasing.cpp | 64 tcu::UVec3 computeWorkGroupSize (const deUint32 numInvocations) in computeWorkGroupSize() argument 68 deUint32 numInvocationsLeft = numInvocations; in computeWorkGroupSize() 123 const deUint32 numInvocations = m_bufferSizeInBytes / SIZE_OF_UINT_IN_SHADER; in initPrograms() local 124 const tcu::UVec3 workGroupSize = computeWorkGroupSize(numInvocations); in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesBufferMemoryAliasing.cpp | 64 tcu::UVec3 computeWorkGroupSize (const deUint32 numInvocations) in computeWorkGroupSize() argument 68 deUint32 numInvocationsLeft = numInvocations; in computeWorkGroupSize() 125 const deUint32 numInvocations = m_bufferSizeInBytes / SIZE_OF_UINT_IN_SHADER; in initPrograms() local 126 const tcu::UVec3 workGroupSize = computeWorkGroupSize(numInvocations); in initPrograms()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrShaderProgram.cpp | 124 m_geometryDecl.numInvocations != 0) in valid() 140 decl.m_geometryDecl.numInvocations) in ShaderProgram()
|
H A D | sglrShaderProgram.hpp | 134 , numInvocations (numInvocations_) in GeometryShaderDeclaration() 141 size_t numInvocations; member
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeShaderBuiltinVarTests.cpp | 436 const deUint32 numInvocations = subCase.localSize()[0] * subCase.localSize()[1] * subCase.localSize()[2] * subCase.numWorkGroups()[0] * subCase.numWorkGroups()[1] * subCase.numWorkGroups()[2]; in iterate() local 455 const deUint32 resultBufferSize = numInvocations * resultBufferStride; in iterate() 571 testCtx.getLog() << TestLog::Message << (numInvocations - numFailed) << " / " << numInvocations << " values passed" << TestLog::EndMessage; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
H A D | vktComputeShaderBuiltinVarTests.cpp | 424 const deUint32 numInvocations = subCase.localSize()[0] * subCase.localSize()[1] * subCase.localSize()[2] * subCase.numWorkGroups()[0] * subCase.numWorkGroups()[1] * subCase.numWorkGroups()[2]; in iterate() local 443 const deUint32 resultBufferSize = numInvocations * resultBufferStride; in iterate() 559 testCtx.getLog() << TestLog::Message << (numInvocations - numFailed) << " / " << numInvocations << " values passed" << TestLog::EndMessage; in iterate()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | ShaderStorageBufferTest.cpp | 1596 constexpr unsigned int numInvocations = 3; in TEST_P() local 1610 glBufferData(GL_SHADER_STORAGE_BUFFER, numInvocations * arrayStride1, nullptr, GL_STREAM_READ); in TEST_P() 1619 glBufferData(GL_SHADER_STORAGE_BUFFER, numInvocations * arrayStride2, nullptr, GL_STREAM_READ); in TEST_P() 1633 for (unsigned int idx = 0; idx < numInvocations; idx++) in TEST_P() 1644 for (unsigned int idx = 0; idx < numInvocations; idx++) in TEST_P()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | ShaderModule.cpp | 696 uint64_t numInvocations = static_cast<uint64_t>(entryPoint.workgroup_size_x) * 699 DAWN_INVALID_IF(numInvocations > limits.v1.maxComputeInvocationsPerWorkgroup, 702 numInvocations, limits.v1.maxComputeInvocationsPerWorkgroup);
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ParseContext.h | 384 int *numInvocations);
|
H A D | ParseContext.cpp | 5297 int *numInvocations) in parseInvocations() 5310 *numInvocations = intValue; in parseInvocations() 5294 parseInvocations(int intValue, const TSourceLoc &intValueLine, const std::string &intValueString, int *numInvocations) parseInvocations() argument
|