Skip to content

Conversation

@aruby-blackberry
Copy link
Collaborator

@aruby-blackberry aruby-blackberry commented Jan 12, 2026

... and update the TODO with a better description of the issue.

…criptor consumption

... and update the TODO with a better description of the issue.
@aruby-blackberry aruby-blackberry changed the title compositor_vk: Fix per-frame descriptorSetAllocation compositor_vk: Increase descriptorCount safeguard for non-trivial descriptor consumption Jan 12, 2026
@aruby-blackberry
Copy link
Collaborator Author

Latest CL addresses the real issue. Updated comment with better description of what would be needed to done to support this properly.

// descriptorCount value here for use with combined image samplers must account for non-trivial
// descriptorCount consumption, otherwise some drivers are throwing VK_ERROR_OUT_OF_POOL_MEMORY.
// This information needs to be obtained from:
// VkSamplerYcbcrConversionImageFormatProperties::combinedImageSamplerDescriptorCount, or from
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have an internal change in review (ag/37589469) that checks exactly this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Internal ... arggh 😉

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coming soon™ :D

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aruby-blackberry can you confirm if 7ffe384 addresses?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will give it a try today and report back, thank you!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmacnak This works, please merge into main. Thank you! 🙂

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#96 merged!

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

Successfully merging this pull request may close these issues.

2 participants