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 2 #2538

Merged
merged 1 commit into from
Jan 17, 2019
Merged

Conversation

Qining
Copy link
Contributor

@Qining Qining commented Jan 12, 2019

Depends on #2534 and #2531

Add helper function: getAspectKeysFromAspectFlags(), given an aspect
mask flag, returns a list of aspect bit keys, which can be used in
indexing image->aspect->layer->level hierarchy and also the potential
separated memory binding info hierarchy.

Index the memory requirements by aspect(plane) bits

Add helper function: getImagePlaneMemoryRequirments() to manage getting
image plane memory requirements. All uses of image requirements should
get the requirement info from this helper function.

Add helper function: getAspectKeysFromAspectFlags(), given an aspect
mask flag, returns a list of aspect bit keys, which can be used in
indexing image->aspect->layer->level hierarchy and also the potential
separated memory binding info hierarchy.

Index the memory requirements by aspect(plane) bits

Add helper function: getImagePlaneMemoryRequirments() to manage getting
image plane memory requirements. All uses of image requirements should
get the requirement info from this helper function.
@Qining Qining merged commit 7a6c3e6 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