Misleading docs for Vulkan profiles
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 82/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với chapters/vulkan_profiles.adoc và so sánh hướng dẫn về hồ sơ tùy chỉnh với hướng dẫn Vulkan Profiles được liên kết trong issue. Kiểm tra các mục được nêu để tìm những tham chiếu API không được hỗ trợ và xác minh hàm kiểm tra hỗ trợ phù hợp theo tài liệu Vulkan Profiles. Cập nhật các hướng dẫn và tham chiếu không chính xác; hoàn thành khi chương mô tả các quy trình và API được hỗ trợ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The Vulkan guide's chapter on Vulkan Profiles (chapters/vulkan_profiles.adoc) instructs the reader to use several non-existent API tools. I'm not sure if they are outdated or what happened, but I was pretty confused for a while.
Custom profiles:
The docs say to create a profile using a format that does not match Vulkan Profile's actual schema. It then says to "use the profile in your application using either the header-based or JSON-based approach" with the following pseudocode:
// Define a custom profile (typically done offline and saved to a JSON file)
std::string customProfileJson = R"(
{
"file_format_version": "1.0.0",
"profiles": {
"VP_CUSTOM_GAME_PROFILE": {
"version": 1,
"api_version": "1.1.0",
"label": "Custom Game Profile",
"description": "Profile for our game engine",
"capabilities": [
// ... custom capabilities ...
]
}
}
}
)";
// Load the custom profile
VkpProfilesFileLoader loader;
loader.LoadFromString(customProfileJson);
// Use the custom profile
VkpProfile profile = loader.GetProfile("VP_CUSTOM_GAME_PROFILE");
// ... use the profile as before ...
VkpProfilesFileLoader, LoadFromString, VkpProfile, and GetProfile don't appear to exist in the entire Vulkan SDK other than in this doc. These would be great if they actually existed! The Vulkan Profiles tutorial describes how to generate the library with custom profiles, which is the only way I know of making custom profiles.
The same section also mentions the Vulkan Samples profile sample having examples of custom profiles, which is not true.
Support checks:
The CheckSupport function is referenced in the Automated Feature Enabling, Android Baseline Profile Example, Integration with Existing Applications, and Troubleshooting and Common Issues sections, which should be vpGetPhysicalDeviceProfileSupport.
Capabilities report:
VkpProfileCapabilitiesReport and GetProfileCapabilitiesReport are mentioned in the Troubleshooting and Common Issues section as a way to determine which requirements weren't met. This, unfortunately, doesn't seem to exist either.
- Ngôn ngữ chính
- Makefile
- Star
- 2.3k
- Fork
- 198
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của KhronosGroup/Vulkan-Guide
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
KhronosGroup/Vulkan-Guide#396 ·
-
Naming convention for semaphoresCó thể làm lại được @spencer-lunarg đã nhận 118 ngày trước và không có pull request nào đang mở. Đang mở
KhronosGroup/Vulkan-Guide#343 · 2 bình luận · 1 người được giao ·
-
Unclear when non-core formats are allowed to be usedCó thể làm lại được @gpx1000 đã nhận 118 ngày trước và không có pull request nào đang mở. Đang mởdocumentation
KhronosGroup/Vulkan-Guide#185 · 4 bình luận · 3 reaction · 2 người được giao ·
-
Add section with in-depth details on Vulkan Memory ModelCó thể làm lại được @sfricke-samsung đã nhận 2441 ngày trước và không có pull request nào đang mở. Đang mởdocumentation
KhronosGroup/Vulkan-Guide#28 · 1 người được giao ·
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
KhronosGroup/Vulkan-Guide#15 · 4 bình luận · 4 reaction ·
Tất cả issue của KhronosGroup/Vulkan-Guide
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
TheOdinProject/curriculum#31490 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Vim/NeoVim pluginĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
-
bug require-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
expressjs/expressjs.com#2549 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs good first issue help wanted
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100