Home
last modified time | relevance | path

Searched refs:queueFamilyProperties (Results 1 – 25 of 50) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBase.cpp49 …32 findMatchingQueueFamilyIndex (const std::vector<VkQueueFamilyProperties>& queueFamilyProperties, in findMatchingQueueFamilyIndex() argument
53 for (deUint32 queueNdx = startIndex; queueNdx < queueFamilyProperties.size(); ++queueNdx) in findMatchingQueueFamilyIndex()
55 if ((queueFamilyProperties[queueNdx].queueFlags & queueFlags) == queueFlags) in findMatchingQueueFamilyIndex()
113 std::vector<VkQueueFamilyProperties> queueFamilyProperties; in createDeviceSupportingQueues() local
114 queueFamilyProperties.resize(queueFamilyPropertiesCount); in createDeviceSupportingQueues()
116 …eviceQueueFamilyProperties(physicalDevice, &queueFamilyPropertiesCount, &queueFamilyProperties[0]); in createDeviceSupportingQueues()
133 …queueFamilyIndex = findMatchingQueueFamilyIndex(queueFamilyProperties, queueRequirement.queueFlags… in createDeviceSupportingQueues()
138 …const deUint32 queuesPerFamilyCount = deMin32(queueFamilyProperties[queueFamilyIndex].queueCount, … in createDeviceSupportingQueues()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSignalOrderTests.cpp101 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPro… in createTestDevice() local
102 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice()
136 for (const VkQueueFamilyProperties& qfp : queueFamilyProperties) in createTestDevice()
142 for (size_t ndx = 0; ndx < queueFamilyProperties.size(); ndx++) in createTestDevice()
151 queueFamilyProperties[ndx].queueCount, in createTestDevice()
1295 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPro… in QueueSubmitSignalOrderTestInstance() local
1303 for (deUint32 familyIdx = 0; familyIdx < queueFamilyProperties.size(); familyIdx++) { in QueueSubmitSignalOrderTestInstance()
1304 if (((queueFamilyProperties[familyIdx].queueFlags & writeOpQueueFlags) == writeOpQueueFlags) || in QueueSubmitSignalOrderTestInstance()
1306 …(((queueFamilyProperties[familyIdx].queueFlags & VK_QUEUE_GRAPHICS_BIT) == VK_QUEUE_GRAPHICS_BIT) … in QueueSubmitSignalOrderTestInstance()
1307 …((queueFamilyProperties[familyIdx].queueFlags & VK_QUEUE_COMPUTE_BIT) == VK_QUEUE_COMPUTE_BIT)))) { in QueueSubmitSignalOrderTestInstance()
[all …]
DvktSynchronizationTimelineSemaphoreTests.cpp1262 …eueCreateInfo> getQueueCreateInfo(const std::vector<VkQueueFamilyProperties> queueFamilyProperties) in getQueueCreateInfo() argument
1266 for (deUint32 i = 0; i < queueFamilyProperties.size(); i++) { in getQueueCreateInfo()
1273 queueFamilyProperties[i].queueCount, in getQueueCreateInfo()
1284 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyP… in createTestDevice() local
1285 …::vector<VkDeviceQueueCreateInfo> queueCreateInfos = getQueueCreateInfo(queueFamilyProperties); in createTestDevice()
1396 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPr… in WaitBeforeSignalTestInstance() local
1412 for (deUint32 familyIdx = 0; familyIdx < queueFamilyProperties.size(); familyIdx++) { in WaitBeforeSignalTestInstance()
1413 …for (deUint32 instanceIdx = 0; instanceIdx < queueFamilyProperties[familyIdx].queueCount; instance… in WaitBeforeSignalTestInstance()
1427 if ((copyOpQueueFlags & queueFamilyProperties[familyIdx].queueFlags) != copyOpQueueFlags) in WaitBeforeSignalTestInstance()
1813 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPr… in OneToNTestInstance() local
[all …]
DvktSynchronizationBasicSemaphoreTests.cpp337 std::vector<VkQueueFamilyProperties> queueFamilyProperties; in basicMultiQueueCase() local
361 queueFamilyProperties = getPhysicalDeviceQueueFamilyProperties(instance, physicalDevice); in basicMultiQueueCase()
363 for (deUint32 queueNdx = 0; queueNdx < queueFamilyProperties.size(); ++queueNdx) in basicMultiQueueCase()
368 if (queues[FIRST].queueFamilyIndex != queueNdx || queueFamilyProperties[queueNdx].queueCount > 1u) in basicMultiQueueCase()
DvktSynchronizationOperationMultiQueueTests.cpp117 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPro… in MultiQueues() local
119 …for (deUint32 queuePropertiesNdx = 0; queuePropertiesNdx < queueFamilyProperties.size(); ++queuePr… in MultiQueues()
122 std::min(2u, queueFamilyProperties[queuePropertiesNdx].queueCount), in MultiQueues()
123 queueFamilyProperties[queuePropertiesNdx].queueFlags); in MultiQueues()
834 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPro… in checkSupport() local
835 if (m_sharingMode == VK_SHARING_MODE_CONCURRENT && queueFamilyProperties.size() < 2) in checkSupport()
DvktSynchronizationInternallySynchronizedObjectsTests.cpp203 vector<VkQueueFamilyProperties> queueFamilyProperties; in createQueues() local
207 queueFamilyProperties = getPhysicalDeviceQueueFamilyProperties(instance, physicalDevice); in createQueues()
209 …for (deUint32 queuePropertiesNdx = 0; queuePropertiesNdx < queueFamilyProperties.size(); ++queuePr… in createQueues()
211 if (checkQueueFlags(queueFamilyProperties[queuePropertiesNdx].queueFlags, queueFlag)) in createQueues()
213 …queues.addQueueFamilyIndex(queuePropertiesNdx, queueFamilyProperties[queuePropertiesNdx].queueCoun… in createQueues()
DvktSynchronizationCrossInstanceSharingTests.cpp344 …const std::vector<vk::VkQueueFamilyProperties> queueFamilyProperties = vk::getPhysicalDeviceQueue… in createTestDevice() local
345 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice()
392 for (size_t ndx = 0; ndx < queueFamilyProperties.size(); ndx++) in createTestDevice()
DvktSynchronizationWin32KeyedMutexTests.cpp167 …const std::vector<vk::VkQueueFamilyProperties> queueFamilyProperties = vk::getPhysicalDeviceQueueF… in createTestDevice() local
168 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice()
185 for (size_t ndx = 0; ndx < queueFamilyProperties.size(); ndx++) in createTestDevice()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawConcurrentTests.cpp113 std::vector<VkQueueFamilyProperties> queueFamilyProperties; in iterate() local
122 queueFamilyProperties = getPhysicalDeviceQueueFamilyProperties(instance, physicalDevice); in iterate()
124 for (deUint32 queueNdx = 0; queueNdx < queueFamilyProperties.size(); ++queueNdx) in iterate()
126 if (queueFamilyProperties[queueNdx].queueFlags & VK_QUEUE_COMPUTE_BIT) in iterate()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanExternalHelper.cpp219 std::vector<VkQueueFamilyProperties> queueFamilyProperties = in initialize() local
222 for (uint32_t i = 0; i < queueFamilyProperties.size(); ++i) in initialize()
224 if (queueFamilyProperties[i].queueFlags & VK_QUEUE_GRAPHICS_BIT) in initialize()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_caps_utils.cpp36 const VkQueueFamilyProperties &queueFamilyProperties = in ensureCapsInitialized() local
99 mNativeExtensions.disjointTimerQuery = queueFamilyProperties.timestampValidBits > 0; in ensureCapsInitialized()
100 mNativeExtensions.queryCounterBitsTimeElapsed = queueFamilyProperties.timestampValidBits; in ensureCapsInitialized()
101 mNativeExtensions.queryCounterBitsTimestamp = queueFamilyProperties.timestampValidBits; in ensureCapsInitialized()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp622 …const vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyProperti… in createDeviceTest() local
666 …const vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPrope… in createMultipleDevicesTest() local
806 deUint32 getGlobalMaxQueueCount(const vector<VkQueueFamilyProperties>& queueFamilyProperties) in getGlobalMaxQueueCount() argument
810 …for (deUint32 queueFamilyNdx = 0; queueFamilyNdx < (deUint32)queueFamilyProperties.size(); queueFa… in getGlobalMaxQueueCount()
812 maxQueueCount = de::max(maxQueueCount, queueFamilyProperties[queueFamilyNdx].queueCount); in getGlobalMaxQueueCount()
826 …const vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyProperti… in createDeviceWithVariousQueueCountsTest() local
827 const vector<float> queuePriorities (getGlobalMaxQueueCount(queueFamilyProperties), 1.0f); in createDeviceWithVariousQueueCountsTest()
830 …for (deUint32 queueFamilyNdx = 0; queueFamilyNdx < (deUint32)queueFamilyProperties.size(); queueFa… in createDeviceWithVariousQueueCountsTest()
832 const deUint32 maxQueueCount = queueFamilyProperties[queueFamilyNdx].queueCount; in createDeviceWithVariousQueueCountsTest()
1153 …const vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyProperti… in createDeviceFeatures2Test() local
[all …]
DvktApiBufferMarkerTests.cpp114 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPro… in createDeviceWithExtension() local
119 for (deUint32 familyIdx = 0; familyIdx < queueFamilyProperties.size(); ++familyIdx) in createDeviceWithExtension()
121 if (queueFamilyMatchesTestCase(queueFamilyProperties[familyIdx], testQueue) && in createDeviceWithExtension()
122 queueFamilyProperties[familyIdx].queueCount > 0) in createDeviceWithExtension()
165 wd.queueProps = queueFamilyProperties[queueCreateInfo.queueFamilyIndex]; in createDeviceWithExtension()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_legacy.c31 props[i] = props2[i].queueFamilyProperties; in tu_GetPhysicalDeviceQueueFamilyProperties()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DCommandProcessor.cpp1365 void QueueFamily::initialize(const VkQueueFamilyProperties &queueFamilyProperties, uint32_t index) in initialize() argument
1367 mProperties = queueFamilyProperties; in initialize()
1371 uint32_t QueueFamily::FindIndex(const std::vector<VkQueueFamilyProperties> &queueFamilyProperties, in FindIndex() argument
1379 for (uint32_t familyIndex = 0; familyIndex < queueFamilyProperties.size(); ++familyIndex) in FindIndex()
1381 const auto &queueInfo = queueFamilyProperties[familyIndex]; in FindIndex()
Dvk_caps_utils.cpp318 const VkQueueFamilyProperties &queueFamilyProperties = in ensureCapsInitialized() local
446 mNativeExtensions.disjointTimerQueryEXT = queueFamilyProperties.timestampValidBits > 0; in ensureCapsInitialized()
447 mNativeCaps.queryCounterBitsTimeElapsed = queueFamilyProperties.timestampValidBits; in ensureCapsInitialized()
448 mNativeCaps.queryCounterBitsTimestamp = queueFamilyProperties.timestampValidBits; in ensureCapsInitialized()
DCommandProcessor.h212 static uint32_t FindIndex(const std::vector<VkQueueFamilyProperties> &queueFamilyProperties,
222 void initialize(const VkQueueFamilyProperties &queueFamilyProperties, uint32_t index);
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp289 std::vector<VkQueueFamilyProperties> queueFamilyProperties = in initialize() local
292 for (uint32_t i = 0; i < queueFamilyProperties.size(); ++i) in initialize()
294 if (queueFamilyProperties[i].queueFlags & VK_QUEUE_GRAPHICS_BIT) in initialize()
/third_party/vulkan-headers/include/vulkan/
Dvulkan_funcs.hpp300 std::vector<QueueFamilyProperties, QueueFamilyPropertiesAllocator> queueFamilyProperties; in getQueueFamilyProperties() local
303 queueFamilyProperties.resize( queueFamilyPropertyCount ); in getQueueFamilyProperties()
307 reinterpret_cast<VkQueueFamilyProperties *>( queueFamilyProperties.data() ) ); in getQueueFamilyProperties()
308 VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); in getQueueFamilyProperties()
309 return queueFamilyProperties; in getQueueFamilyProperties()
321 std::vector<QueueFamilyProperties, QueueFamilyPropertiesAllocator> queueFamilyProperties( in getQueueFamilyProperties() local
325 queueFamilyProperties.resize( queueFamilyPropertyCount ); in getQueueFamilyProperties()
329 reinterpret_cast<VkQueueFamilyProperties *>( queueFamilyProperties.data() ) ); in getQueueFamilyProperties()
330 VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); in getQueueFamilyProperties()
331 return queueFamilyProperties; in getQueueFamilyProperties()
[all …]
Dvulkan_raii.hpp9934 …std::vector<VULKAN_HPP_NAMESPACE::QueueFamilyProperties> queueFamilyProperties( queueFamilyPropert… in getQueueFamilyProperties() local
9938 reinterpret_cast<VkQueueFamilyProperties *>( queueFamilyProperties.data() ) ); in getQueueFamilyProperties()
9939 VULKAN_HPP_ASSERT( queueFamilyPropertyCount == queueFamilyProperties.size() ); in getQueueFamilyProperties()
9940 return queueFamilyProperties; in getQueueFamilyProperties()
11555 …std::vector<VULKAN_HPP_NAMESPACE::QueueFamilyProperties2> queueFamilyProperties( queueFamilyProper… in getQueueFamilyProperties2() local
11559 reinterpret_cast<VkQueueFamilyProperties2 *>( queueFamilyProperties.data() ) ); in getQueueFamilyProperties2()
11560 VULKAN_HPP_ASSERT( queueFamilyPropertyCount == queueFamilyProperties.size() ); in getQueueFamilyProperties2()
11561 return queueFamilyProperties; in getQueueFamilyProperties2()
11571 …std::vector<VULKAN_HPP_NAMESPACE::QueueFamilyProperties2> queueFamilyProperties( queueFamilyProper… in getQueueFamilyProperties2() local
11574 queueFamilyProperties[i].pNext = in getQueueFamilyProperties2()
[all …]
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_funcs.hpp294 std::vector<QueueFamilyProperties, QueueFamilyPropertiesAllocator> queueFamilyProperties; in getQueueFamilyProperties() local
297 queueFamilyProperties.resize( queueFamilyPropertyCount ); in getQueueFamilyProperties()
301 reinterpret_cast<VkQueueFamilyProperties *>( queueFamilyProperties.data() ) ); in getQueueFamilyProperties()
302 VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); in getQueueFamilyProperties()
303 return queueFamilyProperties; in getQueueFamilyProperties()
315 std::vector<QueueFamilyProperties, QueueFamilyPropertiesAllocator> queueFamilyProperties( in getQueueFamilyProperties() local
319 queueFamilyProperties.resize( queueFamilyPropertyCount ); in getQueueFamilyProperties()
323 reinterpret_cast<VkQueueFamilyProperties *>( queueFamilyProperties.data() ) ); in getQueueFamilyProperties()
324 VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); in getQueueFamilyProperties()
325 return queueFamilyProperties; in getQueueFamilyProperties()
[all …]
Dvulkan_raii.hpp9219 …std::vector<VULKAN_HPP_NAMESPACE::QueueFamilyProperties> queueFamilyProperties( queueFamilyPropert… in getQueueFamilyProperties() local
9223 reinterpret_cast<VkQueueFamilyProperties *>( queueFamilyProperties.data() ) ); in getQueueFamilyProperties()
9224 VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); in getQueueFamilyProperties()
9225 return queueFamilyProperties; in getQueueFamilyProperties()
10634 …std::vector<VULKAN_HPP_NAMESPACE::QueueFamilyProperties2> queueFamilyProperties( queueFamilyProper… in getQueueFamilyProperties2() local
10638 reinterpret_cast<VkQueueFamilyProperties2 *>( queueFamilyProperties.data() ) ); in getQueueFamilyProperties2()
10639 VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); in getQueueFamilyProperties2()
10640 return queueFamilyProperties; in getQueueFamilyProperties2()
10650 …std::vector<VULKAN_HPP_NAMESPACE::QueueFamilyProperties2> queueFamilyProperties( queueFamilyProper… in getQueueFamilyProperties2() local
10653 queueFamilyProperties[i].pNext = in getQueueFamilyProperties2()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp471 std::vector<VkQueueFamilyProperties> queueFamilyProperties(numTotalFamilyIndices); in getSupportedQueueFamilyIndices() local
472 …icalDeviceQueueFamilyProperties(physicalDevice, &numTotalFamilyIndices, &queueFamilyProperties[0]); in getSupportedQueueFamilyIndices()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingCaptureReplayTests.cpp939 …std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPropertie… in runTest() local
940 for (deUint32 queueNdx = 0; queueNdx < queueFamilyProperties.size(); ++queueNdx) in runTest()
942 if (queueFamilyProperties[queueNdx].queueFlags & ( VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT )) in runTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
DvktAttachmentRateTests.cpp1432 …std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyProperti… in runCopyModeOnTransferQueue() local
1435 for (deUint32 queueNdx = 0; queueNdx < queueFamilyProperties.size(); queueNdx++) in runCopyModeOnTransferQueue()
1437 VkQueueFlags queueFlags = queueFamilyProperties[queueNdx].queueFlags; in runCopyModeOnTransferQueue()

12