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

Vulkan: sampler_ycbcr_conversion step 3, bind memory for planes #2543

Merged
merged 1 commit into from
Jan 17, 2019

Conversation

Qining
Copy link
Contributor

@Qining Qining commented Jan 14, 2019

Based on #2538

Handle image plane memory binding (through vkBindImageMemory2).

Memory requirements and bound memory info are combined in one map,
indexed by plane bits, within an image object.

For non-disjoint multi-planar images, the memory requirements and bound
memory info are indexed with VkImageAspectFlagBits(0). But the
ImageLayer, ImageLevel, Layout info are stored in the Aspects map, which
is indexed by the individual plane bits like:
VK_IMAGE_ASPECT_PLANE_0_BIT etc.

Handle image plane memory bind (through vkBindImageMemory2).

Memory requirements and bound memory info are combined in one map
within an image object.
@Qining Qining merged commit 8488938 into google:master Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants