Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DescriptorMaker: поддержка флагов для биндингов (Vk 1.2) #10

Open
Mrkol opened this issue Mar 8, 2022 · 1 comment

Comments

@Mrkol
Copy link
Contributor

Mrkol commented Mar 8, 2022

Хотелось бы иметь возможность указывать флаги различным биндингам в рамках одного дескриптор сет лейаута:
https://github.com/SaschaWillems/Vulkan/blob/master/examples/descriptorindexing/descriptorindexing.cpp#L221
https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.html

@Mrkol
Copy link
Contributor Author

Mrkol commented Mar 10, 2022

Приблизительная идея имплементации: добавить во все функции DescriptorMaker::BindX последним аргументом флаг, хранить его в DescriptorHandles, при создании лейаута класть в соответствующее расширение pNext, при кешировании учитывать флаги в LayoutKey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant