KhronosGroup / KhronosGroup/Vulkan-Tutorial
Scalar layouts for uniform buffers
- Vorherrschende Sprache
- C++
- Sterne
- 418
- Forks
- 126
- Ø Merge
- 11 T. 6 Std.
- Gemergte PRs (30 T.)
- 31
Beschreibung
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?
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- computer-graphics, documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100