[{"data":1,"prerenderedAt":631},["ShallowReactive",2],{"QoBW6jR5vr":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":630,"_id":4},"VkValidationCacheCreateInfoEXT","Structure specifying parameters of a newly created validation cache","VK_EXT_validation_cache","structs",[],{"type":10,"children":11,"toc":628},"root",[12,28,310,415,512,622],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,144],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkValidationCacheCreateInfoEXT {\n VkStructureType sType;\n const void* pNext;\n VkValidationCacheCreateFlagsEXT flags;\n size_t initialDataSize;\n const void* pInitialData;\n} VkValidationCacheCreateInfoEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,118,135],{"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:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkValidationCacheCreateInfoEXT {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkValidationCacheCreateFlagsEXT flags;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108,113],{"type":13,"tag":45,"props":109,"children":110},{"style":52},[111],{"type":18,"value":112}," size_t",{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117}," initialDataSize;\n",{"type":13,"tag":45,"props":119,"children":121},{"class":47,"line":120},6,[122,126,130],{"type":13,"tag":45,"props":123,"children":124},{"style":52},[125],{"type":18,"value":84},{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":89},{"type":13,"tag":45,"props":131,"children":132},{"style":63},[133],{"type":18,"value":134}," pInitialData;\n",{"type":13,"tag":45,"props":136,"children":138},{"class":47,"line":137},7,[139],{"type":13,"tag":45,"props":140,"children":141},{"style":63},[142],{"type":18,"value":143},"} VkValidationCacheCreateInfoEXT;\n",{"type":13,"tag":33,"props":145,"children":150},{"className":146,"code":147,"filename":148,"language":149,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ValidationCacheCreateInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::ValidationCacheCreateFlagsEXT,\n initial_data_size: usize,\n p_initial_data: *const c_void,\n}\n","Rust","rs",[151],{"type":13,"tag":21,"props":152,"children":153},{"__ignoreMap":39},[154,177,210,232,261,282,302],{"type":13,"tag":45,"props":155,"children":156},{"class":47,"line":48},[157,162,166,172],{"type":13,"tag":45,"props":158,"children":159},{"style":52},[160],{"type":18,"value":161},"pub",{"type":13,"tag":45,"props":163,"children":164},{"style":52},[165],{"type":18,"value":60},{"type":13,"tag":45,"props":167,"children":169},{"style":168},"--shiki-default:#953800;--shiki-dark:#FFA657",[170],{"type":18,"value":171}," ValidationCacheCreateInfoEXT",{"type":13,"tag":45,"props":173,"children":174},{"style":63},[175],{"type":18,"value":176}," {\n",{"type":13,"tag":45,"props":178,"children":179},{"class":47,"line":69},[180,185,190,195,200,205],{"type":13,"tag":45,"props":181,"children":182},{"style":63},[183],{"type":18,"value":184}," s_type",{"type":13,"tag":45,"props":186,"children":187},{"style":52},[188],{"type":18,"value":189},":",{"type":13,"tag":45,"props":191,"children":192},{"style":168},[193],{"type":18,"value":194}," vk",{"type":13,"tag":45,"props":196,"children":197},{"style":52},[198],{"type":18,"value":199},"::",{"type":13,"tag":45,"props":201,"children":202},{"style":168},[203],{"type":18,"value":204},"StructureType",{"type":13,"tag":45,"props":206,"children":207},{"style":63},[208],{"type":18,"value":209},",\n",{"type":13,"tag":45,"props":211,"children":212},{"class":47,"line":78},[213,218,222,227],{"type":13,"tag":45,"props":214,"children":215},{"style":63},[216],{"type":18,"value":217}," p_next",{"type":13,"tag":45,"props":219,"children":220},{"style":52},[221],{"type":18,"value":189},{"type":13,"tag":45,"props":223,"children":224},{"style":52},[225],{"type":18,"value":226}," *const",{"type":13,"tag":45,"props":228,"children":229},{"style":63},[230],{"type":18,"value":231}," c_void,\n",{"type":13,"tag":45,"props":233,"children":234},{"class":47,"line":97},[235,240,244,248,252,257],{"type":13,"tag":45,"props":236,"children":237},{"style":63},[238],{"type":18,"value":239}," flags",{"type":13,"tag":45,"props":241,"children":242},{"style":52},[243],{"type":18,"value":189},{"type":13,"tag":45,"props":245,"children":246},{"style":168},[247],{"type":18,"value":194},{"type":13,"tag":45,"props":249,"children":250},{"style":52},[251],{"type":18,"value":199},{"type":13,"tag":45,"props":253,"children":254},{"style":168},[255],{"type":18,"value":256},"ValidationCacheCreateFlagsEXT",{"type":13,"tag":45,"props":258,"children":259},{"style":63},[260],{"type":18,"value":209},{"type":13,"tag":45,"props":262,"children":263},{"class":47,"line":106},[264,269,273,278],{"type":13,"tag":45,"props":265,"children":266},{"style":63},[267],{"type":18,"value":268}," initial_data_size",{"type":13,"tag":45,"props":270,"children":271},{"style":52},[272],{"type":18,"value":189},{"type":13,"tag":45,"props":274,"children":275},{"style":168},[276],{"type":18,"value":277}," usize",{"type":13,"tag":45,"props":279,"children":280},{"style":63},[281],{"type":18,"value":209},{"type":13,"tag":45,"props":283,"children":284},{"class":47,"line":120},[285,290,294,298],{"type":13,"tag":45,"props":286,"children":287},{"style":63},[288],{"type":18,"value":289}," p_initial_data",{"type":13,"tag":45,"props":291,"children":292},{"style":52},[293],{"type":18,"value":189},{"type":13,"tag":45,"props":295,"children":296},{"style":52},[297],{"type":18,"value":226},{"type":13,"tag":45,"props":299,"children":300},{"style":63},[301],{"type":18,"value":231},{"type":13,"tag":45,"props":303,"children":304},{"class":47,"line":137},[305],{"type":13,"tag":45,"props":306,"children":307},{"style":63},[308],{"type":18,"value":309},"}\n",{"type":13,"tag":311,"props":312,"children":313},"ul",{},[314,335,354,365,391],{"type":13,"tag":315,"props":316,"children":317},"li",{},[318,324,326,333],{"type":13,"tag":21,"props":319,"children":321},{"className":320},[],[322],{"type":18,"value":323},"sType",{"type":18,"value":325}," is a ",{"type":13,"tag":327,"props":328,"children":330},"a",{"href":329},"/man/VkStructureType",[331],{"type":18,"value":332},"VkStructureType",{"type":18,"value":334}," value identifying this structure.",{"type":13,"tag":315,"props":336,"children":337},{},[338,344,346,352],{"type":13,"tag":21,"props":339,"children":341},{"className":340},[],[342],{"type":18,"value":343},"pNext",{"type":18,"value":345}," is ",{"type":13,"tag":21,"props":347,"children":349},{"className":348},[],[350],{"type":18,"value":351},"NULL",{"type":18,"value":353}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":315,"props":355,"children":356},{},[357,363],{"type":13,"tag":21,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":362},"flags",{"type":18,"value":364}," is reserved for future use.",{"type":13,"tag":315,"props":366,"children":367},{},[368,374,376,382,384,389],{"type":13,"tag":21,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":373},"initialDataSize",{"type":18,"value":375}," is the number of bytes in ",{"type":13,"tag":21,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":381},"pInitialData",{"type":18,"value":383},".\nIf ",{"type":13,"tag":21,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":373},{"type":18,"value":390}," is zero, the validation cache will initially be\nempty.",{"type":13,"tag":315,"props":392,"children":393},{},[394,399,401,406,408,413],{"type":13,"tag":21,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":381},{"type":18,"value":400}," is a pointer to previously retrieved validation cache\ndata.\nIf the validation cache data is incompatible (as defined below) with the\ndevice, the validation cache will be initially empty.\nIf ",{"type":13,"tag":21,"props":402,"children":404},{"className":403},[],[405],{"type":18,"value":373},{"type":18,"value":407}," is zero, ",{"type":13,"tag":21,"props":409,"children":411},{"className":410},[],[412],{"type":18,"value":381},{"type":18,"value":414}," is ignored.",{"type":13,"tag":416,"props":417,"children":419},"validity-group",{"name":418},"Valid Usage",[420,474],{"type":13,"tag":421,"props":422,"children":424},"validity-field",{"name":423},"VUID-VkValidationCacheCreateInfoEXT-initialDataSize-01534",[425],{"type":13,"tag":14,"props":426,"children":427},{},[428,430,435,437,443,445,450,452,457,459,465,467,472],{"type":18,"value":429},"If ",{"type":13,"tag":21,"props":431,"children":433},{"className":432},[],[434],{"type":18,"value":373},{"type":18,"value":436}," is not ",{"type":13,"tag":21,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":442},"0",{"type":18,"value":444},", it ",{"type":13,"tag":446,"props":447,"children":449},"normative",{"type":448},"must",[],{"type":18,"value":451}," be equal to the size of\n",{"type":13,"tag":21,"props":453,"children":455},{"className":454},[],[456],{"type":18,"value":381},{"type":18,"value":458},", as returned by ",{"type":13,"tag":21,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":464},"vkGetValidationCacheDataEXT",{"type":18,"value":466},"\nwhen ",{"type":13,"tag":21,"props":468,"children":470},{"className":469},[],[471],{"type":18,"value":381},{"type":18,"value":473}," was originally retrieved",{"type":13,"tag":421,"props":475,"children":477},{"name":476},"VUID-VkValidationCacheCreateInfoEXT-initialDataSize-01535",[478],{"type":13,"tag":14,"props":479,"children":480},{},[481,482,487,488,493,495,500,502,505,507],{"type":18,"value":429},{"type":13,"tag":21,"props":483,"children":485},{"className":484},[],[486],{"type":18,"value":373},{"type":18,"value":436},{"type":13,"tag":21,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":442},{"type":18,"value":494},", ",{"type":13,"tag":21,"props":496,"children":498},{"className":497},[],[499],{"type":18,"value":381},{"type":18,"value":501}," ",{"type":13,"tag":446,"props":503,"children":504},{"type":448},[],{"type":18,"value":506}," have been\nretrieved from a previous call to ",{"type":13,"tag":21,"props":508,"children":510},{"className":509},[],[511],{"type":18,"value":464},{"type":13,"tag":416,"props":513,"children":515},{"name":514},"Valid Usage (Implicit)",[516,540,562,584],{"type":13,"tag":421,"props":517,"children":519},{"name":518},"VUID-VkValidationCacheCreateInfoEXT-sType-sType",[520],{"type":13,"tag":14,"props":521,"children":522},{},[523,528,529,532,534],{"type":13,"tag":21,"props":524,"children":526},{"className":525},[],[527],{"type":18,"value":323},{"type":18,"value":501},{"type":13,"tag":446,"props":530,"children":531},{"type":448},[],{"type":18,"value":533}," be ",{"type":13,"tag":21,"props":535,"children":537},{"className":536},[],[538],{"type":18,"value":539},"VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT",{"type":13,"tag":421,"props":541,"children":543},{"name":542},"VUID-VkValidationCacheCreateInfoEXT-pNext-pNext",[544],{"type":13,"tag":14,"props":545,"children":546},{},[547,552,553,556,557],{"type":13,"tag":21,"props":548,"children":550},{"className":549},[],[551],{"type":18,"value":343},{"type":18,"value":501},{"type":13,"tag":446,"props":554,"children":555},{"type":448},[],{"type":18,"value":533},{"type":13,"tag":21,"props":558,"children":560},{"className":559},[],[561],{"type":18,"value":351},{"type":13,"tag":421,"props":563,"children":565},{"name":564},"VUID-VkValidationCacheCreateInfoEXT-flags-zerobitmask",[566],{"type":13,"tag":14,"props":567,"children":568},{},[569,574,575,578,579],{"type":13,"tag":21,"props":570,"children":572},{"className":571},[],[573],{"type":18,"value":362},{"type":18,"value":501},{"type":13,"tag":446,"props":576,"children":577},{"type":448},[],{"type":18,"value":533},{"type":13,"tag":21,"props":580,"children":582},{"className":581},[],[583],{"type":18,"value":442},{"type":13,"tag":421,"props":585,"children":587},{"name":586},"VUID-VkValidationCacheCreateInfoEXT-pInitialData-parameter",[588],{"type":13,"tag":14,"props":589,"children":590},{},[591,592,597,598,603,604,609,610,613,615,620],{"type":18,"value":429},{"type":13,"tag":21,"props":593,"children":595},{"className":594},[],[596],{"type":18,"value":373},{"type":18,"value":436},{"type":13,"tag":21,"props":599,"children":601},{"className":600},[],[602],{"type":18,"value":442},{"type":18,"value":494},{"type":13,"tag":21,"props":605,"children":607},{"className":606},[],[608],{"type":18,"value":381},{"type":18,"value":501},{"type":13,"tag":446,"props":611,"children":612},{"type":448},[],{"type":18,"value":614}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":616,"children":618},{"className":617},[],[619],{"type":18,"value":373},{"type":18,"value":621}," bytes",{"type":13,"tag":623,"props":624,"children":625},"style",{},[626],{"type":18,"value":627},"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":39,"searchDepth":69,"depth":69,"links":629},[],"markdown",1729612484580]