Lines Matching refs:device
306 radv_destroy_render_pass(struct radv_device *device, const VkAllocationCallbacks *pAllocator,
310 vk_free2(&device->vk.alloc, pAllocator, pass->subpass_attachments);
311 vk_free2(&device->vk.alloc, pAllocator, pass);
333 RADV_FROM_HANDLE(radv_device, device, _device);
345 pass = vk_alloc2(&device->vk.alloc, pAllocator, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);
347 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY);
351 vk_object_base_init(&device->vk, &pass->base, VK_OBJECT_TYPE_RENDER_PASS);
379 vk_alloc2(&device->vk.alloc, pAllocator,
383 radv_destroy_render_pass(device, pAllocator, pass);
384 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY);
509 RADV_FROM_HANDLE(radv_device, device, _device);
515 radv_destroy_render_pass(device, pAllocator, pass);
519 radv_GetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D *pGranularity)