Structures

VkDevicePipelineBinaryInternalCacheControlKHR

Structure specifying parameter to disable the internal pipeline cache

To disable the implementation’s internal pipeline cache, add a VkDevicePipelineBinaryInternalCacheControlKHR structure to the pNext chain of the VkDeviceCreateInfo structure.

typedef struct VkDevicePipelineBinaryInternalCacheControlKHR {
    VkStructureType sType;
    const void* pNext;
    VkBool32 disableInternalCache;
} VkDevicePipelineBinaryInternalCacheControlKHR;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • disableInternalCache specifies whether or not to disable the implementation’s internal pipeline cache.

If the VkDeviceCreateInfo::pNext chain does not include this structure, then disableInternalCache defaults to VK_FALSE.

Valid Usage

VUID-VkDevicePipelineBinaryInternalCacheControlKHR-disableInternalCache-09602

If VkPhysicalDevicePipelineBinaryPropertiesKHR::pipelineBinaryInternalCacheControl is VK_FALSE, disableInternalCache must be VK_FALSE

Valid Usage (Implicit)

VUID-VkDevicePipelineBinaryInternalCacheControlKHR-sType-sType

sType must be VK_STRUCTURE_TYPE_DEVICE_PIPELINE_BINARY_INTERNAL_CACHE_CONTROL_KHR