-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add support for VK_EXT_inline_uniform_block #1504
Add support for VK_EXT_inline_uniform_block #1504
Conversation
CI gfxreconstruct build queued with queue ID 171358. |
CI gfxreconstruct build # 4030 running. |
CI gfxreconstruct build queued with queue ID 171370. |
CI gfxreconstruct build # 4031 running. |
CI gfxreconstruct build # 4031 failed. |
CI gfxreconstruct build queued with queue ID 171406. |
CI gfxreconstruct build # 4032 running. |
CI gfxreconstruct build # 4032 passed. |
I created two captures, baseline vs. this PR, of Sascha's inlineuniformblocks sample: the material is set using inline-uniform-blocks, so the spheres in baseline-replay are all black. this PR adds support for capturing the inline-uniforms and removes the warnings, the replay contains the correct colors. |
CI gfxreconstruct build queued with queue ID 173905. |
CI gfxreconstruct build # 4052 running. |
CI gfxreconstruct build queued with queue ID 173944. |
CI gfxreconstruct build # 4053 running. |
CI gfxreconstruct build # 4053 passed. |
c93899b
to
149074f
Compare
CI gfxreconstruct build queued with queue ID 174038. |
weird, looks the header changed, removing deprecated things!? |
You changed |
CI gfxreconstruct build # 4057 running. |
CI gfxreconstruct build # 4057 failed. |
That's probably me. Let me take a look. |
adding into existing infrastructure: - tracking of a binary blob 'inline_uniform_data' in DescriptorInfo - support VkUpdateDescriptorSets and vkUpdateDescriptorSetWithTemplate - add-hoc (re-)creation of pNext-structures for VkWriteDescriptorSet
149074f
to
59bb2e9
Compare
CI gfxreconstruct build queued with queue ID 174106. |
CI gfxreconstruct build # 4058 running. |
I think it might have been a missing |
CI gfxreconstruct build # 4058 passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
overall a low-hanging fruit, adding into existing infrastructure:
inline_uniform_block
in DescriptorInfoVkWriteDescriptorSet
tested successfully with a capture/replay of Sascha's corresponding sample:
https://github.com/SaschaWillems/Vulkan/blob/master/examples/inlineuniformblocks/inlineuniformblocks.cpp