KhronosGroup / KhronosGroup/Vulkan-Docs
Cannot blit from single-plane image to single plane of multi-plane image
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 549
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 2
Description
As per the current spec,
VUID-VkImageBlit2-aspectMask-00238:
The
aspectMaskmember ofsrcSubresourceanddstSubresourcemust match.
This prevents a blit from e.g. an R8 image to a single plane of an G8_R8_B8_3PLANE_444 image, an operation that seems entirely reasonable to perform (and, indeed, can be emulated trivially using a raster or compute shader).
It seem that the rules around this VUID could probably be relaxed around planar images.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with VUID-VkImageBlit2-aspectMask-00238 in the linked Vulkan specification and review the current aspectMask requirements for planar images. Determine whether single-plane blits should be permitted and define the precise rule change; done means the specification clearly resolves this case.
Written by the indexing model from the issue text.
Assessment
- Domain
- computer-graphics, documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100