/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesBase.cpp | 132 deUint32 queueFamilyIndex = 0u; in createDeviceSupportingQueues() local 137 queueFamilyIndex = findMatchingQueueFamilyIndex(queueFamilyProperties, queueRequirement.queueFlags, queueFamilyIndex); in createDeviceSupportingQueues() 139 if (queueFamilyIndex == NO_MATCH_FOUND) in createDeviceSupportingQueues() 142 const deUint32 queuesPerFamilyCount = deMin32(queueFamilyProperties[queueFamilyIndex].queueCount, queueRequirement.queueCount - queuesFoundCount); in createDeviceSupportingQueues() 144 selectedQueueFamilies[queueFamilyIndex].queueCount = deMax32(queuesPerFamilyCount, selectedQueueFamilies[queueFamilyIndex].queueCount); in createDeviceSupportingQueues() 149 queue.queueFamilyIndex = queueFamilyIndex; in createDeviceSupportingQueues() 157 ++queueFamilyIndex; in createDeviceSupportingQueues() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesBase.cpp | 128 deUint32 queueFamilyIndex = 0u; in createDeviceSupportingQueues() local 133 queueFamilyIndex = findMatchingQueueFamilyIndex(queueFamilyProperties, queueRequirement.queueFlags, queueFamilyIndex); in createDeviceSupportingQueues() 135 if (queueFamilyIndex == NO_MATCH_FOUND) in createDeviceSupportingQueues() 138 const deUint32 queuesPerFamilyCount = deMin32(queueFamilyProperties[queueFamilyIndex].queueCount, queueRequirement.queueCount - queuesFoundCount); in createDeviceSupportingQueues() 140 selectedQueueFamilies[queueFamilyIndex].queueCount = deMax32(queuesPerFamilyCount, selectedQueueFamilies[queueFamilyIndex].queueCount); in createDeviceSupportingQueues() 145 queue.queueFamilyIndex = queueFamilyIndex; in createDeviceSupportingQueues() 153 ++queueFamilyIndex; in createDeviceSupportingQueues() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiExternalMemoryTests.cpp | 199 for (deUint32 queueFamilyIndex = 0; queueFamilyIndex < (deUint32)properties.size(); queueFamilyIndex++) in chooseQueueFamilyIndex() 201 if ((properties[queueFamilyIndex].queueFlags & requireFlags) == requireFlags) in chooseQueueFamilyIndex() 202 return queueFamilyIndex; in chooseQueueFamilyIndex() 259 deUint32 queueFamilyIndex, in createTestDevice() 394 queueFamilyIndex, in createTestDevice() 431 deUint32 queueFamilyIndex) in getQueue() 435 vkd.getDeviceQueue(device, queueFamilyIndex, 0, &queue); in getQueue() 731 deUint32 queueFamilyIndex, in submitAtomicCalculationsAndGetSemaphoreNative() 251 createTestDevice(const Context& context, const vk::PlatformInterface& vkp, vk::VkInstance instance, const vk::InstanceInterface& vki, vk::VkPhysicalDevice physicalDevice, const vk::VkExternalSemaphoreHandleTypeFlags externalSemaphoreTypes, const vk::VkExternalMemoryHandleTypeFlags externalMemoryTypes, const vk::VkExternalFenceHandleTypeFlags externalFenceTypes, deUint32 queueFamilyIndex, bool useDedicatedAllocs = false, void * protectedFeatures = DE_NULL) createTestDevice() argument 429 getQueue(const vk::DeviceInterface& vkd, vk::VkDevice device, deUint32 queueFamilyIndex) getQueue() argument 726 submitAtomicCalculationsAndGetSemaphoreNative(const Context& context, const vk::DeviceInterface& vk, vk::VkDevice device, vk::Allocator& alloc, vk::VkQueue queue, deUint32 queueFamilyIndex, vk::VkSemaphore semaphore, vk::VkExternalSemaphoreHandleTypeFlagBits externalType, NativeHandle& nativeHandle) submitAtomicCalculationsAndGetSemaphoreNative() argument 862 submitAtomicCalculationsAndGetFenceNative(const Context& context, const vk::DeviceInterface& vk, vk::VkDevice device, vk::Allocator& alloc, vk::VkQueue queue, deUint32 queueFamilyIndex, vk::VkFence fence, vk::VkExternalFenceHandleTypeFlagBits externalType, NativeHandle& nativeHandle, bool expectFenceUnsignaled = true) submitAtomicCalculationsAndGetFenceNative() argument [all...] |
H A D | vktApiBufferAndImageAllocationUtil.cpp | 43 deUint32 queueFamilyIndex, in createTestBuffer() 63 &queueFamilyIndex, // const deUint32* pQueueFamilyIndices; in createTestBuffer() 73 deUint32 queueFamilyIndex, in createTestBuffer() 98 &queueFamilyIndex, // const deUint32* pQueueFamilyIndices; in createTestBuffer() 117 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex(); in createTestImage() local 135 &queueFamilyIndex, // const deUint32* pQueueFamilyIndices; in createTestImage() 161 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex(); in createTestImage() local 179 &queueFamilyIndex, // const deUint32* pQueueFamilyIndices; in createTestImage() 41 createTestBuffer(const DeviceInterface& vk, VkDevice vkDevice, deUint32 queueFamilyIndex, VkDeviceSize size, VkBufferUsageFlags usage, Context& context, Allocator& allocator, Move<VkBuffer>& buffer, const MemoryRequirement& requirement, de::MovePtr<Allocation>& memory) const createTestBuffer() argument 71 createTestBuffer(const DeviceInterface& vk, VkDevice vkDevice, deUint32 queueFamilyIndex, VkDeviceSize size, VkBufferUsageFlags usage, Context& context, Allocator& allocator, Move<VkBuffer>& buffer, const MemoryRequirement& requirement, de::MovePtr<Allocation>& memory) const createTestBuffer() argument
|
H A D | vktApiDeviceInitializationTests.cpp | 647 const deUint32 queueFamilyIndex = 0; in createDeviceTest() local 659 queueFamilyIndex, //queueFamilyIndex; in createDeviceTest() 691 const VkQueue queue = getDeviceQueue(deviceDriver, *device, queueFamilyIndex, queueIndex); in createDeviceTest() 722 const deUint32 queueFamilyIndex = 0; in createMultipleDevicesTest() local 731 queueFamilyIndex, //queueFamilyIndex; in createMultipleDevicesTest() 771 const VkQueue queue = getDeviceQueue(deviceDriver, devices[deviceNdx], queueFamilyIndex, queueIndex); in createMultipleDevicesTest() 821 0, //queueFamilyIndex; in createDeviceWithUnsupportedExtensionsTest() 951 const deUint32 queueFamilyIndex in createDeviceWithVariousQueueCountsTest() local 1091 const deUint32 queueFamilyIndex = deviceCreateInfo.pQueueCreateInfos->queueFamilyIndex; createDeviceWithGlobalPriorityTest() local 1320 const deUint32 queueFamilyIndex = 0; createDeviceFeatures2Test() local 1390 checkFeatures(const PlatformInterface& vkp, const VkInstance& instance, const InstanceDriver& instanceDriver, const VkPhysicalDevice physicalDevice, int numFeatures, const Feature features[], const StructType* supportedFeatures, const deUint32 queueFamilyIndex, const deUint32 queueCount, const float queuePriority, int& numErrors, tcu::ResultCollector& resultCollector, const vector<const char*>* extensionNames, const VkPhysicalDeviceFeatures& defaultPhysicalDeviceFeatures, VkDeviceObjectReservationCreateInfo memReservationStatMax, bool isSubProcess, uint32_t usedApiVersion ) checkFeatures() argument 1596 const deUint32 queueFamilyIndex = 0; createDeviceWithUnsupportedFeaturesTest() local 1740 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex(); createDeviceQueue2Test() local 1931 getDeviceQueue2WithOptions(const DeviceDriver& deviceDriver, const VkDevice device, VkDeviceQueueCreateFlags flags, deUint32 queueFamilyIndex, deUint32 queueIndex) getDeviceQueue2WithOptions() argument 2016 deUint32 queueFamilyIndex = MAX_DEUINT32; createDeviceQueue2WithTwoQueuesSmokeTest() local 2065 const deUint32 queueFamilyIndex = queueFamilyProperty.first; createDeviceQueue2WithAllProtectedQueues() local 2097 const deUint32 queueFamilyIndex = queueFamilyProperty.first; createDeviceQueue2WithAllUnprotectedQueues() local 2124 const deUint32 queueFamilyIndex = queueFamily.first; buildQueueConfigurations() local 2312 const deUint32 queueFamilyIndex = queueFamilyProperty.first; createDeviceQueue2WithAllFamilies() local 2346 const deUint32 queueFamilyIndex = queueFamilyProperty.first; createDeviceQueue2WithAllFamiliesProtected() local 2545 deUint32 queueFamilyIndex = 0; createInstanceDeviceIntentionalAllocFail() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiExternalMemoryTests.cpp | 199 for (deUint32 queueFamilyIndex = 0; queueFamilyIndex < (deUint32)properties.size(); queueFamilyIndex++) in chooseQueueFamilyIndex() 201 if ((properties[queueFamilyIndex].queueFlags & requireFlags) == requireFlags) in chooseQueueFamilyIndex() 202 return queueFamilyIndex; in chooseQueueFamilyIndex() 259 deUint32 queueFamilyIndex, in createTestDevice() 383 queueFamilyIndex, in createTestDevice() 420 deUint32 queueFamilyIndex) in getQueue() 424 vkd.getDeviceQueue(device, queueFamilyIndex, 0, &queue); in getQueue() 720 deUint32 queueFamilyIndex, in submitAtomicCalculationsAndGetSemaphoreNative() 251 createTestDevice(const Context& context, const vk::PlatformInterface& vkp, vk::VkInstance instance, const vk::InstanceInterface& vki, vk::VkPhysicalDevice physicalDevice, const vk::VkExternalSemaphoreHandleTypeFlags externalSemaphoreTypes, const vk::VkExternalMemoryHandleTypeFlags externalMemoryTypes, const vk::VkExternalFenceHandleTypeFlags externalFenceTypes, deUint32 queueFamilyIndex, bool useDedicatedAllocs = false, void * protectedFeatures = DE_NULL) createTestDevice() argument 418 getQueue(const vk::DeviceInterface& vkd, vk::VkDevice device, deUint32 queueFamilyIndex) getQueue() argument 715 submitAtomicCalculationsAndGetSemaphoreNative(const Context& context, const vk::DeviceInterface& vk, vk::VkDevice device, vk::Allocator& alloc, vk::VkQueue queue, deUint32 queueFamilyIndex, vk::VkSemaphore semaphore, vk::VkExternalSemaphoreHandleTypeFlagBits externalType, NativeHandle& nativeHandle) submitAtomicCalculationsAndGetSemaphoreNative() argument 851 submitAtomicCalculationsAndGetFenceNative(const Context& context, const vk::DeviceInterface& vk, vk::VkDevice device, vk::Allocator& alloc, vk::VkQueue queue, deUint32 queueFamilyIndex, vk::VkFence fence, vk::VkExternalFenceHandleTypeFlagBits externalType, NativeHandle& nativeHandle, bool expectFenceUnsignaled = true) submitAtomicCalculationsAndGetFenceNative() argument [all...] |
H A D | vktApiBufferAndImageAllocationUtil.cpp | 51 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex(); in createTestBuffer() local 61 &queueFamilyIndex, // const deUint32* pQueueFamilyIndices; in createTestBuffer() 85 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex(); in createTestBuffer() local 96 &queueFamilyIndex, // const deUint32* pQueueFamilyIndices; in createTestBuffer() 115 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex(); in createTestImage() local 133 &queueFamilyIndex, // const deUint32* pQueueFamilyIndices; in createTestImage() 159 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex(); in createTestImage() local 177 &queueFamilyIndex, // const deUint32* pQueueFamilyIndices; in createTestImage()
|
H A D | vktApiDeviceInitializationTests.cpp | 647 const deUint32 queueFamilyIndex = 0; in createDeviceTest() local 659 queueFamilyIndex, //queueFamilyIndex; in createDeviceTest() 691 const VkQueue queue = getDeviceQueue(deviceDriver, *device, queueFamilyIndex, queueIndex); in createDeviceTest() 722 const deUint32 queueFamilyIndex = 0; in createMultipleDevicesTest() local 731 queueFamilyIndex, //queueFamilyIndex; in createMultipleDevicesTest() 771 const VkQueue queue = getDeviceQueue(deviceDriver, devices[deviceNdx], queueFamilyIndex, queueIndex); in createMultipleDevicesTest() 821 0, //queueFamilyIndex; in createDeviceWithUnsupportedExtensionsTest() 951 const deUint32 queueFamilyIndex in createDeviceWithVariousQueueCountsTest() local 1089 const deUint32 queueFamilyIndex = deviceCreateInfo.pQueueCreateInfos->queueFamilyIndex; createDeviceWithGlobalPriorityTest() local 1318 const deUint32 queueFamilyIndex = 0; createDeviceFeatures2Test() local 1388 checkFeatures(const PlatformInterface& vkp, const VkInstance& instance, const InstanceDriver& instanceDriver, const VkPhysicalDevice physicalDevice, int numFeatures, const Feature features[], const StructType* supportedFeatures, const deUint32 queueFamilyIndex, const deUint32 queueCount, const float queuePriority, int& numErrors, tcu::ResultCollector& resultCollector, const vector<const char*>* extensionNames, const VkPhysicalDeviceFeatures& defaultPhysicalDeviceFeatures, VkDeviceObjectReservationCreateInfo memReservationStatMax, bool isSubProcess ) checkFeatures() argument 1607 const deUint32 queueFamilyIndex = 0; createDeviceWithUnsupportedFeaturesTest() local 1751 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex(); createDeviceQueue2Test() local 1942 getDeviceQueue2WithOptions(const DeviceDriver& deviceDriver, const VkDevice device, VkDeviceQueueCreateFlags flags, deUint32 queueFamilyIndex, deUint32 queueIndex) getDeviceQueue2WithOptions() argument 2027 deUint32 queueFamilyIndex = MAX_DEUINT32; createDeviceQueue2WithTwoQueuesSmokeTest() local 2076 const deUint32 queueFamilyIndex = queueFamilyProperty.first; createDeviceQueue2WithAllProtectedQueues() local 2108 const deUint32 queueFamilyIndex = queueFamilyProperty.first; createDeviceQueue2WithAllUnprotectedQueues() local 2135 const deUint32 queueFamilyIndex = queueFamily.first; buildQueueConfigurations() local 2323 const deUint32 queueFamilyIndex = queueFamilyProperty.first; createDeviceQueue2WithAllFamilies() local 2357 const deUint32 queueFamilyIndex = queueFamilyProperty.first; createDeviceQueue2WithAllFamiliesProtected() local 2556 deUint32 queueFamilyIndex = 0; createInstanceDeviceIntentionalAllocFail() local [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/ |
H A D | Device.cpp | 22 , queueFamilyIndex(0) in Device() 27 uint32_t queueFamilyIndex) in Device() 31 , queueFamilyIndex(queueFamilyIndex) in Device() 64 int queueFamilyIndex = GetComputeQueueFamilyIndex(driver, physicalDevice); in CreateComputeDevice() local 65 if(queueFamilyIndex < 0) in CreateComputeDevice() 75 (uint32_t)queueFamilyIndex, // queueFamilyIndex in CreateComputeDevice() 100 out.reset(new Device(driver, device, physicalDevice, static_cast<uint32_t>(queueFamilyIndex))); in CreateComputeDevice() 391 queueFamilyIndex, // queueFamilyInde in CreateCommandPool() 25 Device( Driver const *driver, VkDevice device, VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex) Device() argument [all...] |
/third_party/skia/src/gpu/ |
H A D | GrBackendSurfaceMutableStateImpl.h | 17 GrBackendSurfaceMutableStateImpl(VkImageLayout layout, uint32_t queueFamilyIndex) in GrBackendSurfaceMutableStateImpl() argument 18 : fState(layout, queueFamilyIndex) {} in GrBackendSurfaceMutableStateImpl() 42 void setQueueFamilyIndex(uint32_t queueFamilyIndex) { in setQueueFamilyIndex() argument 44 fState.fVkState.setQueueFamilyIndex(queueFamilyIndex); in setQueueFamilyIndex()
|
/third_party/skia/include/gpu/ |
H A D | GrBackendSurfaceMutableState.h | 32 GrBackendSurfaceMutableState(VkImageLayout layout, uint32_t queueFamilyIndex) in GrBackendSurfaceMutableState() argument 33 : fVkState(layout, queueFamilyIndex) in GrBackendSurfaceMutableState() 71 void setVulkanState(VkImageLayout layout, uint32_t queueFamilyIndex) { in setVulkanState() argument 74 fVkState.setQueueFamilyIndex(queueFamilyIndex); in setVulkanState()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemCopyBufferToImageTests.cpp | 135 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); in iterate() local 138 de::MovePtr<vk::ImageWithMemory> colorImage = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, in iterate() 144 queueFamilyIndex, in iterate() 151 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex)); in iterate() 184 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in iterate() 185 queueFamilyIndex, // uint32_t dstQueueFamilyIndex in iterate() 208 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in iterate() 209 queueFamilyIndex, // uint32_t dstQueueFamilyIndex in iterate() 224 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in iterate() 225 queueFamilyIndex, // uint32_ in iterate() [all...] |
H A D | vktProtectedMemUtils.cpp | 141 const deUint32 queueFamilyIndex, in makeProtectedMemDevice() 240 queueFamilyIndex, in makeProtectedMemDevice() 303 const deUint32 queueFamilyIndex, in getProtectedQueue() 311 queueFamilyIndex, // queueFamilyIndex in getProtectedQueue() 320 vk::getDeviceQueue(vk, device, queueFamilyIndex, 0); in getProtectedQueue() 656 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); in clearImage() local 658 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex)); in clearImage() 680 queueFamilyIndex, // deUint32 srcQueueFamilyIndex; in clearImage() 681 queueFamilyIndex, // deUint3 in clearImage() 137 makeProtectedMemDevice(const vk::PlatformInterface& vkp, vk::VkInstance instance, const vk::InstanceDriver& vkd, vk::VkPhysicalDevice physicalDevice, const deUint32 queueFamilyIndex, const deUint32 apiVersion, const std::vector<std::string>& extraExtensions, de::SharedPtr<vk::ResourceInterface> resourceInterface, const tcu::CommandLine& cmdLine) makeProtectedMemDevice() argument 301 getProtectedQueue(const vk::DeviceInterface& vk, vk::VkDevice device, const deUint32 queueFamilyIndex, const deUint32 queueIdx) getProtectedQueue() argument 729 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); uploadImage() local 838 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); copyToProtectedImage() local [all...] |
H A D | vktProtectedMemStorageBufferTests.cpp | 106 deUint32 queueFamilyIndex, in addBufferCopyCmd() 118 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in addBufferCopyCmd() 119 queueFamilyIndex, // uint32_t dstQueueFamilyIndex in addBufferCopyCmd() 147 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in addBufferCopyCmd() 148 queueFamilyIndex, // uint32_t dstQueueFamilyIndex in addBufferCopyCmd() 385 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); in executeFragmentTest() local 390 queueFamilyIndex, in executeFragmentTest() 410 queueFamilyIndex, in executeFragmentTest() 417 queueFamilyIndex, in executeFragmentTest() 453 de::MovePtr<vk::ImageWithMemory> colorImage (createImage2D(ctx, m_protectionMode, queueFamilyIndex, in executeFragmentTest() 104 addBufferCopyCmd(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, deUint32 queueFamilyIndex, vk::VkBuffer srcBuffer, vk::VkBuffer dstBuffer, deUint32 copySize, bool dstFragment) addBufferCopyCmd() argument 579 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); executeComputeTest() local [all...] |
H A D | vktProtectedMemCopyImageToBufferTests.cpp | 146 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); in iterate() local 149 de::MovePtr<vk::ImageWithMemory> colorImage = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, in iterate() 156 queueFamilyIndex, in iterate() 162 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex)); in iterate() 197 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in iterate() 198 queueFamilyIndex, // uint32_t dstQueueFamilyIndex in iterate() 240 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in iterate() 241 queueFamilyIndex, // uint32_t dstQueueFamilyIndex in iterate() 290 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in iterate() 291 queueFamilyIndex, // uint32_ in iterate() [all...] |
H A D | vktProtectedMemBlitImageTests.cpp | 133 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); in iterate() local 136 de::MovePtr<vk::ImageWithMemory> colorImage = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, in iterate() 141 de::MovePtr<vk::ImageWithMemory> colorImageSrc = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, in iterate() 150 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex)); in iterate() 185 queueFamilyIndex, // srcQueueFamilyIndex in iterate() 186 queueFamilyIndex, // dstQueueFamilyIndex in iterate() 227 queueFamilyIndex, // srcQueueFamilyIndex in iterate() 228 queueFamilyIndex, // dstQueueFamilyIndex in iterate() 258 queueFamilyIndex, // srcQueueFamilyIndex in iterate() 259 queueFamilyIndex, // dstQueueFamilyInde in iterate() [all...] |
H A D | vktProtectedMemCopyImageTests.cpp | 133 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); in iterate() local 136 de::MovePtr<vk::ImageWithMemory> colorImage = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, in iterate() 141 de::MovePtr<vk::ImageWithMemory> colorImageSrc = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, in iterate() 150 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex)); in iterate() 185 queueFamilyIndex, // srcQueueFamilyIndex in iterate() 186 queueFamilyIndex, // dstQueueFamilyIndex in iterate() 227 queueFamilyIndex, // srcQueueFamilyIndex in iterate() 228 queueFamilyIndex, // dstQueueFamilyIndex in iterate() 258 queueFamilyIndex, // srcQueueFamilyIndex in iterate() 259 queueFamilyIndex, // dstQueueFamilyInde in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemCopyBufferToImageTests.cpp | 135 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); in iterate() local 138 de::MovePtr<vk::ImageWithMemory> colorImage = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, in iterate() 144 queueFamilyIndex, in iterate() 151 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex)); in iterate() 184 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in iterate() 185 queueFamilyIndex, // uint32_t dstQueueFamilyIndex in iterate() 208 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in iterate() 209 queueFamilyIndex, // uint32_t dstQueueFamilyIndex in iterate() 224 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in iterate() 225 queueFamilyIndex, // uint32_ in iterate() [all...] |
H A D | vktProtectedMemUtils.cpp | 141 const deUint32 queueFamilyIndex, in makeProtectedMemDevice() 240 queueFamilyIndex, in makeProtectedMemDevice() 303 const deUint32 queueFamilyIndex, in getProtectedQueue() 311 queueFamilyIndex, // queueFamilyIndex in getProtectedQueue() 320 vk::getDeviceQueue(vk, device, queueFamilyIndex, 0); in getProtectedQueue() 656 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); in clearImage() local 658 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex)); in clearImage() 680 queueFamilyIndex, // deUint32 srcQueueFamilyIndex; in clearImage() 681 queueFamilyIndex, // deUint3 in clearImage() 137 makeProtectedMemDevice(const vk::PlatformInterface& vkp, vk::VkInstance instance, const vk::InstanceDriver& vkd, vk::VkPhysicalDevice physicalDevice, const deUint32 queueFamilyIndex, const deUint32 apiVersion, const std::vector<std::string>& extraExtensions, de::SharedPtr<vk::ResourceInterface> resourceInterface, const tcu::CommandLine& cmdLine) makeProtectedMemDevice() argument 301 getProtectedQueue(const vk::DeviceInterface& vk, vk::VkDevice device, const deUint32 queueFamilyIndex, const deUint32 queueIdx) getProtectedQueue() argument 729 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); uploadImage() local 838 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); copyToProtectedImage() local [all...] |
H A D | vktProtectedMemStorageBufferTests.cpp | 117 deUint32 queueFamilyIndex, in addBufferCopyCmd() 129 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in addBufferCopyCmd() 130 queueFamilyIndex, // uint32_t dstQueueFamilyIndex in addBufferCopyCmd() 158 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in addBufferCopyCmd() 159 queueFamilyIndex, // uint32_t dstQueueFamilyIndex in addBufferCopyCmd() 396 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); in executeFragmentTest() local 401 queueFamilyIndex, in executeFragmentTest() 421 queueFamilyIndex, in executeFragmentTest() 428 queueFamilyIndex, in executeFragmentTest() 464 de::MovePtr<vk::ImageWithMemory> colorImage (createImage2D(ctx, m_protectionMode, queueFamilyIndex, in executeFragmentTest() 115 addBufferCopyCmd(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, deUint32 queueFamilyIndex, vk::VkBuffer srcBuffer, vk::VkBuffer dstBuffer, deUint32 copySize, bool dstFragment) addBufferCopyCmd() argument 590 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); executeComputeTest() local [all...] |
H A D | vktProtectedMemCopyImageToBufferTests.cpp | 146 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); in iterate() local 149 de::MovePtr<vk::ImageWithMemory> colorImage = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, in iterate() 156 queueFamilyIndex, in iterate() 162 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex)); in iterate() 197 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in iterate() 198 queueFamilyIndex, // uint32_t dstQueueFamilyIndex in iterate() 240 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in iterate() 241 queueFamilyIndex, // uint32_t dstQueueFamilyIndex in iterate() 290 queueFamilyIndex, // uint32_t srcQueueFamilyIndex in iterate() 291 queueFamilyIndex, // uint32_ in iterate() [all...] |
H A D | vktProtectedMemBlitImageTests.cpp | 133 const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); in iterate() local 136 de::MovePtr<vk::ImageWithMemory> colorImage = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, in iterate() 141 de::MovePtr<vk::ImageWithMemory> colorImageSrc = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, in iterate() 150 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex)); in iterate() 185 queueFamilyIndex, // srcQueueFamilyIndex in iterate() 186 queueFamilyIndex, // dstQueueFamilyIndex in iterate() 227 queueFamilyIndex, // srcQueueFamilyIndex in iterate() 228 queueFamilyIndex, // dstQueueFamilyIndex in iterate() 258 queueFamilyIndex, // srcQueueFamilyIndex in iterate() 259 queueFamilyIndex, // dstQueueFamilyInde in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationBasicSemaphoreTests.cpp | 81 const deUint32 queueFamilyIndex = getSyncQueueFamilyIndex(videoDevice, context); in basicOneQueueCase() local 83 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); in basicOneQueueCase() 135 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex(); in noneWaitSubmitTest() local 138 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); in noneWaitSubmitTest() 499 deUint32 queueFamilyIndex; in basicMultiQueueCase() member 588 if (NO_MATCH_FOUND == queues[FIRST].queueFamilyIndex) in basicMultiQueueCase() 589 queues[FIRST].queueFamilyIndex = queueNdx; in basicMultiQueueCase() 591 if (queues[FIRST].queueFamilyIndex != queueNdx || queueFamilyProperties[queueNdx].queueCount > 1u) in basicMultiQueueCase() 593 queues[SECOND].queueFamilyIndex = queueNdx; in basicMultiQueueCase() 598 if (queues[FIRST].queueFamilyIndex in basicMultiQueueCase() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationBasicSemaphoreTests.cpp | 81 const deUint32 queueFamilyIndex = getSyncQueueFamilyIndex(videoDevice, context); in basicOneQueueCase() local 83 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); in basicOneQueueCase() 135 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex(); in noneWaitSubmitTest() local 138 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); in noneWaitSubmitTest() 419 deUint32 queueFamilyIndex; in basicMultiQueueCase() member 508 if (NO_MATCH_FOUND == queues[FIRST].queueFamilyIndex) in basicMultiQueueCase() 509 queues[FIRST].queueFamilyIndex = queueNdx; in basicMultiQueueCase() 511 if (queues[FIRST].queueFamilyIndex != queueNdx || queueFamilyProperties[queueNdx].queueCount > 1u) in basicMultiQueueCase() 513 queues[SECOND].queueFamilyIndex = queueNdx; in basicMultiQueueCase() 518 if (queues[FIRST].queueFamilyIndex in basicMultiQueueCase() [all...] |
/third_party/skia/include/private/ |
H A D | GrVkTypesPriv.h | 46 GrVkSharedImageInfo(VkImageLayout layout, uint32_t queueFamilyIndex) in GrVkSharedImageInfo() argument 48 , fQueueFamilyIndex(queueFamilyIndex) {} in GrVkSharedImageInfo() 66 void setQueueFamilyIndex(uint32_t queueFamilyIndex) { in setQueueFamilyIndex() argument 68 fQueueFamilyIndex.store(queueFamilyIndex); in setQueueFamilyIndex()
|