Home
last modified time | relevance | path

Searched refs:testParams (Results 1 – 25 of 60) sorted by relevance

123

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryBuiltinTests.cpp125 typedef void (*CheckSupportFunc)(Context& context, const TestParams& testParams);
126 …pedef void (*InitProgramsFunc)(SourceCollections& programCollection, const TestParams& testParams);
127 typedef const std::string(*ShaderBodyTextFunc)(const TestParams& testParams);
136 TestParams& testParams) = 0;
138 TestParams& testParams,
160 …virtual const VkAccelerationStructureKHR* initAccelerationStructures (TestParams& testParams, VkCo…
161 virtual bool verify (BufferWithMemory* resultBuffer, TestParams& testParams);
183 TestParams& testParams) override;
198 TestParams& testParams) override;
215 TestParams& testParams) override;
[all …]
DvktRayQueryTraversalControlTests.cpp109 TestParams& testParams) = 0;
111 TestParams& testParams,
117 TestParams& testParams) = 0;
236 TestParams& testParams) override;
238 TestParams& testParams,
244 TestParams& testParams) override;
268 TestParams& testParams) in initConfiguration() argument
303 auto shaderNameIt = shaderNames.find(testParams.shaderSourceType); in initConfiguration()
309 …_VERTEX_BIT, shaderNameIt->second[0], rayQueryTestName[testParams.bottomType][testParams.shad… in initConfiguration()
310 …ION_CONTROL_BIT, shaderNameIt->second[1], rayQueryTestName[testParams.bottomType][testParams.shad… in initConfiguration()
[all …]
DvktRayQueryWatertightnessTests.cpp84 typedef void (*CheckSupportFunc)(Context& context, const TestParams& testParams);
85 typedef void (*InitProgramsFunc)(SourceCollections& programCollection, const TestParams& testParams
86 typedef const std::string (*ShaderBodyTextFunc)(const TestParams& testParams);
95 TestParams& testParams) = 0;
97 TestParams& testParams,
117 TestParams& testParams,
121 TestParams& testParams) = 0;
336 const TestParams& testParams);
338 const TestParams& testParams);
344 TestParams& testParams);
[all …]
DvktRayQueryCullRayFlagsTests.cpp146 TestParams& testParams) = 0;
148 TestParams& testParams,
155 TestParams& testParams) = 0;
271 std::vector<deUint32> getHitResult (const TestParams& testParams) in getHitResult() argument
273 deUint32 rayFlags = testParams.flag0 | testParams.flag1; in getHitResult()
275 switch (testParams.shaderTestType) in getHitResult()
292 if (testParams.bottomType == BTT_AABBS) in getHitResult()
300 …if (testParams.bottomType == BTT_TRIANGLES && rayFlags & RF_SkipTriangles) hitResult = { 0,0,0,0 }; in getHitResult()
301 if (testParams.bottomType == BTT_AABBS && rayFlags & RF_SkipAABB) hitResult = { 0,0,0,0 }; in getHitResult()
316 TestParams& testParams) override;
[all …]
DvktRayQueryAccelerationStructuresTests.cpp150 TestParams& testParams) = 0;
152 TestParams& testParams,
158 TestParams& testParams) = 0;
172 TestParams& testParams) = 0;
174 TestParams& testParams,
332 TestParams& testParams) override;
334 TestParams& testParams,
340 TestParams& testParams) override;
364 TestParams& testParams) in initConfiguration() argument
397 auto shaderNameIt = shaderNames.find(testParams.shaderSourceType); in initConfiguration()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmVariableInitTests.cpp67 const TestParams testParams[] = variable
129 for (int paramIdx = 0; paramIdx < DE_LENGTH_OF_ARRAY(testParams); paramIdx++) in addComputeVariableInitPrivateTest()
135 const int numComponents = testParams[paramIdx].numComponents; in addComputeVariableInitPrivateTest()
137 const string type = testParams[paramIdx].type; in addComputeVariableInitPrivateTest()
159 + (testParams[paramIdx].initializationSource == INITIALIZATION_SOURCE_GLOBAL ? globals : "") in addComputeVariableInitPrivateTest()
186 switch(testParams[paramIdx].initializationSource) in addComputeVariableInitPrivateTest()
193 DE_ASSERT(testParams[paramIdx].initializationSource == INITIALIZATION_SOURCE_GLOBAL); in addComputeVariableInitPrivateTest()
208 if (testParams[paramIdx].type == "matrix") in addComputeVariableInitPrivateTest()
219 …privateGroup->addChild(new SpvAsmComputeShaderCase(testCtx, testParams[paramIdx].name.c_str(), "",… in addComputeVariableInitPrivateTest()
239 for (int paramIdx = 0; paramIdx < DE_LENGTH_OF_ARRAY(testParams); paramIdx++) in addGraphicsVariableInitPrivateTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingTraversalControlTests.cpp87 TestParams& testParams) = 0;
89 TestParams& testParams,
93 TestParams& testParams) = 0;
96 TestParams& testParams,
110 TestParams& testParams) = 0;
172 TestParams& testParams) override;
174 TestParams& testParams,
178 TestParams& testParams) override;
181 TestParams& testParams,
195 TestParams& testParams) override;
[all …]
DvktRayTracingShaderBindingTableTests.cpp85 TestParams& testParams) = 0;
87 TestParams& testParams,
90 TestParams& testParams) = 0;
93 TestParams& testParams) = 0;
96 TestParams& testParams,
110 TestParams& testParams) = 0;
186 TestParams& testParams) override;
188 TestParams& testParams,
191 TestParams& testParams) override;
194 TestParams& testParams) override;
[all …]
DvktRayTracingCallableShadersTests.cpp80 TestParams& testParams) = 0;
82 TestParams& testParams,
86 TestParams& testParams) = 0;
89 TestParams& testParams,
103 TestParams& testParams) = 0;
164 TestParams& testParams) override;
166 TestParams& testParams,
170 TestParams& testParams) override;
173 TestParams& testParams,
187 TestParams& testParams) override;
[all …]
DvktRayTracingAccelerationStructuresTests.cpp132 TestParams& testParams) = 0;
134 TestParams& testParams,
138 TestParams& testParams) = 0;
141 TestParams& testParams,
150 TestParams& testParams) = 0;
256 TestParams& testParams) override;
258 TestParams& testParams,
262 TestParams& testParams) override;
265 TestParams& testParams,
274 TestParams& testParams) override;
[all …]
DvktRayTracingCaptureReplayTests.cpp131 TestParams& testParams) = 0;
133 TestParams& testParams,
139 TestParams& testParams,
145 TestParams& testParams,
153 TestParams& testParams) = 0;
248 TestParams& testParams) override;
250 TestParams& testParams,
256 TestParams& testParams,
262 TestParams& testParams,
270 TestParams& testParams) override;
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDepthRangeUnrestrictedTests.cpp1499 DepthRangeUnrestrictedParam testParams; in createDepthRangeUnrestrictedTests() local
1500 testParams.testClearValueOnly = VK_TRUE; in createDepthRangeUnrestrictedTests()
1501 testParams.depthClampEnable = VK_FALSE; in createDepthRangeUnrestrictedTests()
1502 testParams.wc = 1.0f; in createDepthRangeUnrestrictedTests()
1503 testParams.viewportMinDepth = 0.0f; in createDepthRangeUnrestrictedTests()
1504 testParams.viewportMaxDepth = 1.0f; in createDepthRangeUnrestrictedTests()
1505 testParams.minDepthBounds = 0.0f; in createDepthRangeUnrestrictedTests()
1506 testParams.maxDepthBounds = 1.0f; in createDepthRangeUnrestrictedTests()
1507 testParams.depthBoundsTestEnable = VK_FALSE; in createDepthRangeUnrestrictedTests()
1508 testParams.depthCompareOp = VK_COMPARE_OP_LESS_OR_EQUAL; in createDepthRangeUnrestrictedTests()
[all …]
DvktPipelineBlendOperationAdvancedTests.cpp2443 BlendOperationAdvancedParam testParams; in createBlendOperationAdvancedTests() local
2444 testParams.testMode = TEST_MODE_GENERIC; in createBlendOperationAdvancedTests()
2445 testParams.overlap = (VkBlendOverlapEXT) overlap; in createBlendOperationAdvancedTests()
2446 testParams.coherentOperations = DE_FALSE; in createBlendOperationAdvancedTests()
2447 testParams.colorAttachmentsCount = colorAttachmentCounts[colorAttachmentCount]; in createBlendOperationAdvancedTests()
2448 testParams.independentBlend = DE_FALSE; in createBlendOperationAdvancedTests()
2449testParams.premultipliedSrcColor = (premultiplyModes[premultiply] & PREMULTIPLY_SRC) ? VK_TRUE : V… in createBlendOperationAdvancedTests()
2450testParams.premultipliedDstColor = (premultiplyModes[premultiply] & PREMULTIPLY_DST) ? VK_TRUE : V… in createBlendOperationAdvancedTests()
2451 testParams.testNumber = testNumber++; in createBlendOperationAdvancedTests()
2454 testParams.blendOps.push_back(blendOps[blendOp]); in createBlendOperationAdvancedTests()
[all …]
DvktPipelineInterfaceMatchingTests.cpp445 std::string generateName (const TestParams& testParams) const;
963 std::string InterfaceMatchingTestCase::generateName(const TestParams& testParams) const in generateName()
988 DE_ASSERT(pipelineTypeMap.find(testParams.pipelineType) != pipelineTypeMap.end()); in generateName()
989 DE_ASSERT(definitionTypeMap.find(testParams.definitionType) != definitionTypeMap.end()); in generateName()
993 if (testParams.testType == TestType::VECTOR_LENGTH) in generateName()
994 caseName = "out_" + getVecData(testParams.outVecType).glslType + in generateName()
995 "_in_" + getVecData(testParams.inVecType).glslType; in generateName()
997 caseName = "out_" + getDecorationData(testParams.outDeclDecoration).namePart + in generateName()
998 "_in_" + getDecorationData(testParams.inDeclDecoration).namePart; in generateName()
1001 definitionTypeMap.at(testParams.definitionType) + "_" + in generateName()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderViewportIndexTests.cpp485 void initFragmentTestPrograms (SourceCollections& programCollection, const TestParams testParams) in initFragmentTestPrograms() argument
499 << (testParams.writeFromVertex ? " gl_ViewportIndex = gl_VertexIndex / 6;\n" : "") in initFragmentTestPrograms()
516 << " vec4 color[" << testParams.numViewports << "];\n" in initFragmentTestPrograms()
660 const TestParams& testParams, in Renderer() argument
666 : m_useDynamicRendering (testParams.useDynamicRendering) in Renderer()
671 , m_numViewports (testParams.numViewports) in Renderer()
829 tcu::TestStatus testVertexFragmentShader (Context& context, const TestParams& testParams, Renderer:… in testVertexFragmentShader() argument
838 const std::vector<Vec4> colors = generateColors(testParams.numViewports); in testVertexFragmentShader()
839 const std::vector<UVec4> cells = generateGrid(testParams.numViewports, renderSize); in testVertexFragmentShader()
854 …<< tcu::TestLog::Message << "Rendering a colorful grid of " << testParams.numViewports << " rectan… in testVertexFragmentShader()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorUpdateASTests.cpp87 typedef void (*CheckSupportFunc)(Context& context, const TestParams& testParams);
88 typedef void (*InitProgramsFunc)(SourceCollections& programCollection, const TestParams& testParams
89 typedef const std::string (*ShaderBodyTextFunc)(const TestParams& testParams);
348 const TestParams& testParams);
361 TestParams& testParams);
363 TestParams& testParams,
367 TestParams& testParams);
388 …tInstance::BindingAcceleratioStructureTestInstance (Context& context, const TestParams& testParams) in BindingAcceleratioStructureTestInstance() argument
390 , m_testParams (testParams) in BindingAcceleratioStructureTestInstance()
586 TestParams& testParams) in createAccelerationStructures() argument
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedClearAttachmentTests.cpp179 const TestParams& testParams);
222 const TestParams& testParams) in UnusedClearAttachmentTest() argument
224 , m_testParams(testParams) in UnusedClearAttachmentTest()
321 const TestParams testParams) in createRenderPass() argument
324 const VkImageAspectFlags dsClearAspectMask = getClearAspectMask(testParams.depthStencilType); in createRenderPass()
325 const bool isDepthStencil = hasDepthStencil(testParams.depthStencilType); in createRenderPass()
340 …std::vector<AttachmentDesc> attachmentDescriptions (testParams.colorUsed.size(), attachmentDescr… in createRenderPass()
344 const bool depthOnly = isDepthOnly(testParams.depthStencilType); in createRenderPass()
345 const bool stencilOnly = isStencilOnly(testParams.depthStencilType); in createRenderPass()
354 testParams.depthStencilFormat, // VkFormat format in createRenderPass()
[all …]
DvktRenderPassUnusedAttachmentTests.cpp101 const TestParams testParams) in createRenderPass() argument
103 …const VkImageAspectFlags aspectMask = testParams.renderingType == RENDERING_TYPE_RENDERPASS_L… in createRenderPass()
125 testParams.loadOp, // VkAttachmentLoadOp loadOp in createRenderPass()
126 testParams.storeOp, // VkAttachmentStoreOp storeOp in createRenderPass()
127 testParams.stencilLoadOp, // VkAttachmentLoadOp stencilLoadOp in createRenderPass()
128 testParams.stencilStoreOp, // VkAttachmentStoreOp stencilStoreOp in createRenderPass()
235 const TestParams& testParams);
247 const TestParams& testParams);
300 const TestParams& testParams) in UnusedAttachmentTest() argument
302 , m_testParams (testParams) in UnusedAttachmentTest()
[all …]
DvktRenderPassLoadStoreOpNoneTests.cpp190 const TestParams testParams) in createRenderPass() argument
192 …const VkImageAspectFlags aspectMask = testParams.renderingType == RENDERING_TYPE_RENDERPASS_L… in createRenderPass()
193 …const VkImageAspectFlags depthStencilAspectMask = testParams.renderingType == RENDERING_TYPE_REN… in createRenderPass()
208 for (size_t i = 0; i < testParams.attachments.size(); i++) in createRenderPass()
212 VkFormat format = getFormat(testParams.attachments[i].usage, testParams.depthStencilFormat); in createRenderPass()
215 deUint32 firstUsage = getFirstUsage((deUint32)i, testParams.subpasses); in createRenderPass()
219 firstUsage = testParams.attachments[i].usage; in createRenderPass()
234 if (testParams.attachments[i].verifyInner || testParams.attachments[i].verifyOuter) in createRenderPass()
239 …const VkSampleCountFlagBits sampleCount = testParams.attachments[i].usage & ATTACHMENT_USAGE_MULT… in createRenderPass()
247 testParams.attachments[i].loadOp, // VkAttachmentLoadOp loadOp in createRenderPass()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiFullScreenExclusiveTests.cpp338 TestParams testParams) in fullScreenExclusiveTest() argument
343 const InstanceHelper instHelper(context, testParams.wsiType); in fullScreenExclusiveTest()
344 const NativeObjectsFS native(context, instHelper.supportedExtensions, testParams.wsiType); in fullScreenExclusiveTest()
345 …aceKHR> surface(createSurface(instHelper.vki, instHelper.instance, testParams.wsiType, *native… in fullScreenExclusiveTest()
353 if (testParams.wsiType == TYPE_WIN32) in fullScreenExclusiveTest()
363 testParams.fseType // VkFullScreenExclusiveEXT fullScreenExclusive; in fullScreenExclusiveTest()
373 if (testParams.wsiType == TYPE_WIN32) in fullScreenExclusiveTest()
400 if (testParams.wsiType == TYPE_WIN32) in fullScreenExclusiveTest()
418 …VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(testParams.wsiType, in… in fullScreenExclusiveTest()
423 if (testParams.wsiType == TYPE_WIN32) in fullScreenExclusiveTest()
[all …]
/third_party/libxml2/
Dregressions.py283 self.testParams = {} # start with an empty set of params
288 if key not in self.testParams:
289 self.testParams[key] = data
291 if self.testParams[key] != '':
293 self.testParams[key] += data
299 if reader.Name() not in self.testParams:
300 self.testParams[reader.Name()] = ''
309 runTest(self.testParams)
324 curClass.testParams = {}
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DANGLEPerfTest.cpp363 ANGLERenderTest::ANGLERenderTest(const std::string &name, const RenderTestParams &testParams) in ANGLERenderTest() argument
364 : ANGLEPerfTest(name, testParams.suffix(), OneFrame() ? 1 : testParams.iterationsPerStep), in ANGLERenderTest()
365 mTestParams(testParams), in ANGLERenderTest()
372 const_cast<RenderTestParams &>(testParams).iterationsPerStep = 1; in ANGLERenderTest()
378 switch (testParams.driver) in ANGLERenderTest()
381 mGLWindow = EGLWindow::New(testParams.majorVersion, testParams.minorVersion); in ANGLERenderTest()
391 mGLWindow = WGLWindow::New(testParams.majorVersion, testParams.minorVersion); in ANGLERenderTest()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DANGLEPerfTest.cpp632 const RenderTestParams &testParams, in ANGLERenderTest() argument
635 testParams.backend(), in ANGLERenderTest()
636 testParams.story(), in ANGLERenderTest()
637 OneFrame() ? 1 : testParams.iterationsPerStep, in ANGLERenderTest()
639 mTestParams(testParams), in ANGLERenderTest()
648 const_cast<RenderTestParams &>(testParams).iterationsPerStep = 1; in ANGLERenderTest()
654 switch (testParams.driver) in ANGLERenderTest()
657 mGLWindow = EGLWindow::New(testParams.majorVersion, testParams.minorVersion); in ANGLERenderTest()
662 mGLWindow = EGLWindow::New(testParams.majorVersion, testParams.minorVersion); in ANGLERenderTest()
672 mGLWindow = WGLWindow::New(testParams.majorVersion, testParams.minorVersion); in ANGLERenderTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationFractionalSpacingTests.cpp384 void initPrograms (vk::SourceCollections& programCollection, TestParams testParams) in initPrograms() argument
386 if (testParams.shaderLanguage == SHADER_LANGUAGE_GLSL) in initPrograms()
428 << getSpacingModeShaderName(testParams.spacingMode) << ", point_mode) in;\n" in initPrograms()
470 << "[partitioning(\"" << getPartitioningShaderName(testParams.spacingMode) << "\")]\n" in initPrograms()
512 tcu::TestStatus test (Context& context, TestParams testParams) in test() argument
514 …DE_ASSERT(testParams.spacingMode == SPACINGMODE_FRACTIONAL_ODD || testParams.spacingMode == SPACIN… in test()
515 …DE_ASSERT(testParams.shaderLanguage == SHADER_LANGUAGE_GLSL || testParams.shaderLanguage == SHADER… in test()
526 …const int maxNumVertices = 1 + getClampedRoundedTessLevel(testParams.spacingMode, *std::max_el… in test()
635 …success = verifyFractionalSpacingSingle(log, testParams.spacingMode, tessLevelCases[tessLevelCaseN… in test()
647 …success = verifyFractionalSpacingMultiple(context.getTestContext().getLog(), testParams.spacingMod… in test()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiFillBufferTests.cpp74 FillWholeBufferTestInstance (Context& context, const TestParams& testParams);
89 …holeBufferTestInstance::FillWholeBufferTestInstance(Context& context, const TestParams& testParams) in FillWholeBufferTestInstance() argument
90 : vkt::TestInstance(context), m_params(testParams) in FillWholeBufferTestInstance()
99testParams.bufferAllocator->createTestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, c… in FillWholeBufferTestInstance()
180 TestParams testParams);
214 TestParams testParams) in FillBufferTestInstance() argument
216 , m_params (testParams) in FillBufferTestInstance()
229testParams.bufferAllocator->createTestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, c… in FillBufferTestInstance()
365 TestParams testParams) in UpdateBufferTestInstance() argument
366 : FillBufferTestInstance (context, testParams) in UpdateBufferTestInstance()

123