VkQueueFlags queueFlags;
uint32_t queueCount;
bool32_t supportsTimestamps;
- uint32_t maxMemReferences;
} VkPhysicalDeviceQueueProperties;
typedef struct {
typedef VkResult (VKAPI *PFN_vkEnumerateLayers)(VkPhysicalDevice physicalDevice, size_t maxStringSize, size_t* pLayerCount, char* const* pOutLayers, void* pReserved);
typedef VkResult (VKAPI *PFN_vkGetDeviceQueue)(VkDevice device, uint32_t queueNodeIndex, uint32_t queueIndex, VkQueue* pQueue);
typedef VkResult (VKAPI *PFN_vkQueueSubmit)(VkQueue queue, uint32_t cmdBufferCount, const VkCmdBuffer* pCmdBuffers, VkFence fence);
-typedef VkResult (VKAPI *PFN_vkQueueAddMemReferences)(VkQueue queue, uint32_t count, const VkDeviceMemory* pMems);
-typedef VkResult (VKAPI *PFN_vkQueueRemoveMemReferences)(VkQueue queue, uint32_t count, const VkDeviceMemory* pMems);
typedef VkResult (VKAPI *PFN_vkQueueWaitIdle)(VkQueue queue);
typedef VkResult (VKAPI *PFN_vkDeviceWaitIdle)(VkDevice device);
typedef VkResult (VKAPI *PFN_vkAllocMemory)(VkDevice device, const VkMemoryAllocInfo* pAllocInfo, VkDeviceMemory* pMem);
const VkCmdBuffer* pCmdBuffers,
VkFence fence);
-VkResult VKAPI vkQueueAddMemReferences(
- VkQueue queue,
- uint32_t count,
- const VkDeviceMemory* pMems);
-
-VkResult VKAPI vkQueueRemoveMemReferences(
- VkQueue queue,
- uint32_t count,
- const VkDeviceMemory* pMems);
-
VkResult VKAPI vkQueueWaitIdle(
VkQueue queue);
queue_properties->queueFlags = 0;
queue_properties->queueCount = 1;
queue_properties->supportsTimestamps = true;
- queue_properties->maxMemReferences = 256;
return VK_SUCCESS;
case VK_PHYSICAL_DEVICE_INFO_TYPE_MEMORY_PROPERTIES:
return VK_SUCCESS;
}
-VkResult anv_QueueAddMemReferences(
- VkQueue queue,
- uint32_t count,
- const VkDeviceMemory* pMems)
-{
- return VK_SUCCESS;
-}
-
-VkResult anv_QueueRemoveMemReferences(
- VkQueue queue,
- uint32_t count,
- const VkDeviceMemory* pMems)
-{
- return VK_SUCCESS;
-}
-
VkResult anv_QueueWaitIdle(
VkQueue _queue)
{