Home | History | Annotate | Download | only in layers

Lines Matching refs:device

68     // Track physical device per logical device
226 // Init actual features for each physical device
277 // Verify that for each physical device, this function is called first with NULL pQueueFamilyProperties ptr in order to
373 "which is not available on this device.",
383 "You requested features that are unavailable on this device. You should first query feature "
408 requestedIndex) { // requested index is out of bounds for this physical device
458 // Get physical device properties for this device
463 VK_LAYER_EXPORT VKAPI_ATTR void VKAPI_CALL vkDestroyDevice(VkDevice device, const VkAllocationCallbacks *pAllocator) {
464 // Free device lifetime allocations
465 dispatch_key key = get_dispatch_key(device);
467 my_device_data->device_dispatch_table->DestroyDevice(device, pAllocator);
472 VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkCreateCommandPool(VkDevice device, const VkCommandPoolCreateInfo *pCreateInfo,
476 VkResult result = get_my_data_ptr(get_dispatch_key(device), layer_data_map)
477 ->device_dispatch_table->CreateCommandPool(device, pCreateInfo, pAllocator, pCommandPool);
482 vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks *pAllocator) {
483 get_my_data_ptr(get_dispatch_key(device), layer_data_map)
484 ->device_dispatch_table->DestroyCommandPool(device, commandPool, pAllocator);
488 vkResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) {
489 VkResult result = get_my_data_ptr(get_dispatch_key(device), layer_data_map)
490 ->device_dispatch_table->ResetCommandPool(device, commandPool, flags);
495 vkAllocateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo *pCreateInfo, VkCommandBuffer *pCommandBuffer) {
496 VkResult result = get_my_data_ptr(get_dispatch_key(device), layer_data_map)
497 ->device_dispatch_table->AllocateCommandBuffers(device, pCreateInfo, pCommandBuffer);
502 vkFreeCommandBuffers(VkDevice device, VkCommandPool commandPool, uint32_t count, const VkCommandBuffer *pCommandBuffers) {
503 get_my_data_ptr(get_dispatch_key(device), layer_data_map)
504 ->device_dispatch_table->FreeCommandBuffers(device, commandPool, count, pCommandBuffers);
516 "Cannot set inherited occlusionQueryEnable in vkBeginCommandBuffer() when device does not support inheritedQueries.");
533 vkGetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue *pQueue) {
535 layer_data *dev_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map);
539 phy_dev_data->queueFamilyProperties.size()) { // requested index is out of bounds for this physical device
552 dev_data->device_dispatch_table->GetDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue);
556 vkBindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory mem, VkDeviceSize memoryOffset) {
557 layer_data *dev_data = get_my_data_ptr(get_dispatch_key(device
561 VkDeviceSize uniformAlignment = dev_data->physDevPropertyMap[device].limits.minUniformBufferOffsetAlignment;
566 " must be a multiple of device limit minUniformBufferOffsetAlignment %#" PRIxLEAST64,
571 result = dev_data->device_dispatch_table->BindBufferMemory(device, buffer, mem, memoryOffset);
577 vkUpdateDescriptorSets(VkDevice device, uint32_t descriptorWriteCount, const VkWriteDescriptorSet *pDescriptorWrites,
579 layer_data *dev_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map);
585 VkDeviceSize uniformAlignment = dev_data->physDevPropertyMap[device].limits.minUniformBufferOffsetAlignment;
592 ") must be a multiple of device limit minUniformBufferOffsetAlignment %#" PRIxLEAST64,
598 VkDeviceSize storageAlignment = dev_data->physDevPropertyMap[device].limits.minStorageBufferOffsetAlignment;
605 ") must be a multiple of device limit minStorageBufferOffsetAlignment %#" PRIxLEAST64,
612 dev_data->device_dispatch_table->UpdateDescriptorSets(device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount,