KhronosGroup / KhronosGroup/Vulkan-Tutorial

Scalar layouts for uniform buffers

Đang mở
#115 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
418
Fork
126
Merge trung bình
11 ngày 6 giờ
Pull request đã merge (30 ngày)
31

Mô tả

The [descriptor pool](https://docs.vulkan.org/tutorial/latest/05_Uniform_buffers/01_Descriptor_pool_and_sets.html) chapter of the new vulkan tutorial uses std430 as the uniform buffer layout. Scalar layout is basically universally available at this point and matches C++ alignment much better (assuming no vector types), are there any deeper reasons for why the tutorial couldn't use it?

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

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start with the linked descriptor pool chapter and identify where it specifies or relies on std430 for uniform buffers. Check the Vulkan requirements and the tutorial's C++ alignment assumptions for scalar layout. Done means the chapter either adopts scalar layout with the necessary explanation or documents why std430 remains preferable.

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, documentation
Loại issue
Tài liệu
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/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.