Home
last modified time | relevance | path

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

12

/external/deqp/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.cpp149 TestParams& testParams) = 0;
151 TestParams& testParams,
157 TestParams& testParams) = 0;
171 TestParams& testParams) = 0;
173 TestParams& testParams,
331 TestParams& testParams) override;
333 TestParams& testParams,
339 TestParams& testParams) override;
363 TestParams& testParams) in initConfiguration() argument
396 auto shaderNameIt = shaderNames.find(testParams.shaderSourceType); in initConfiguration()
[all …]
/external/deqp/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 …]
/external/deqp/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 …]
DvktRayTracingAccelerationStructuresTests.cpp131 TestParams& testParams) = 0;
133 TestParams& testParams,
137 TestParams& testParams) = 0;
140 TestParams& testParams,
149 TestParams& testParams) = 0;
255 TestParams& testParams) override;
257 TestParams& testParams,
261 TestParams& testParams) override;
264 TestParams& testParams,
273 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 …]
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 …]
/external/deqp/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 …]
DvktPipelineBlendTests.cpp1594 const ClampTestParams& testParams);
1607 ClampTestInstance (Context& context, const ClampTestParams& testParams) in ClampTestInstance() argument
1608 : vkt::TestInstance(context), m_params(testParams) in ClampTestInstance()
1620 const ClampTestParams& testParams) in ClampTest() argument
1622 , m_params(testParams) in ClampTest()
2183 ClampTestParams testParams; in createBlendTests() local
2185 testParams.colorFormat = format; in createBlendTests()
2189 testParams.quadColor[0] = 2.0f; in createBlendTests()
2190 testParams.quadColor[1] = 0.5f; in createBlendTests()
2191 testParams.quadColor[2] = 1.0f; in createBlendTests()
[all …]
/external/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 = {}
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiFullScreenExclusiveTests.cpp336 TestParams testParams) in fullScreenExclusiveTest() argument
341 const InstanceHelper instHelper(context, testParams.wsiType); in fullScreenExclusiveTest()
342 const NativeObjects native(context, instHelper.supportedExtensions, testParams.wsiType); in fullScreenExclusiveTest()
343 …aceKHR> surface(createSurface(instHelper.vki, instHelper.instance, testParams.wsiType, *native… in fullScreenExclusiveTest()
351 if (testParams.wsiType == TYPE_WIN32) in fullScreenExclusiveTest()
361 testParams.fseType // VkFullScreenExclusiveEXT fullScreenExclusive; in fullScreenExclusiveTest()
371 if (testParams.wsiType == TYPE_WIN32) in fullScreenExclusiveTest()
398 if (testParams.wsiType == TYPE_WIN32) in fullScreenExclusiveTest()
416 …VkSwapchainCreateInfoKHR swapchainInfo = getBasicSwapchainParameters(testParams.wsiType, in… in fullScreenExclusiveTest()
421 if (testParams.wsiType == TYPE_WIN32) in fullScreenExclusiveTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedClearAttachmentTests.cpp179 const TestParams& testParams);
222 const TestParams& testParams) in UnusedClearAttachmentTest() argument
224 , m_testParams(testParams) in UnusedClearAttachmentTest()
317 const TestParams testParams) in createRenderPass() argument
320 const VkImageAspectFlags dsClearAspectMask = getClearAspectMask(testParams.depthStencilType); in createRenderPass()
321 const bool isDepthStencil = hasDepthStencil(testParams.depthStencilType); in createRenderPass()
336 …std::vector<AttachmentDesc> attachmentDescriptions (testParams.colorUsed.size(), attachmentDescr… in createRenderPass()
340 const bool depthOnly = isDepthOnly(testParams.depthStencilType); in createRenderPass()
341 const bool stencilOnly = isStencilOnly(testParams.depthStencilType); in createRenderPass()
350 testParams.depthStencilFormat, // VkFormat format in createRenderPass()
[all …]
DvktRenderPassFragmentDensityMapTests.cpp311 const TestParams& testParams) in createRenderPassProduceDynamicDensityMap() argument
313 DE_ASSERT(testParams.dynamicDensityMap); in createRenderPassProduceDynamicDensityMap()
326 testParams.densityMapFormat, // VkFormat format in createRenderPassProduceDynamicDensityMap()
407 const TestParams& testParams) in createRenderPassProduceSubsampledImage() argument
429 testParams.colorSamples, // VkSampleCountFlagBits samples in createRenderPassProduceSubsampledImage()
440 if (testParams.colorSamples != VK_SAMPLE_COUNT_1_BIT) in createRenderPassProduceSubsampledImage()
465 testParams.colorSamples, // VkSampleCountFlagBits samples in createRenderPassProduceSubsampledImage()
480 testParams.densityMapFormat, // VkFormat format in createRenderPassProduceSubsampledImage()
505 if (testParams.colorSamples != VK_SAMPLE_COUNT_1_BIT) in createRenderPassProduceSubsampledImage()
554 if (testParams.viewCount > 1) in createRenderPassProduceSubsampledImage()
[all …]
DvktRenderPassUnusedAttachmentTests.cpp101 const TestParams testParams) in createRenderPass() argument
103 …const VkImageAspectFlags aspectMask = testParams.renderPassType == RENDERPASS_TYPE_LEGACY ? 0… 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 …]
DvktRenderPassUnusedAttachmentSparseFillingTests.cpp122 const TestParams& testParams);
136 const TestParams& testParams);
186 const TestParams& testParams) in InputAttachmentSparseFillingTest() argument
187 : vkt::TestCase (testContext, name, description), m_testParams(testParams) in InputAttachmentSparseFillingTest()
258 …Instance::InputAttachmentSparseFillingTestInstance (Context& context, const TestParams& testParams) in InputAttachmentSparseFillingTestInstance() argument
262 , m_testParams (testParams) in InputAttachmentSparseFillingTestInstance()
377 if (testParams.renderPassType == RENDERPASS_TYPE_LEGACY) in InputAttachmentSparseFillingTestInstance()
557 if (testParams.renderPassType == RENDERPASS_TYPE_LEGACY) in InputAttachmentSparseFillingTestInstance()
808 TestParams testParams{ renderPassType, activeInputAttachmentCount[attachmentNdx] }; in createRenderPassUnusedAttachmentSparseFillingTests() local
809 …g("input_attachment_") + de::toString(activeInputAttachmentCount[attachmentNdx]), "", testParams)); in createRenderPassUnusedAttachmentSparseFillingTests()
/external/angle/src/tests/perf_tests/
DANGLEPerfTest.cpp576 const RenderTestParams &testParams, in ANGLERenderTest() argument
579 testParams.backend(), in ANGLERenderTest()
580 testParams.story(), in ANGLERenderTest()
581 OneFrame() ? 1 : testParams.iterationsPerStep, in ANGLERenderTest()
583 mTestParams(testParams), in ANGLERenderTest()
592 const_cast<RenderTestParams &>(testParams).iterationsPerStep = 1; in ANGLERenderTest()
598 switch (testParams.driver) in ANGLERenderTest()
601 mGLWindow = EGLWindow::New(testParams.majorVersion, testParams.minorVersion); in ANGLERenderTest()
607 mGLWindow = EGLWindow::New(testParams.majorVersion, testParams.minorVersion); in ANGLERenderTest()
617 mGLWindow = WGLWindow::New(testParams.majorVersion, testParams.minorVersion); in ANGLERenderTest()
/external/deqp/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()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp434 TestParams testParams);
475 …iesAndBlittingTestInstance::CopiesAndBlittingTestInstance (Context& context, TestParams testParams) in CopiesAndBlittingTestInstance() argument
477 , m_params (testParams) in CopiesAndBlittingTestInstance()
1658 TestParams testParams);
1672 CopyImageToBuffer::CopyImageToBuffer (Context& context, TestParams testParams) in CopyImageToBuffer() argument
1673 : CopiesAndBlittingTestInstance(context, testParams) in CopyImageToBuffer()
1674 , m_textureFormat(mapVkFormat(testParams.src.image.format)) in CopyImageToBuffer()
1903 TestParams testParams);
1918 CopyBufferToImage::CopyBufferToImage (Context& context, TestParams testParams) in CopyBufferToImage() argument
1919 : CopiesAndBlittingTestInstance(context, testParams) in CopyBufferToImage()
[all …]
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()
DvktApiImageClearingTests.cpp501 const TestParams& testParams);
1269 …ontext& context, const TestParams& testParams, bool twoStep = false) : ImageClearingTestInstance (… in ClearColorImageTestInstance() argument
1278 …Instance (Context& context, const TestParams& testParams) : ClearColorImageTestInstance(context, t… in TwoStepClearColorImageTestInstance() argument
1284 …Instance (Context& context, const TestParams& testParams) : ClearColorImageTestInstance(context, t… in ClearColorImageMultipleSubresourceRangeTestInstance() argument
1427 …ontext& context, const TestParams& testParams, bool twoStep = false) : ImageClearingTestInstance (… in ClearDepthStencilImageTestInstance() argument
1436 …ance (Context& context, const TestParams& testParams) : ClearDepthStencilImageTestInstance (contex… in TwoStepClearDepthStencilImageTestInstance() argument
1442 …ance (Context& context, const TestParams& testParams) : ClearDepthStencilImageTestInstance(contex… in ClearDepthStencilImageMultipleSubresourceRangeTestInstance() argument
1585 …ClearAttachmentTestInstance (Context& context, const TestParams& testParams, const ClearType clear… in ClearAttachmentTestInstance() argument
1586 : ImageClearingTestInstance (context, testParams) in ClearAttachmentTestInstance()
1704 …nstance (Context& context, const TestParams& testParams) : ClearAttachmentTestInstance (context, t… in PartialClearAttachmentTestInstance() argument
[all …]

12