Home
last modified time | relevance | path

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

123456

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiImageCompressionControlTests.cpp103 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.compressionControlPlaneCou… in validate()
125 compressionEnabled.flags = testParams.control.flags; in validate()
138 formatInfo.format = testParams.format; in validate()
148 if (testParams.useExtension) in validate()
164 if (testParams.control.flags == VK_IMAGE_COMPRESSION_DEFAULT_EXT && in validate()
169 if (testParams.control.flags == VK_IMAGE_COMPRESSION_DISABLED_EXT && in validate()
174 if (testParams.control.flags == VK_IMAGE_COMPRESSION_DISABLED_EXT && in validate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiImageCompressionControlTests.cpp103 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.compressionControlPlaneCou… in validate()
125 compressionEnabled.flags = testParams.control.flags; in validate()
138 formatInfo.format = testParams.format; in validate()
148 if (testParams.useExtension) in validate()
164 if (testParams.control.flags == VK_IMAGE_COMPRESSION_DEFAULT_EXT && in validate()
169 if (testParams.control.flags == VK_IMAGE_COMPRESSION_DISABLED_EXT && in validate()
174 if (testParams.control.flags == VK_IMAGE_COMPRESSION_DISABLED_EXT && in validate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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;
307 const TestParams& testParams);
309 const TestParams& testParams);
315 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/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;
307 const TestParams& testParams);
309 const TestParams& testParams);
315 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/sc/
DvktCommandPoolMemoryReservationTests.cpp81 tcu::TestStatus verifyCommandPoolReservedSize (Context& context, TestParams testParams) in verifyCommandPoolReservedSize() argument
87 …if ( testParams.commandBufferCount > context.getDeviceVulkanSC10Properties().maxCommandPoolComman… in verifyCommandPoolReservedSize()
91 switch (testParams.commandPoolReservedSize) in verifyCommandPoolReservedSize()
102 …commandPoolReservedSize = de::max(commandPoolReservedSize, VkDeviceSize(testParams.commandBufferCo… in verifyCommandPoolReservedSize()
111 testParams.commandBufferCount // uint32_t commandPoolMaxCommandBuffers in verifyCommandPoolReservedSize()
142 …TestStatus verifyCommandPoolAllocEqualsCommandBufferAlloc (Context& context, TestParams testParams) in verifyCommandPoolAllocEqualsCommandBufferAlloc() argument
150 switch (testParams.commandPoolReservedSize) in verifyCommandPoolAllocEqualsCommandBufferAlloc()
162 …commandPoolReservedSize = de::max(commandPoolReservedSize, VkDeviceSize(testParams.comma… in verifyCommandPoolAllocEqualsCommandBufferAlloc()
171 testParams.commandBufferCount // uint32_t commandPoolMaxCommandBuffers in verifyCommandPoolAllocEqualsCommandBufferAlloc()
184 std::vector<Move<VkCommandBuffer>> commandBuffers (testParams.commandBufferCount); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
[all …]
DvktApplicationParametersTests.cpp63 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
182 if (testParams.testType != INVALID_PARAM_VALUE && testParams.testType != VALID) in getTestDataList()
183 testDataList.push_back(getDefaultTestData(context, testParams)); in getTestDataList()
187 if (vendorTestData.testParams.createType == testParams.createType && in getTestDataList()
188 vendorTestData.testParams.testType == testParams.testType && in getTestDataList()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/
DvktCommandPoolMemoryReservationTests.cpp81 tcu::TestStatus verifyCommandPoolReservedSize (Context& context, TestParams testParams) in verifyCommandPoolReservedSize() argument
87 …if ( testParams.commandBufferCount > context.getDeviceVulkanSC10Properties().maxCommandPoolComman… in verifyCommandPoolReservedSize()
91 switch (testParams.commandPoolReservedSize) in verifyCommandPoolReservedSize()
102 …commandPoolReservedSize = de::max(commandPoolReservedSize, VkDeviceSize(testParams.commandBufferCo… in verifyCommandPoolReservedSize()
111 testParams.commandBufferCount // uint32_t commandPoolMaxCommandBuffers in verifyCommandPoolReservedSize()
142 …TestStatus verifyCommandPoolAllocEqualsCommandBufferAlloc (Context& context, TestParams testParams) in verifyCommandPoolAllocEqualsCommandBufferAlloc() argument
150 switch (testParams.commandPoolReservedSize) in verifyCommandPoolAllocEqualsCommandBufferAlloc()
162 …commandPoolReservedSize = de::max(commandPoolReservedSize, VkDeviceSize(testParams.comma… in verifyCommandPoolAllocEqualsCommandBufferAlloc()
171 testParams.commandBufferCount // uint32_t commandPoolMaxCommandBuffers in verifyCommandPoolAllocEqualsCommandBufferAlloc()
184 std::vector<Move<VkCommandBuffer>> commandBuffers (testParams.commandBufferCount); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
[all …]
DvktApplicationParametersTests.cpp63 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
182 if (testParams.testType != INVALID_PARAM_VALUE && testParams.testType != VALID) in getTestDataList()
183 testDataList.push_back(getDefaultTestData(context, testParams)); in getTestDataList()
187 if (vendorTestData.testParams.createType == testParams.createType && in getTestDataList()
188 vendorTestData.testParams.testType == testParams.testType && in getTestDataList()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDitheringTests.cpp127 TestParams testParams);
141 TestParams testParams);
189 TestParams testParams) in DitheringTest() argument
191 , m_testParams (testParams) in DitheringTest()
277 TestParams testParams) in DitheringTestInstance() argument
279 , m_testParams (testParams) in DitheringTestInstance()
1017 TestParams testParams; in createRenderPassDitheringTests() local
1022 testParams.overrideColor = tcu::Vec4(0.5f, 0.0f, 0.0f, 1.0f); in createRenderPassDitheringTests()
1023 testParams.imageSize = tcu::UVec2{ imageDimensions, imageDimensions }; in createRenderPassDitheringTests()
1024 testParams.renderingType = renderingType; in createRenderPassDitheringTests()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassDitheringTests.cpp127 TestParams testParams);
141 TestParams testParams);
189 TestParams testParams) in DitheringTest() argument
191 , m_testParams (testParams) in DitheringTest()
277 TestParams testParams) in DitheringTestInstance() argument
279 , m_testParams (testParams) in DitheringTestInstance()
1017 TestParams testParams; in createRenderPassDitheringTests() local
1022 testParams.overrideColor = tcu::Vec4(0.5f, 0.0f, 0.0f, 1.0f); in createRenderPassDitheringTests()
1023 testParams.imageSize = tcu::UVec2{ imageDimensions, imageDimensions }; in createRenderPassDitheringTests()
1024 testParams.renderingType = renderingType; in createRenderPassDitheringTests()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineDepthRangeUnrestrictedTests.cpp1442 DepthRangeUnrestrictedParam testParams; in createDepthRangeUnrestrictedTests() local
1443 testParams.pipelineConstructionType = pipelineConstructionType; in createDepthRangeUnrestrictedTests()
1444 testParams.testClearValueOnly = VK_TRUE; in createDepthRangeUnrestrictedTests()
1445 testParams.depthClampEnable = VK_FALSE; in createDepthRangeUnrestrictedTests()
1446 testParams.wc = 1.0f; in createDepthRangeUnrestrictedTests()
1447 testParams.viewportMinDepth = 0.0f; in createDepthRangeUnrestrictedTests()
1448 testParams.viewportMaxDepth = 1.0f; in createDepthRangeUnrestrictedTests()
1449 testParams.minDepthBounds = 0.0f; in createDepthRangeUnrestrictedTests()
1450 testParams.maxDepthBounds = 1.0f; in createDepthRangeUnrestrictedTests()
1451 testParams.depthBoundsTestEnable = VK_FALSE; in createDepthRangeUnrestrictedTests()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDepthRangeUnrestrictedTests.cpp1442 DepthRangeUnrestrictedParam testParams; in createDepthRangeUnrestrictedTests() local
1443 testParams.pipelineConstructionType = pipelineConstructionType; in createDepthRangeUnrestrictedTests()
1444 testParams.testClearValueOnly = VK_TRUE; in createDepthRangeUnrestrictedTests()
1445 testParams.depthClampEnable = VK_FALSE; in createDepthRangeUnrestrictedTests()
1446 testParams.wc = 1.0f; in createDepthRangeUnrestrictedTests()
1447 testParams.viewportMinDepth = 0.0f; in createDepthRangeUnrestrictedTests()
1448 testParams.viewportMaxDepth = 1.0f; in createDepthRangeUnrestrictedTests()
1449 testParams.minDepthBounds = 0.0f; in createDepthRangeUnrestrictedTests()
1450 testParams.maxDepthBounds = 1.0f; in createDepthRangeUnrestrictedTests()
1451 testParams.depthBoundsTestEnable = VK_FALSE; in createDepthRangeUnrestrictedTests()
[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 …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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 …]
/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_no_buildgn/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/draw/
DvktDrawShaderViewportIndexTests.cpp487 void initFragmentTestPrograms (SourceCollections& programCollection, const TestParams testParams) in initFragmentTestPrograms() argument
501 << (testParams.writeFromVertex ? " gl_ViewportIndex = gl_VertexIndex / 6;\n" : "") in initFragmentTestPrograms()
518 << " vec4 color[" << testParams.numViewports << "];\n" in initFragmentTestPrograms()
662 const TestParams& testParams, in Renderer() argument
668 : m_groupParams (testParams.groupParams) in Renderer()
673 , m_numViewports (testParams.numViewports) in Renderer()
938 tcu::TestStatus testVertexFragmentShader (Context& context, const TestParams& testParams, Renderer:… in testVertexFragmentShader() argument
947 const std::vector<Vec4> colors = generateColors(testParams.numViewports); in testVertexFragmentShader()
948 const std::vector<UVec4> cells = generateGrid(testParams.numViewports, renderSize); in testVertexFragmentShader()
963 …<< tcu::TestLog::Message << "Rendering a colorful grid of " << testParams.numViewports << " rectan… in testVertexFragmentShader()
[all …]

123456