Home
last modified time | relevance | path

Searched full:testparams (Results 1 – 25 of 253) sorted by relevance

1234567891011

/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageCompressionControlTests.cpp72 struct TestParams struct
103 … VkPhysicalDevice physicalDevice, VkDevice device, TestParams &testParams, VkImage image) in validate() argument
107 const bool isYCbCr = isYCbCrFormat(testParams.format); in validate()
108 const int numPlanes = isYCbCr ? getPlaneCount(testParams.format) : 1; in validate()
124 …compressionEnabled.compressionControlPlaneCount = testParams.control.compressionControlPlane… in validate()
125 compressionEnabled.flags = testParams.control.flags; in validate()
137 formatInfo.format = testParams.format; in validate()
147 if (testParams.useExtension) in validate()
163 if (testParams.control.flags == VK_IMAGE_COMPRESSION_DEFAULT_EXT && in validate()
168 if (testParams.control.flags == VK_IMAGE_COMPRESSION_DISABLED_EXT && in validate()
[all …]
/external/armnn/src/backends/backendsCommon/test/layerTests/
DResizeTestImpl.cpp158 ResizeTestParams testParams; in ResizeBilinearNopTest() local
159 testParams.m_ResizeMethod = armnn::ResizeMethod::Bilinear; in ResizeBilinearNopTest()
160 testParams.m_DataLayout = dataLayout; in ResizeBilinearNopTest()
162 testParams.m_InputShape = { 1, 2, 4, 4 }; in ResizeBilinearNopTest()
163 testParams.m_OutputShape = testParams.m_InputShape; in ResizeBilinearNopTest()
165 testParams.m_InputData = in ResizeBilinearNopTest()
178 testParams.m_ExpectedOutputData = testParams.m_InputData; in ResizeBilinearNopTest()
180 testParams.SetInOutQuantParams(1.5f, 3); in ResizeBilinearNopTest()
182 …turn ResizeTestImpl<4, ArmnnType>(workloadFactory, memoryManager, tensorHandleFactory, testParams); in ResizeBilinearNopTest()
192 ResizeTestParams testParams; in SimpleResizeBilinearTest() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryBuiltinTests.cpp105 struct TestParams;
122 typedef void (*CheckSupportFunc)(Context &context, const TestParams &testParams);
123 typedef void (*InitProgramsFunc)(SourceCollections &programCollection, const TestParams &testParams
124 typedef const std::string (*ShaderBodyTextFunc)(const TestParams &testParams);
136 virtual void initConfiguration(const TestEnvironment &env, TestParams &testParams) = 0;
137 …virtual void fillCommandBuffer(const TestEnvironment &env, TestParams &testParams, VkCommandBuffer…
158 virtual const VkAccelerationStructureKHR *initAccelerationStructures(TestParams &testParams,
160 virtual bool verify(BufferWithMemory *resultBuffer, TestParams &testParams);
180 virtual bool verify(BufferWithMemory *resultBuffer, TestParams &testParams) override;
194 virtual bool verify(BufferWithMemory *resultBuffer, TestParams &testParams) override;
[all …]
DvktRayQueryWatertightnessTests.cpp79 struct TestParams;
81 typedef void (*CheckSupportFunc)(Context &context, const TestParams &testParams);
82 typedef void (*InitProgramsFunc)(SourceCollections &programCollection, const TestParams &testParams
83 typedef const std::string (*ShaderBodyTextFunc)(const TestParams &testParams);
95 virtual void initConfiguration(Context &context, TestParams &testParams) = 0;
96 …virtual void fillCommandBuffer(Context &context, TestParams &testParams, VkCommandBuffer commandBu…
111 …st VkAccelerationStructureKHR *initAccelerationStructures(Context &context, TestParams &testParams,
113 …virtual bool verify(BufferWithMemory *resultBuffer, Context &context, TestParams &testParams) = …
121 struct TestParams struct
300 static void checkSupport(Context &context, const TestParams &testParams);
[all …]
DvktRayQueryTraversalControlTests.cpp99 struct TestParams;
105 virtual void initConfiguration(Context &context, TestParams &testParams) = 0;
107 Context &context, TestParams &testParams, VkCommandBuffer commandBuffer,
110 …ual bool verifyImage(BufferWithMemory *resultBuffer, Context &context, TestParams &testParams) = 0;
120 struct TestParams struct
215 void initConfiguration(Context &context, TestParams &testParams) override;
217 Context &context, TestParams &testParams, VkCommandBuffer commandBuffer,
220 …bool verifyImage(BufferWithMemory *resultBuffer, Context &context, TestParams &testParams) overrid…
244 void GraphicsConfiguration::initConfiguration(Context &context, TestParams &testParams) in initConfiguration() argument
314 auto shaderNameIt = shaderNames.find(testParams.shaderSourceType); in initConfiguration()
[all …]
DvktRayQueryCullRayFlagsTests.cpp116 struct TestParams;
154 virtual void initConfiguration(Context &context, TestParams &testParams) = 0;
156 Context &context, TestParams &testParams, VkCommandBuffer commandBuffer,
159 …ol verifyImage(BufferWithMemory *resultBuffer, Context &context, TestParams &testParams) =…
169 struct TestParams struct
262 std::vector<uint32_t> getHitResult(const TestParams &testParams) in getHitResult() argument
264 uint32_t rayFlags = testParams.flag0 | testParams.flag1; in getHitResult()
266 switch (testParams.shaderTestType) in getHitResult()
287 if (testParams.bottomType == BTT_AABBS) in getHitResult()
297 if (testParams.bottomType == BTT_TRIANGLES && rayFlags & RF_SkipTriangles) in getHitResult()
[all …]
DvktRayQueryAccelerationStructuresTests.cpp144 struct TestParams;
150 virtual void initConfiguration(Context &context, TestParams &testParams) = 0;
152 Context &context, TestParams &testParams, VkCommandBuffer commandBuffer,
155 …ual bool verifyImage(BufferWithMemory *resultBuffer, Context &context, TestParams &testParams) = 0;
173 Context &context, TestParams &testParams) = 0;
175 Context &context, TestParams &testParams,
179 struct TestParams struct
317 void initConfiguration(Context &context, TestParams &testParams) override;
319 Context &context, TestParams &testParams, VkCommandBuffer commandBuffer,
322 …bool verifyImage(BufferWithMemory *resultBuffer, Context &context, TestParams &testParams) overrid…
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingTraversalControlTests.cpp78 struct TestParams;
88 Context &context, TestParams &testParams) = 0;
90 Context &context, TestParams &testParams,
93TestParams &testParams) = 0;
95TestParams &testParams, VkPipeline pipeline, uint32_t shaderGroupHandleSize,
105 …ool verifyImage(BufferWithMemory *resultBuffer, Context &context, TestParams &testParams) = 0;
111 struct TestParams struct
164 Context &context, TestParams &testParams) override;
166 Context &context, TestParams &testParams,
169 TestParams &testParams) override;
[all …]
DvktRayTracingCaptureReplayTests.cpp95 struct TestParams;
132 Context &context, TestParams &testParams) = 0;
134 Context &context, TestParams &testParams,
137 … const DeviceInterface &vkd, const VkDevice device, TestParams &testParams,
140 … const DeviceInterface &vkd, const VkDevice device, TestParams &testParams,
144 … Context &context, TestParams &testParams) = 0;
150 struct TestParams struct
232 Context &context, TestParams &testParams) override;
234 Context &context, TestParams &testParams,
237 … const DeviceInterface &vkd, const VkDevice device, TestParams &testParams,
[all …]
DvktRayTracingShaderBindingTableTests.cpp76 struct TestParams;
86 Context &context, TestParams &testParams) = 0;
88 Context &context, TestParams &testParams,
90 …e::MovePtr<BufferWithMemory> initUniformBuffer(Context &context, TestParams &testParams) = 0;
92TestParams &testParams) = 0;
94TestParams &testParams, VkPipeline pipeline, uint32_t shaderGroupHandleSize,
104 …ool verifyImage(BufferWithMemory *resultBuffer, Context &context, TestParams &testParams) = 0;
110 struct TestParams struct
178 Context &context, TestParams &testParams) override;
180 Context &context, TestParams &testParams,
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sc/
DvktApplicationParametersTests.cpp55 struct TestParams struct
63 TestParams testParams; member
83 TestData getDefaultTestData(Context &context, TestParams testParams) in getDefaultTestData() argument
86 testData.testParams = testParams; in getDefaultTestData()
90 switch (testParams.testType) in getDefaultTestData()
114 if (testParams.createType == DEVICE && testParams.testType != VALID) in getDefaultTestData()
120 std::vector<TestData> getTestDataList(Context &context, TestParams testParams) in getTestDataList() argument
163 if (testParams.testType != INVALID_PARAM_VALUE && testParams.testType != VALID) in getTestDataList()
164 testDataList.push_back(getDefaultTestData(context, testParams)); in getTestDataList()
168 if (vendorTestData.testParams.createType == testParams.createType && in getTestDataList()
[all …]
DvktCommandPoolMemoryReservationTests.cpp54 struct TestParams struct
79 tcu::TestStatus verifyCommandPoolReservedSize(Context &context, TestParams testParams) in verifyCommandPoolReservedSize() argument
85 …if (testParams.commandBufferCount > context.getDeviceVulkanSC10Properties().maxCommandPoolCommandB… in verifyCommandPoolReservedSize()
89 switch (testParams.commandPoolReservedSize) in verifyCommandPoolReservedSize()
105 commandPoolReservedSize, VkDeviceSize(testParams.commandBufferCount * in verifyCommandPoolReservedSize()
114 testParams.commandBufferCount // uint32_t commandPoolMaxCommandBuffers in verifyCommandPoolReservedSize()
143 …:TestStatus verifyCommandPoolAllocEqualsCommandBufferAlloc(Context &context, TestParams testParams) in verifyCommandPoolAllocEqualsCommandBufferAlloc() argument
151 switch (testParams.commandPoolReservedSize) in verifyCommandPoolAllocEqualsCommandBufferAlloc()
166 commandPoolReservedSize, VkDeviceSize(testParams.commandBufferCount * in verifyCommandPoolAllocEqualsCommandBufferAlloc()
175 testParams.commandBufferCount // uint32_t commandPoolMaxCommandBuffers in verifyCommandPoolAllocEqualsCommandBufferAlloc()
[all …]
/external/tink/go/signature/
Decdsa_signer_key_manager_test.go40 testParams := genValidECDSAParams()
45 for i := 0; i < len(testParams); i++ {
46 …dKey, _ := proto.Marshal(testutil.NewRandomECDSAPrivateKey(testParams[i].hashType, testParams[i].c…
56 testParams := genInvalidECDSAParams()
61 for i := 0; i < len(testParams); i++ {
62 …dKey, _ := proto.Marshal(testutil.NewRandomECDSAPrivateKey(testParams[i].hashType, testParams[i].c…
95 testParams := genValidECDSAParams()
100 for i := 0; i < len(testParams); i++ {
101 params := testutil.NewECDSAParams(testParams[i].hashType, testParams[i].curve,
121 testParams := genInvalidECDSAParams()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorUpdateASTests.cpp82 struct TestParams;
84 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);
88 struct TestParams struct
319 BindingAcceleratioStructureTestInstance(Context &context, const TestParams &testParams);
333 …VkAccelerationStructureKHR *createAccelerationStructures(Context &context, TestParams &testParams);
334 …virtual void buildAccelerationStructures(Context &context, TestParams &testParams, VkCommandBuffer…
335 virtual bool verify(BufferWithMemory *resultBuffer, Context &context, TestParams &testParams);
337 TestParams m_testParams;
[all …]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDitheringTests.cpp53 struct TestParams struct
181 DitheringTest(tcu::TestContext &testContext, const std::string &name, TestParams testParams);
188 TestParams m_testParams;
194 DitheringTestInstance(Context &context, TestParams testParams);
210 TestParams m_testParams;
239 …gTest::DitheringTest(tcu::TestContext &testContext, const std::string &name, TestParams testParams) in DitheringTest() argument
241 , m_testParams(testParams) in DitheringTest()
330 DitheringTestInstance::DitheringTestInstance(Context &context, TestParams testParams) in DitheringTestInstance() argument
332 , m_testParams(testParams) in DitheringTestInstance()
1090 TestParams testParams; in createChildren() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiMaintenance1Tests.cpp673 tcu::TestStatus presentFenceTest(Context &context, const PresentFenceTestConfig testParams) in presentFenceTest() argument
678 const uint32_t surfaceCount = (uint32_t)testParams.modes.size(); in presentFenceTest()
679 const InstanceHelper instHelper(context, testParams.wsiType, testParams.bindImageMemory); in presentFenceTest()
680 …const TestNativeObjects native(context, instHelper.supportedExtensions, testParams.wsiType, surfac… in presentFenceTest()
684 …surfaces.push_back(createSurface(instHelper.vki, instHelper.instance, testParams.wsiType, *native.… in presentFenceTest()
689 testParams.bindImageMemory); in presentFenceTest()
697 …if (std::find(presentModes.begin(), presentModes.end(), testParams.modes[i]) == presentModes.end()) in presentFenceTest()
710 isSharedPresentMode[i] = testParams.modes[i] == VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR || in presentFenceTest()
711testParams.modes[i] == VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR; in presentFenceTest()
735 *surfaces[i], surfaceFormats[0], native.windowSize, testParams.modes[i], transform, in presentFenceTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderViewportIndexTests.cpp76 struct TestParams struct
418 void initVertexTestPrograms(SourceCollections &programCollection, const TestParams) in initVertexTestPrograms() argument
460 void initFragmentTestPrograms(SourceCollections &programCollection, const TestParams testParams) in initFragmentTestPrograms() argument
474 << (testParams.writeFromVertex ? " gl_ViewportIndex = gl_VertexIndex / 6;\n" : "") in initFragmentTestPrograms()
494 << " vec4 color[" << testParams.numViewports << "];\n" in initFragmentTestPrograms()
506 void initTessellationTestPrograms(SourceCollections &programCollection, const TestParams) in initTessellationTestPrograms() argument
656 …Renderer(Context &context, const UVec2 &renderSize, const TestParams &testParams, const std::vecto… in Renderer() argument
658 : m_groupParams(testParams.groupParams) in Renderer()
663 , m_numViewports(testParams.numViewports) in Renderer()
944 tcu::TestStatus testVertexFragmentShader(Context &context, const TestParams &testParams, Renderer::… in testVertexFragmentShader() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDepthRangeUnrestrictedTests.cpp1405 DepthRangeUnrestrictedParam testParams; in createDepthRangeUnrestrictedTests() local
1406 testParams.pipelineConstructionType = pipelineConstructionType; in createDepthRangeUnrestrictedTests()
1407 testParams.testClearValueOnly = VK_TRUE; in createDepthRangeUnrestrictedTests()
1408 testParams.depthClampEnable = VK_FALSE; in createDepthRangeUnrestrictedTests()
1409 testParams.wc = 1.0f; in createDepthRangeUnrestrictedTests()
1410 testParams.viewportMinDepth = 0.0f; in createDepthRangeUnrestrictedTests()
1411 testParams.viewportMaxDepth = 1.0f; in createDepthRangeUnrestrictedTests()
1412 testParams.minDepthBounds = 0.0f; in createDepthRangeUnrestrictedTests()
1413 testParams.maxDepthBounds = 1.0f; in createDepthRangeUnrestrictedTests()
1414 testParams.depthBoundsTestEnable = VK_FALSE; in createDepthRangeUnrestrictedTests()
[all …]
/external/angle/third_party/abseil-cpp/absl/container/
Dinlined_vector_exception_safety_test.cc69 class TestParams { class
79 ::testing::Types<TestParams<ThrowerVec>, TestParams<MovableThrowerVec>,
80 TestParams<ThrowAllocThrowerVec>,
81 TestParams<ThrowAllocMovableThrowerVec>>;
84 ::testing::Types<TestParams<ThrowerVec, kLargeSize>,
85 TestParams<ThrowerVec, kSmallSize>,
86 TestParams<MovableThrowerVec, kLargeSize>,
87 TestParams<MovableThrowerVec, kSmallSize>,
88 TestParams<ThrowAllocThrowerVec, kLargeSize>,
89 TestParams<ThrowAllocThrowerVec, kSmallSize>,
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/container/
Dinlined_vector_exception_safety_test.cc69 class TestParams { class
79 ::testing::Types<TestParams<ThrowerVec>, TestParams<MovableThrowerVec>,
80 TestParams<ThrowAllocThrowerVec>,
81 TestParams<ThrowAllocMovableThrowerVec>>;
84 ::testing::Types<TestParams<ThrowerVec, kLargeSize>,
85 TestParams<ThrowerVec, kSmallSize>,
86 TestParams<MovableThrowerVec, kLargeSize>,
87 TestParams<MovableThrowerVec, kSmallSize>,
88 TestParams<ThrowAllocThrowerVec, kLargeSize>,
89 TestParams<ThrowAllocThrowerVec, kSmallSize>,
[all …]
/external/webrtc/third_party/abseil-cpp/absl/container/
Dinlined_vector_exception_safety_test.cc69 class TestParams { class
79 ::testing::Types<TestParams<ThrowerVec>, TestParams<MovableThrowerVec>,
80 TestParams<ThrowAllocThrowerVec>,
81 TestParams<ThrowAllocMovableThrowerVec>>;
84 ::testing::Types<TestParams<ThrowerVec, kLargeSize>,
85 TestParams<ThrowerVec, kSmallSize>,
86 TestParams<MovableThrowerVec, kLargeSize>,
87 TestParams<MovableThrowerVec, kSmallSize>,
88 TestParams<ThrowAllocThrowerVec, kLargeSize>,
89 TestParams<ThrowAllocThrowerVec, kSmallSize>,
[all …]
/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/container/
Dinlined_vector_exception_safety_test.cc69 class TestParams { class
79 ::testing::Types<TestParams<ThrowerVec>, TestParams<MovableThrowerVec>,
80 TestParams<ThrowAllocThrowerVec>,
81 TestParams<ThrowAllocMovableThrowerVec>>;
84 ::testing::Types<TestParams<ThrowerVec, kLargeSize>,
85 TestParams<ThrowerVec, kSmallSize>,
86 TestParams<MovableThrowerVec, kLargeSize>,
87 TestParams<MovableThrowerVec, kSmallSize>,
88 TestParams<ThrowAllocThrowerVec, kLargeSize>,
89 TestParams<ThrowAllocThrowerVec, kSmallSize>,
[all …]
/external/libtextclassifier/abseil-cpp/absl/container/
Dinlined_vector_exception_safety_test.cc69 class TestParams { class
79 ::testing::Types<TestParams<ThrowerVec>, TestParams<MovableThrowerVec>,
80 TestParams<ThrowAllocThrowerVec>,
81 TestParams<ThrowAllocMovableThrowerVec>>;
84 ::testing::Types<TestParams<ThrowerVec, kLargeSize>,
85 TestParams<ThrowerVec, kSmallSize>,
86 TestParams<MovableThrowerVec, kLargeSize>,
87 TestParams<MovableThrowerVec, kSmallSize>,
88 TestParams<ThrowAllocThrowerVec, kLargeSize>,
89 TestParams<ThrowAllocThrowerVec, kSmallSize>,
[all …]
/external/cronet/third_party/abseil-cpp/absl/container/
Dinlined_vector_exception_safety_test.cc69 class TestParams { class
79 ::testing::Types<TestParams<ThrowerVec>, TestParams<MovableThrowerVec>,
80 TestParams<ThrowAllocThrowerVec>,
81 TestParams<ThrowAllocMovableThrowerVec>>;
84 ::testing::Types<TestParams<ThrowerVec, kLargeSize>,
85 TestParams<ThrowerVec, kSmallSize>,
86 TestParams<MovableThrowerVec, kLargeSize>,
87 TestParams<MovableThrowerVec, kSmallSize>,
88 TestParams<ThrowAllocThrowerVec, kLargeSize>,
89 TestParams<ThrowAllocThrowerVec, kSmallSize>,
[all …]
/external/openscreen/third_party/abseil/src/absl/container/
Dinlined_vector_exception_safety_test.cc69 class TestParams { class
79 ::testing::Types<TestParams<ThrowerVec>, TestParams<MovableThrowerVec>,
80 TestParams<ThrowAllocThrowerVec>,
81 TestParams<ThrowAllocMovableThrowerVec>>;
84 ::testing::Types<TestParams<ThrowerVec, kLargeSize>,
85 TestParams<ThrowerVec, kSmallSize>,
86 TestParams<MovableThrowerVec, kLargeSize>,
87 TestParams<MovableThrowerVec, kSmallSize>,
88 TestParams<ThrowAllocThrowerVec, kLargeSize>,
89 TestParams<ThrowAllocThrowerVec, kSmallSize>,
[all …]

1234567891011