Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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()
375 …<< tcu::TestLog::Message << "Drawing " << params.numInvocations << " quad(s), each drawn by a geom… in test()
387 …erateReferenceImage(reference.getAccess(), clearColor, perInstancePosition, params.numInvocations); in test()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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()
375 …<< tcu::TestLog::Message << "Drawing " << params.numInvocations << " quad(s), each drawn by a geom… in test()
387 …erateReferenceImage(reference.getAccess(), clearColor, perInstancePosition, params.numInvocations); in test()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp491 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; 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.cpp1500 …InvocationCountShader (const glu::ContextType& contextType, int numInvocations, OutputCase testCa…
1507 …static std::string genGeometrySource (const glu::ContextType& contextType, int numInvocations, O…
1508 static size_t getNumVertices (int numInvocations, OutputCase testCase);
1514 …der::InvocationCountShader (const glu::ContextType& contextType, int numInvocations, OutputCase te… 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 …tShader::genGeometrySource (const glu::ContextType& contextType, int numInvocations, OutputCase te… in genGeometrySource() argument
1604 const int maxVertices = (int)getNumVertices(numInvocations, testCase); in genGeometrySource()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp680 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; invocationNdx++) in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp680 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; invocationNdx++) in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryGridRenderTests.cpp225 const int numInvocations = m_numGeometryInvocations; in initPrograms() local
232 << "layout(triangles, invocations = " << numInvocations << ") in;\n" in initPrograms()
268 …nLevel << " * " << 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) << " + … in initPrograms()
348 …x.y) % ivec2(" << m_tessGenLevel << ", " << m_tessGenLevel << " * " << (numInvocations*2) << ");\n" in initPrograms()
353 …tSliceArea.y = float(dstSliceNdx.y) / float(" << (m_tessGenLevel * numInvocations * 2) << ") * 2… in initPrograms()
355 …tSliceArea.w = float(dstSliceNdx.y+1) / float(" << (m_tessGenLevel * numInvocations * 2) << ") * 2… in initPrograms()
363 << " float sliceHeight = (aabb.w - aabb.y) / float(2 * " << numInvocations << ");\n" in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
DvktTessellationGeometryGridRenderTests.cpp225 const int numInvocations = m_numGeometryInvocations; in initPrograms() local
232 << "layout(triangles, invocations = " << numInvocations << ") in;\n" in initPrograms()
268 …nLevel << " * " << 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) << " + … in initPrograms()
348 …x.y) % ivec2(" << m_tessGenLevel << ", " << m_tessGenLevel << " * " << (numInvocations*2) << ");\n" in initPrograms()
353 …tSliceArea.y = float(dstSliceNdx.y) / float(" << (m_tessGenLevel * numInvocations * 2) << ") * 2… in initPrograms()
355 …tSliceArea.w = float(dstSliceNdx.y+1) / float(" << (m_tessGenLevel * numInvocations * 2) << ") * 2… in initPrograms()
363 << " float sliceHeight = (aabb.w - aabb.y) / float(2 * " << numInvocations << ");\n" in initPrograms()
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLVertexGeoBuilder.cpp69 int numInvocations) { in configure() argument
71 fNumInvocations = numInvocations; in configure()
73 this->addLayoutQualifier(SkStringPrintf("invocations = %i", numInvocations).c_str(), in configure()
DGrGLSLVertexGeoBuilder.h66 void configure(InputType, OutputType, int maxVertices, int numInvocations = 1);
/third_party/vk-gl-cts/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);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesBufferMemoryAliasing.cpp64 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/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferMemoryAliasing.cpp64 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/
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
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/
DvktComputeShaderBuiltinVarTests.cpp424 …const deUint32 numInvocations = subCase.localSize()[0] * subCase.localSize()[1] * subCase.loca… in iterate() local
443 const deUint32 resultBufferSize = numInvocations * resultBufferStride; in iterate()
559 …testCtx.getLog() << TestLog::Message << (numInvocations - numFailed) << " / " << numInvocations <<… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeShaderBuiltinVarTests.cpp424 …const deUint32 numInvocations = subCase.localSize()[0] * subCase.localSize()[1] * subCase.loca… in iterate() local
443 const deUint32 resultBufferSize = numInvocations * resultBufferStride; in iterate()
559 …testCtx.getLog() << TestLog::Message << (numInvocations - numFailed) << " / " << numInvocations <<… in iterate()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DShaderStorageBufferTest.cpp1471 constexpr unsigned int numInvocations = 3; in TEST_P() local
1485 glBufferData(GL_SHADER_STORAGE_BUFFER, numInvocations * arrayStride1, nullptr, GL_STREAM_READ); in TEST_P()
1494 glBufferData(GL_SHADER_STORAGE_BUFFER, numInvocations * arrayStride2, nullptr, GL_STREAM_READ); in TEST_P()
1508 for (unsigned int idx = 0; idx < numInvocations; idx++) in TEST_P()
1519 for (unsigned int idx = 0; idx < numInvocations; idx++) in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DShaderStorageBufferTest.cpp1596 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/
DShaderModule.cpp696 uint64_t numInvocations = static_cast<uint64_t>(entryPoint.workgroup_size_x) * in ReflectShaderUsingTint() local
699 DAWN_INVALID_IF(numInvocations > limits.v1.maxComputeInvocationsPerWorkgroup, in ReflectShaderUsingTint()
702 numInvocations, limits.v1.maxComputeInvocationsPerWorkgroup); in ReflectShaderUsingTint()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.h372 int *numInvocations);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.h384 int *numInvocations);

12