KhronosGroup / KhronosGroup/Vulkan-Tutorial
Scalar layouts for uniform buffers
- Lingua principale
- C++
- Stelle
- 418
- Fork
- 126
- Merge medio
- 11g 6h
- PR unite (30g)
- 31
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- computer-graphics, documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100