KhronosGroup / KhronosGroup/Vulkan-Tutorial

Scalar layouts for uniform buffers

未关闭
#115 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
418
派生
126
平均合并
11 天 6 小时
30 天内合并 PR
31

描述

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?

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
computer-graphics, documentation
Issue 类型
文档
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。