[{"data":1,"prerenderedAt":649},["ShallowReactive",2],{"GYf0TlP0Ac":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":648,"_id":4},"vkMergeValidationCachesEXT","Combine the data stores of validation caches","VK_EXT_validation_cache","protos",[],{"type":10,"children":11,"toc":646},"root",[12,27,350,418,433,459,616,640],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25],{"type":18,"value":19},"text","Validation cache objects ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be merged using the command:",{"type":13,"tag":28,"props":29,"children":30},"code-group",{},[31,152],{"type":13,"tag":32,"props":33,"children":39},"pre",{"className":34,"code":35,"filename":36,"language":37,"meta":38,"style":38},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkMergeValidationCachesEXT(\n VkDevice device,\n VkValidationCacheEXT dstCache,\n uint32_t srcCacheCount,\n const VkValidationCacheEXT* pSrcCaches);\n","C","c","",[40],{"type":13,"tag":41,"props":42,"children":43},"code",{"__ignoreMap":38},[44,66,86,104,123],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[54],{"type":18,"value":55},"VkResult ",{"type":13,"tag":45,"props":57,"children":59},{"style":58},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[60],{"type":18,"value":4},{"type":13,"tag":45,"props":62,"children":63},{"style":52},[64],{"type":18,"value":65},"(\n",{"type":13,"tag":45,"props":67,"children":69},{"class":47,"line":68},2,[70,75,81],{"type":13,"tag":45,"props":71,"children":72},{"style":52},[73],{"type":18,"value":74}," VkDevice ",{"type":13,"tag":45,"props":76,"children":78},{"style":77},"--shiki-default:#953800;--shiki-dark:#FFA657",[79],{"type":18,"value":80},"device",{"type":13,"tag":45,"props":82,"children":83},{"style":52},[84],{"type":18,"value":85},",\n",{"type":13,"tag":45,"props":87,"children":89},{"class":47,"line":88},3,[90,95,100],{"type":13,"tag":45,"props":91,"children":92},{"style":52},[93],{"type":18,"value":94}," VkValidationCacheEXT ",{"type":13,"tag":45,"props":96,"children":97},{"style":77},[98],{"type":18,"value":99},"dstCache",{"type":13,"tag":45,"props":101,"children":102},{"style":52},[103],{"type":18,"value":85},{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},4,[108,114,119],{"type":13,"tag":45,"props":109,"children":111},{"style":110},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[112],{"type":18,"value":113}," uint32_t",{"type":13,"tag":45,"props":115,"children":116},{"style":77},[117],{"type":18,"value":118}," srcCacheCount",{"type":13,"tag":45,"props":120,"children":121},{"style":52},[122],{"type":18,"value":85},{"type":13,"tag":45,"props":124,"children":126},{"class":47,"line":125},5,[127,132,137,142,147],{"type":13,"tag":45,"props":128,"children":129},{"style":110},[130],{"type":18,"value":131}," const",{"type":13,"tag":45,"props":133,"children":134},{"style":52},[135],{"type":18,"value":136}," VkValidationCacheEXT",{"type":13,"tag":45,"props":138,"children":139},{"style":110},[140],{"type":18,"value":141},"*",{"type":13,"tag":45,"props":143,"children":144},{"style":77},[145],{"type":18,"value":146}," pSrcCaches",{"type":13,"tag":45,"props":148,"children":149},{"style":52},[150],{"type":18,"value":151},");\n",{"type":13,"tag":32,"props":153,"children":158},{"className":154,"code":155,"filename":156,"language":157,"meta":38,"style":38},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn merge_validation_caches_ext(\n device: crate :: vk :: vk::Device,\n dst_cache: vk::ValidationCacheEXT,\n src_cache_count: u32,\n p_src_caches: *const vk::ValidationCacheEXT,\n) -> vk::Result;\n","Rust","rs",[159],{"type":13,"tag":41,"props":160,"children":161},{"__ignoreMap":38},[162,184,235,264,285,318],{"type":13,"tag":45,"props":163,"children":164},{"class":47,"line":48},[165,170,175,180],{"type":13,"tag":45,"props":166,"children":167},{"style":110},[168],{"type":18,"value":169},"pub",{"type":13,"tag":45,"props":171,"children":172},{"style":110},[173],{"type":18,"value":174}," fn",{"type":13,"tag":45,"props":176,"children":177},{"style":58},[178],{"type":18,"value":179}," merge_validation_caches_ext",{"type":13,"tag":45,"props":181,"children":182},{"style":52},[183],{"type":18,"value":65},{"type":13,"tag":45,"props":185,"children":186},{"class":47,"line":68},[187,192,197,202,207,212,217,222,226,231],{"type":13,"tag":45,"props":188,"children":189},{"style":52},[190],{"type":18,"value":191}," device",{"type":13,"tag":45,"props":193,"children":194},{"style":110},[195],{"type":18,"value":196},":",{"type":13,"tag":45,"props":198,"children":199},{"style":110},[200],{"type":18,"value":201}," crate",{"type":13,"tag":45,"props":203,"children":204},{"style":110},[205],{"type":18,"value":206}," ::",{"type":13,"tag":45,"props":208,"children":209},{"style":52},[210],{"type":18,"value":211}," vk ",{"type":13,"tag":45,"props":213,"children":214},{"style":110},[215],{"type":18,"value":216},"::",{"type":13,"tag":45,"props":218,"children":219},{"style":77},[220],{"type":18,"value":221}," vk",{"type":13,"tag":45,"props":223,"children":224},{"style":110},[225],{"type":18,"value":216},{"type":13,"tag":45,"props":227,"children":228},{"style":77},[229],{"type":18,"value":230},"Device",{"type":13,"tag":45,"props":232,"children":233},{"style":52},[234],{"type":18,"value":85},{"type":13,"tag":45,"props":236,"children":237},{"class":47,"line":88},[238,243,247,251,255,260],{"type":13,"tag":45,"props":239,"children":240},{"style":52},[241],{"type":18,"value":242}," dst_cache",{"type":13,"tag":45,"props":244,"children":245},{"style":110},[246],{"type":18,"value":196},{"type":13,"tag":45,"props":248,"children":249},{"style":77},[250],{"type":18,"value":221},{"type":13,"tag":45,"props":252,"children":253},{"style":110},[254],{"type":18,"value":216},{"type":13,"tag":45,"props":256,"children":257},{"style":77},[258],{"type":18,"value":259},"ValidationCacheEXT",{"type":13,"tag":45,"props":261,"children":262},{"style":52},[263],{"type":18,"value":85},{"type":13,"tag":45,"props":265,"children":266},{"class":47,"line":106},[267,272,276,281],{"type":13,"tag":45,"props":268,"children":269},{"style":52},[270],{"type":18,"value":271}," src_cache_count",{"type":13,"tag":45,"props":273,"children":274},{"style":110},[275],{"type":18,"value":196},{"type":13,"tag":45,"props":277,"children":278},{"style":77},[279],{"type":18,"value":280}," u32",{"type":13,"tag":45,"props":282,"children":283},{"style":52},[284],{"type":18,"value":85},{"type":13,"tag":45,"props":286,"children":287},{"class":47,"line":125},[288,293,297,302,306,310,314],{"type":13,"tag":45,"props":289,"children":290},{"style":52},[291],{"type":18,"value":292}," p_src_caches",{"type":13,"tag":45,"props":294,"children":295},{"style":110},[296],{"type":18,"value":196},{"type":13,"tag":45,"props":298,"children":299},{"style":110},[300],{"type":18,"value":301}," *const",{"type":13,"tag":45,"props":303,"children":304},{"style":77},[305],{"type":18,"value":221},{"type":13,"tag":45,"props":307,"children":308},{"style":110},[309],{"type":18,"value":216},{"type":13,"tag":45,"props":311,"children":312},{"style":77},[313],{"type":18,"value":259},{"type":13,"tag":45,"props":315,"children":316},{"style":52},[317],{"type":18,"value":85},{"type":13,"tag":45,"props":319,"children":321},{"class":47,"line":320},6,[322,327,332,336,340,345],{"type":13,"tag":45,"props":323,"children":324},{"style":52},[325],{"type":18,"value":326},") ",{"type":13,"tag":45,"props":328,"children":329},{"style":110},[330],{"type":18,"value":331},"->",{"type":13,"tag":45,"props":333,"children":334},{"style":77},[335],{"type":18,"value":221},{"type":13,"tag":45,"props":337,"children":338},{"style":110},[339],{"type":18,"value":216},{"type":13,"tag":45,"props":341,"children":342},{"style":77},[343],{"type":18,"value":344},"Result",{"type":13,"tag":45,"props":346,"children":347},{"style":52},[348],{"type":18,"value":349},";\n",{"type":13,"tag":351,"props":352,"children":353},"ul",{},[354,365,375,394],{"type":13,"tag":355,"props":356,"children":357},"li",{},[358,363],{"type":13,"tag":41,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":80},{"type":18,"value":364}," is the logical device that owns the validation cache\nobjects.",{"type":13,"tag":355,"props":366,"children":367},{},[368,373],{"type":13,"tag":41,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":99},{"type":18,"value":374}," is the handle of the validation cache to merge results\ninto.",{"type":13,"tag":355,"props":376,"children":377},{},[378,384,386,392],{"type":13,"tag":41,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":383},"srcCacheCount",{"type":18,"value":385}," is the length of the ",{"type":13,"tag":41,"props":387,"children":389},{"className":388},[],[390],{"type":18,"value":391},"pSrcCaches",{"type":18,"value":393}," array.",{"type":13,"tag":355,"props":395,"children":396},{},[397,402,404,409,411,416],{"type":13,"tag":41,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":391},{"type":18,"value":403}," is a pointer to an array of validation cache handles,\nwhich will be merged into ",{"type":13,"tag":41,"props":405,"children":407},{"className":406},[],[408],{"type":18,"value":99},{"type":18,"value":410},".\nThe previous contents of ",{"type":13,"tag":41,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":99},{"type":18,"value":417}," are included after the merge.",{"type":13,"tag":419,"props":420,"children":421},"note",{},[422],{"type":13,"tag":14,"props":423,"children":424},{},[425,427,431],{"type":18,"value":426},"The details of the merge operation are implementation-dependent, but\nimplementations ",{"type":13,"tag":21,"props":428,"children":430},{"type":429},"should",[],{"type":18,"value":432}," merge the contents of the specified validation\ncaches and prune duplicate entries.",{"type":13,"tag":434,"props":435,"children":437},"validity-group",{"name":436},"Valid Usage",[438],{"type":13,"tag":439,"props":440,"children":442},"validity-field",{"name":441},"VUID-vkMergeValidationCachesEXT-dstCache-01536",[443],{"type":13,"tag":14,"props":444,"children":445},{},[446,451,453,457],{"type":13,"tag":41,"props":447,"children":449},{"className":448},[],[450],{"type":18,"value":99},{"type":18,"value":452}," ",{"type":13,"tag":21,"props":454,"children":456},{"type":455},"must",[],{"type":18,"value":458}," not appear in the list of source caches",{"type":13,"tag":434,"props":460,"children":462},{"name":461},"Valid Usage (Implicit)",[463,490,514,545,569,592],{"type":13,"tag":439,"props":464,"children":466},{"name":465},"VUID-vkMergeValidationCachesEXT-device-parameter",[467],{"type":13,"tag":14,"props":468,"children":469},{},[470,475,476,479,481,488],{"type":13,"tag":41,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":80},{"type":18,"value":452},{"type":13,"tag":21,"props":477,"children":478},{"type":455},[],{"type":18,"value":480}," be a valid ",{"type":13,"tag":482,"props":483,"children":485},"a",{"href":484},"/man/VkDevice",[486],{"type":18,"value":487},"VkDevice",{"type":18,"value":489}," handle",{"type":13,"tag":439,"props":491,"children":493},{"name":492},"VUID-vkMergeValidationCachesEXT-dstCache-parameter",[494],{"type":13,"tag":14,"props":495,"children":496},{},[497,502,503,506,507,513],{"type":13,"tag":41,"props":498,"children":500},{"className":499},[],[501],{"type":18,"value":99},{"type":18,"value":452},{"type":13,"tag":21,"props":504,"children":505},{"type":455},[],{"type":18,"value":480},{"type":13,"tag":482,"props":508,"children":510},{"href":509},"/man/VkValidationCacheEXT",[511],{"type":18,"value":512},"VkValidationCacheEXT",{"type":18,"value":489},{"type":13,"tag":439,"props":515,"children":517},{"name":516},"VUID-vkMergeValidationCachesEXT-pSrcCaches-parameter",[518],{"type":13,"tag":14,"props":519,"children":520},{},[521,526,527,530,532,537,539,543],{"type":13,"tag":41,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":391},{"type":18,"value":452},{"type":13,"tag":21,"props":528,"children":529},{"type":455},[],{"type":18,"value":531}," be a valid pointer to an array of ",{"type":13,"tag":41,"props":533,"children":535},{"className":534},[],[536],{"type":18,"value":383},{"type":18,"value":538}," valid ",{"type":13,"tag":482,"props":540,"children":541},{"href":509},[542],{"type":18,"value":512},{"type":18,"value":544}," handles",{"type":13,"tag":439,"props":546,"children":548},{"name":547},"VUID-vkMergeValidationCachesEXT-srcCacheCount-arraylength",[549],{"type":13,"tag":14,"props":550,"children":551},{},[552,557,558,561,563],{"type":13,"tag":41,"props":553,"children":555},{"className":554},[],[556],{"type":18,"value":383},{"type":18,"value":452},{"type":13,"tag":21,"props":559,"children":560},{"type":455},[],{"type":18,"value":562}," be greater than ",{"type":13,"tag":41,"props":564,"children":566},{"className":565},[],[567],{"type":18,"value":568},"0",{"type":13,"tag":439,"props":570,"children":572},{"name":571},"VUID-vkMergeValidationCachesEXT-dstCache-parent",[573],{"type":13,"tag":14,"props":574,"children":575},{},[576,581,582,585,587],{"type":13,"tag":41,"props":577,"children":579},{"className":578},[],[580],{"type":18,"value":99},{"type":18,"value":452},{"type":13,"tag":21,"props":583,"children":584},{"type":455},[],{"type":18,"value":586}," have been created, allocated, or retrieved from ",{"type":13,"tag":41,"props":588,"children":590},{"className":589},[],[591],{"type":18,"value":80},{"type":13,"tag":439,"props":593,"children":595},{"name":594},"VUID-vkMergeValidationCachesEXT-pSrcCaches-parent",[596],{"type":13,"tag":14,"props":597,"children":598},{},[599,601,606,607,610,611],{"type":18,"value":600},"Each element of ",{"type":13,"tag":41,"props":602,"children":604},{"className":603},[],[605],{"type":18,"value":391},{"type":18,"value":452},{"type":13,"tag":21,"props":608,"children":609},{"type":455},[],{"type":18,"value":586},{"type":13,"tag":41,"props":612,"children":614},{"className":613},[],[615],{"type":18,"value":80},{"type":13,"tag":617,"props":618,"children":620},"validity-box",{"name":619},"Host Synchronization",[621],{"type":13,"tag":351,"props":622,"children":623},{},[624],{"type":13,"tag":355,"props":625,"children":626},{},[627,629,634,635,638],{"type":18,"value":628},"Host access to ",{"type":13,"tag":41,"props":630,"children":632},{"className":631},[],[633],{"type":18,"value":99},{"type":18,"value":452},{"type":13,"tag":21,"props":636,"children":637},{"type":455},[],{"type":18,"value":639}," be externally synchronized\n::",{"type":13,"tag":641,"props":642,"children":643},"style",{},[644],{"type":18,"value":645},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":38,"searchDepth":68,"depth":68,"links":647},[],"markdown",1725732622516]