hbina / hbina/VulkanTutorial

Improve performance of memory transfer

Đang mở
#4 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Use a different queue family specifically for transfer operations. It will require you to make the following modifications to your program:

- Modify QueueFamilyIndices and findQueueFamilies to explicitly look for a queue family with the VK_QUEUE_TRANSFER bit, but not the VK_QUEUE_GRAPHICS_BIT.

- Modify createLogicalDevice to request a handle to the transfer queue

- Create a second command pool for command buffers that are submitted on the transfer queue family

- Change the sharingMode of resources to be VK_SHARING_MODE_CONCURRENT and specify both the graphics and transfer queue families

- Submit any transfer commands like vkCmdCopyBuffer (which we'll be using in this chapter) to the transfer queue instead of the graphics queue

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách theo dõi QueueFamilyIndices và findQueueFamilies, sau đó kiểm tra createLogicalDevice, thiết lập command pool, các chế độ chia sẻ tài nguyên và việc gửi vkCmdCopyBuffer. Thêm một transfer queue và command pool専 dụng, sử dụng concurrent sharing cho các family graphics và transfer, đồng thời chuyển các lệnh transfer qua transfer queue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cpp
Lĩnh vực
computer-graphics
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.