Skip to content

Vulkan: Sampler_ycbcr_conversion step 2#2538

Merged
qining merged 1 commit intogoogle:masterfrom
qining:ycbcr-step-2
Jan 17, 2019
Merged

Vulkan: Sampler_ycbcr_conversion step 2#2538
qining merged 1 commit intogoogle:masterfrom
qining:ycbcr-step-2

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