Clarify how descriptor pool capacity is shared across descriptor sets

オープン 初心者向け
#545 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
85/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cpp
領域
documentation

調査の方向性

Issue は 05_Uniform_buffers/01_Descriptor_pool_and_sets.html#_descriptor_pool の Descriptor pool セクションを示しています。そのセクションを読み、descriptor の数は pool 全体に適用され、そこから割り当てられた sets 間で共有されることを明確にしてください。説明で、その数が合計なのか set ごとなのかを明示的に解決できたら完了です。

索引モデルが issue の本文から書いたものです。

説明

Hi! I was reading the Descriptor pool section and found this sentence a little ambiguous:

We first need to describe which descriptor types our descriptor sets are going to contain and how many of them, using vk::DescriptorPoolSize structures.

I wasn't sure whether the descriptor counts refer to the entire pool or to each descriptor set.

For example, with:

vk::DescriptorPoolSize poolSize{
    .type = vk::DescriptorType::eUniformBuffer,
    .descriptorCount = 3
};

Does this mean 3 uniform buffer descriptors in total, shared by all sets allocated from the pool, or 3 descriptors per set?

The following explanation helps, but I think it would be clearer to state this explicitly. Maybe something like:

These counts are for the entire pool, not for each descriptor set. All descriptor sets allocated from the pool share this capacity.

Thanks for maintaining the tutorial!

主要言語
C++
スター
444
フォーク
145
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

KhronosGroup/Vulkan-Tutorial のほかの issue

KhronosGroup/Vulkan-Tutorial の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。