VkResolveImageModeInfoKHR(3)

# VkResolveImageModeInfoKHR(3) Manual Page

## Name

VkResolveImageModeInfoKHR - Structure specifying additional control for VkResolveImageInfo2

Loading… please wait.

## C Specification

The `VkResolveImageModeInfoKHR` structure is defined as:

    // Provided by VK_KHR_maintenance10
    typedef struct VkResolveImageModeInfoKHR {
        VkStructureType           sType;
        const void*               pNext;
        VkResolveImageFlagsKHR    flags;
        VkResolveModeFlagBits     resolveMode;
        VkResolveModeFlagBits     stencilResolveMode;
    } VkResolveImageModeInfoKHR;

## Members

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `flags` is a bitmask of VkResolveImageFlagBitsKHR.

- `resolveMode` is a VkResolveModeFlagBits value defining how `srcImage` will be resolved into `dstImage` when resolving non-stencil values.

- `stencilResolveMode` is a VkResolveModeFlagBits value defining how `srcImage` will be resolved into `dstImage` when resolving stencil values.

## Description

Valid Usage

- VUID-VkResolveImageModeInfoKHR-flags-10995
  If `flags` includes VK_RESOLVE_IMAGE_SKIP_TRANSFER_FUNCTION_BIT_KHR, `flags` must not include VK_RESOLVE_IMAGE_ENABLE_TRANSFER_FUNCTION_BIT_KHR

- VUID-VkResolveImageModeInfoKHR-flags-10996
  If `flags` includes VK_RESOLVE_IMAGE_SKIP_TRANSFER_FUNCTION_BIT_KHR or VK_RESOLVE_IMAGE_ENABLE_TRANSFER_FUNCTION_BIT_KHR, `resolveSrgbFormatSupportsTransferFunctionControl` must be VK_TRUE

- VUID-VkResolveImageModeInfoKHR-flags-10997
  If `flags` includes VK_RESOLVE_IMAGE_SKIP_TRANSFER_FUNCTION_BIT_KHR or VK_RESOLVE_IMAGE_ENABLE_TRANSFER_FUNCTION_BIT_KHR, `resolveMode` must be equal to VK_RESOLVE_MODE_AVERAGE_BIT

Valid Usage (Implicit)

- VUID-VkResolveImageModeInfoKHR-sType-sType
  `sType` must be VK_STRUCTURE_TYPE_RESOLVE_IMAGE_MODE_INFO_KHR

- VUID-VkResolveImageModeInfoKHR-flags-parameter
  `flags` must be a valid combination of VkResolveImageFlagBitsKHR values

- VUID-VkResolveImageModeInfoKHR-resolveMode-parameter
  If `resolveMode` is not `0`, `resolveMode` must be a valid VkResolveModeFlagBits value

- VUID-VkResolveImageModeInfoKHR-stencilResolveMode-parameter
  If `stencilResolveMode` is not `0`, `stencilResolveMode` must be a valid VkResolveModeFlagBits value

Structure Chaining

Extends the structure

  - VkResolveImageInfo2

## See Also

VK_KHR_maintenance10, VkResolveImageFlagsKHR, VkResolveModeFlagBits, VkStructureType

## Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0