Skip to content

VK: Fix AHB import validation error#9710

Merged
phoenixxxx merged 1 commit intogoogle:mainfrom
rafadevai:ahb_importing_validation_fix
Feb 12, 2026
Merged

VK: Fix AHB import validation error#9710
phoenixxxx merged 1 commit intogoogle:mainfrom
rafadevai:ahb_importing_validation_fix

Conversation

@rafadevai
Copy link
Contributor

In some cases the external image to be imported is flagged as using a sRGB dataspace but when the AHB is imported its actual format is UNDEFINED and requires an external sampler.

In these cases, its not valid to set the VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag.

See VUID-VkImageCreateInfo-pNext-02396

FIXES=[483456747]

In some cases the external image to be imported is
flagged as using a sRGB dataspace but when the AHB
is imported its actual format is UNDEFINED and
requires an external sampler.

In these cases, its not valid to set the
VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag.

See VUID-VkImageCreateInfo-pNext-02396

FIXES=[483456747]
@rafadevai rafadevai force-pushed the ahb_importing_validation_fix branch from 55d53ee to 0c67f1c Compare February 12, 2026 17:38
@phoenixxxx phoenixxxx added the internal Issue/PR does not affect clients label Feb 12, 2026
@phoenixxxx phoenixxxx merged commit 385d896 into google:main Feb 12, 2026
14 checks passed
@rafadevai rafadevai deleted the ahb_importing_validation_fix branch February 13, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Issue/PR does not affect clients

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants