KhronosGroup / KhronosGroup/Vulkan-Docs

Cannot blit from single-plane image to single plane of multi-plane image

Open
#2,029 20 comments 0 reactions 0 assignees View on GitHub

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 aspectMask member of srcSubresource and dstSubresource must 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.