Enum
VkPipelineCacheCreateFlagBits
Bitmask specifying the behavior of the pipeline cache
Bits which can be set in VkPipelineCacheCreateInfo::flags,
specifying behavior of the pipeline cache, are:
typedef enum VkPipelineCacheCreateFlagBits {
// Provided by extensions
VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT = 0x00000001,
VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT = VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT,
VK_PIPELINE_CACHE_CREATE_INTERNALLY_SYNCHRONIZED_MERGE_BIT_KHR = 0x00000008,
} VkPipelineCacheCreateFlagBits;
pub struct PipelineCacheCreateFlagBits(u32);
impl PipelineCacheCreateFlagBits {
pub const EXTERNALLY_SYNCHRONIZED: Self = 0x00000001;
pub const EXTERNALLY_SYNCHRONIZED_EXT: Self = Self::EXTERNALLY_SYNCHRONIZED;
pub const INTERNALLY_SYNCHRONIZED_MERGE_KHR: Self = 0x00000008;
}
VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BITspecifies that all commands that modify the created VkPipelineCache will be externally synchronized. When set, the implementation may skip any unnecessary processing needed to support simultaneous modification from multiple threads where allowed.VK_PIPELINE_CACHE_CREATE_INTERNALLY_SYNCHRONIZED_MERGE_BIT_KHRspecifies that when the created VkPipelineCache is used as thedstCacheparameter of vkMergePipelineCaches, it does not need to be externally synchronized. This flag is mutually exclusive withVK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT.