/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/ |
H A D | vktQueryPoolPerformanceTests.cpp | 126 deUint32 counterCount = 0; in iterate() local 127 VK_CHECK(vki.enumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR(physicalDevice, queueNdx, &counterCount, DE_NULL, DE_NULL)); in iterate() 129 if (counterCount == 0) in iterate() 133 std::vector<VkPerformanceCounterKHR> counters (counterCount); in iterate() 134 for (deUint32 i = 0; i < counterCount; ++i) in iterate() 137 deUint32 counterCountRead = counterCount; in iterate() 140 if (counterCount > 1) in iterate() 142 deUint32 incompleteCounterCount = counterCount - 1; in iterate() 152 if (counterCountRead != counterCount) in iterate() 153 TCU_FAIL("Number of counters read (" + de::toString(counterCountRead) + ") is not equal to number of counters reported (" + de::toString(counterCount) in iterate() 236 deUint32 counterCount; setupCounters() local 259 const deUint32 counterCount = (deUint32)m_counters.size(); createQueryPool() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/query_pool/ |
H A D | vktQueryPoolPerformanceTests.cpp | 126 deUint32 counterCount = 0; in iterate() local 127 VK_CHECK(vki.enumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR(physicalDevice, queueNdx, &counterCount, DE_NULL, DE_NULL)); in iterate() 129 if (counterCount == 0) in iterate() 133 std::vector<VkPerformanceCounterKHR> counters (counterCount); in iterate() 134 deUint32 counterCountRead = counterCount; in iterate() 137 if (counterCount > 1) in iterate() 139 deUint32 incompleteCounterCount = counterCount - 1; in iterate() 149 if (counterCountRead != counterCount) in iterate() 150 TCU_FAIL("Number of counters read (" + de::toString(counterCountRead) + ") is not equal to number of counters reported (" + de::toString(counterCount) + ")"); in iterate() 173 std::vector<VkPerformanceCounterDescriptionKHR> counterDescriptors (counterCount); in iterate() 231 deUint32 counterCount; setupCounters() local 254 const deUint32 counterCount = (deUint32)m_counters.size(); createQueryPool() local [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fAtomicCounterTests.cpp | 125 static void getCountersValues (vector<deUint32>& counterValues, const vector<deUint32>& values, int ndx, int counterCount); 633 void AtomicCounterTest::getCountersValues (vector<deUint32>& counterValues, const vector<deUint32>& values, int ndx, int counterCount) in getCountersValues() argument 635 counterValues.resize(values.size()/counterCount, 0); in getCountersValues() 637 DE_ASSERT(values.size() % counterCount == 0); in getCountersValues() 640 counterValues[valueNdx] = values[valueNdx * counterCount + ndx]; in getCountersValues() 1343 const int counterCount = counterCounts[counterCountNdx]; in AtomicCounterTests() local 1353 if (threadCount * callCount * counterCount > 10000) in AtomicCounterTests() 1361 spec.atomicCounterCount = counterCount; in AtomicCounterTests() 1415 const int counterCount = counterCounts[counterCountNdx]; in AtomicCounterTests() local 1417 if (offsetType == AtomicCounterTest::OFFSETTYPE_FIRST_AUTO && counterCount < in AtomicCounterTests() [all...] |
/third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
H A D | vulkan_funcs.hpp | 12177 uint32_t counterCount; in enumerateQueueFamilyPerformanceQueryCountersKHR() local 12187 if ( ( result == Result::eSuccess ) && counterCount ) in enumerateQueueFamilyPerformanceQueryCountersKHR() 12189 counterDescriptions.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 12200 VULKAN_HPP_ASSERT( counterCount <= counterDescriptions.size() ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 12201 counterDescriptions.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 12225 uint32_t counterCount; in enumerateQueueFamilyPerformanceQueryCountersKHR() local 12235 if ( ( result == Result::eSuccess ) && counterCount ) in enumerateQueueFamilyPerformanceQueryCountersKHR() 12237 counterDescriptions.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 12248 VULKAN_HPP_ASSERT( counterCount <= counterDescriptions.size() ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 12249 counterDescriptions.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 12273 uint32_t counterCount; enumerateQueueFamilyPerformanceQueryCountersKHR() local 12327 uint32_t counterCount; enumerateQueueFamilyPerformanceQueryCountersKHR() local [all...] |
H A D | vulkan_raii.hpp | 13018 uint32_t counterCount; in enumerateQueueFamilyPerformanceQueryCountersKHR() local 13024 static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, &counterCount, nullptr, nullptr ) ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 13025 if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && counterCount ) in enumerateQueueFamilyPerformanceQueryCountersKHR() 13027 counters.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 13028 counterDescriptions.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 13033 &counterCount, in enumerateQueueFamilyPerformanceQueryCountersKHR() 13036 VULKAN_HPP_ASSERT( counterCount <= counters.size() ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 13039 if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && ( counterCount < counters.size() ) ) in enumerateQueueFamilyPerformanceQueryCountersKHR() 13041 counters.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 13042 counterDescriptions.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() [all...] |
/third_party/vulkan-headers/include/vulkan/ |
H A D | vulkan_funcs.hpp | 12628 uint32_t counterCount; in enumerateQueueFamilyPerformanceQueryCountersKHR() local 12633 d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( m_physicalDevice, queueFamilyIndex, &counterCount, nullptr, nullptr ) ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 12634 if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && counterCount ) in enumerateQueueFamilyPerformanceQueryCountersKHR() 12636 counters.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 12637 counterDescriptions.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 12641 &counterCount, in enumerateQueueFamilyPerformanceQueryCountersKHR() 12647 VULKAN_HPP_ASSERT( counterCount <= counters.size() ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 12648 if ( counterCount < counters.size() ) in enumerateQueueFamilyPerformanceQueryCountersKHR() 12650 counters.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 12651 counterDescriptions.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 12680 uint32_t counterCount; enumerateQueueFamilyPerformanceQueryCountersKHR() local [all...] |
H A D | vulkan_raii.hpp | 17042 uint32_t counterCount; in enumerateQueueFamilyPerformanceQueryCountersKHR() local 17047 static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, &counterCount, nullptr, nullptr ) ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 17048 if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && counterCount ) in enumerateQueueFamilyPerformanceQueryCountersKHR() 17050 counters.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 17051 counterDescriptions.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 17055 &counterCount, in enumerateQueueFamilyPerformanceQueryCountersKHR() 17061 VULKAN_HPP_ASSERT( counterCount <= counters.size() ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 17062 if ( counterCount < counters.size() ) in enumerateQueueFamilyPerformanceQueryCountersKHR() 17064 counters.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() 17065 counterDescriptions.resize( counterCount ); in enumerateQueueFamilyPerformanceQueryCountersKHR() [all...] |