[{"data":1,"prerenderedAt":567},["ShallowReactive",2],{"3HnnLpHzpJ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":566,"_id":4},"VkPipelineCacheHeaderVersionOne","Structure describing the layout of the pipeline cache header","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":564},"root",[12,20,333,447,452,463,530,558],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","Version one of the pipeline cache header is defined as:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,148],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPipelineCacheHeaderVersionOne {\n // The fields in this structure are non-normative since structure packing is implementation-defined in C. The specification defines the normative layout.;\n uint32_t headerSize;\n VkPipelineCacheHeaderVersion headerVersion;\n uint32_t vendorID;\n uint32_t deviceID;\n uint8_t pipelineCacheUUID[VK_UUID_SIZE];\n} VkPipelineCacheHeaderVersionOne;\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,60,70,84,93,106,119,139],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"typedef",{"type":13,"tag":38,"props":50,"children":51},{"style":45},[52],{"type":18,"value":53}," struct",{"type":13,"tag":38,"props":55,"children":57},{"style":56},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[58],{"type":18,"value":59}," VkPipelineCacheHeaderVersionOne {\n",{"type":13,"tag":38,"props":61,"children":63},{"class":40,"line":62},2,[64],{"type":13,"tag":38,"props":65,"children":67},{"style":66},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[68],{"type":18,"value":69}," // The fields in this structure are non-normative since structure packing is implementation-defined in C. The specification defines the normative layout.;\n",{"type":13,"tag":38,"props":71,"children":73},{"class":40,"line":72},3,[74,79],{"type":13,"tag":38,"props":75,"children":76},{"style":45},[77],{"type":18,"value":78}," uint32_t",{"type":13,"tag":38,"props":80,"children":81},{"style":56},[82],{"type":18,"value":83}," headerSize;\n",{"type":13,"tag":38,"props":85,"children":87},{"class":40,"line":86},4,[88],{"type":13,"tag":38,"props":89,"children":90},{"style":56},[91],{"type":18,"value":92}," VkPipelineCacheHeaderVersion headerVersion;\n",{"type":13,"tag":38,"props":94,"children":96},{"class":40,"line":95},5,[97,101],{"type":13,"tag":38,"props":98,"children":99},{"style":45},[100],{"type":18,"value":78},{"type":13,"tag":38,"props":102,"children":103},{"style":56},[104],{"type":18,"value":105}," vendorID;\n",{"type":13,"tag":38,"props":107,"children":109},{"class":40,"line":108},6,[110,114],{"type":13,"tag":38,"props":111,"children":112},{"style":45},[113],{"type":18,"value":78},{"type":13,"tag":38,"props":115,"children":116},{"style":56},[117],{"type":18,"value":118}," deviceID;\n",{"type":13,"tag":38,"props":120,"children":122},{"class":40,"line":121},7,[123,128,134],{"type":13,"tag":38,"props":124,"children":125},{"style":45},[126],{"type":18,"value":127}," uint8_t",{"type":13,"tag":38,"props":129,"children":131},{"style":130},"--shiki-default:#953800;--shiki-dark:#FFA657",[132],{"type":18,"value":133}," pipelineCacheUUID",{"type":13,"tag":38,"props":135,"children":136},{"style":56},[137],{"type":18,"value":138},"[VK_UUID_SIZE];\n",{"type":13,"tag":38,"props":140,"children":142},{"class":40,"line":141},8,[143],{"type":13,"tag":38,"props":144,"children":145},{"style":56},[146],{"type":18,"value":147},"} VkPipelineCacheHeaderVersionOne;\n",{"type":13,"tag":25,"props":149,"children":154},{"className":150,"code":151,"filename":152,"language":153,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PipelineCacheHeaderVersionOne {\n /// The fields in this structure are non-normative since structure packing is implementation-defined in C. The specification defines the normative layout.\n header_size: u32,\n header_version: vk::PipelineCacheHeaderVersion,\n vendor_id: u32,\n device_id: u32,\n pipeline_cache_uuid: *const [u8 ; UUID_SIZE],\n}\n","Rust","rs",[155],{"type":13,"tag":34,"props":156,"children":157},{"__ignoreMap":31},[158,180,188,211,242,262,282,325],{"type":13,"tag":38,"props":159,"children":160},{"class":40,"line":41},[161,166,170,175],{"type":13,"tag":38,"props":162,"children":163},{"style":45},[164],{"type":18,"value":165},"pub",{"type":13,"tag":38,"props":167,"children":168},{"style":45},[169],{"type":18,"value":53},{"type":13,"tag":38,"props":171,"children":172},{"style":130},[173],{"type":18,"value":174}," PipelineCacheHeaderVersionOne",{"type":13,"tag":38,"props":176,"children":177},{"style":56},[178],{"type":18,"value":179}," {\n",{"type":13,"tag":38,"props":181,"children":182},{"class":40,"line":62},[183],{"type":13,"tag":38,"props":184,"children":185},{"style":66},[186],{"type":18,"value":187}," /// The fields in this structure are non-normative since structure packing is implementation-defined in C. The specification defines the normative layout.\n",{"type":13,"tag":38,"props":189,"children":190},{"class":40,"line":72},[191,196,201,206],{"type":13,"tag":38,"props":192,"children":193},{"style":56},[194],{"type":18,"value":195}," header_size",{"type":13,"tag":38,"props":197,"children":198},{"style":45},[199],{"type":18,"value":200},":",{"type":13,"tag":38,"props":202,"children":203},{"style":130},[204],{"type":18,"value":205}," u32",{"type":13,"tag":38,"props":207,"children":208},{"style":56},[209],{"type":18,"value":210},",\n",{"type":13,"tag":38,"props":212,"children":213},{"class":40,"line":86},[214,219,223,228,233,238],{"type":13,"tag":38,"props":215,"children":216},{"style":56},[217],{"type":18,"value":218}," header_version",{"type":13,"tag":38,"props":220,"children":221},{"style":45},[222],{"type":18,"value":200},{"type":13,"tag":38,"props":224,"children":225},{"style":130},[226],{"type":18,"value":227}," vk",{"type":13,"tag":38,"props":229,"children":230},{"style":45},[231],{"type":18,"value":232},"::",{"type":13,"tag":38,"props":234,"children":235},{"style":130},[236],{"type":18,"value":237},"PipelineCacheHeaderVersion",{"type":13,"tag":38,"props":239,"children":240},{"style":56},[241],{"type":18,"value":210},{"type":13,"tag":38,"props":243,"children":244},{"class":40,"line":95},[245,250,254,258],{"type":13,"tag":38,"props":246,"children":247},{"style":56},[248],{"type":18,"value":249}," vendor_id",{"type":13,"tag":38,"props":251,"children":252},{"style":45},[253],{"type":18,"value":200},{"type":13,"tag":38,"props":255,"children":256},{"style":130},[257],{"type":18,"value":205},{"type":13,"tag":38,"props":259,"children":260},{"style":56},[261],{"type":18,"value":210},{"type":13,"tag":38,"props":263,"children":264},{"class":40,"line":108},[265,270,274,278],{"type":13,"tag":38,"props":266,"children":267},{"style":56},[268],{"type":18,"value":269}," device_id",{"type":13,"tag":38,"props":271,"children":272},{"style":45},[273],{"type":18,"value":200},{"type":13,"tag":38,"props":275,"children":276},{"style":130},[277],{"type":18,"value":205},{"type":13,"tag":38,"props":279,"children":280},{"style":56},[281],{"type":18,"value":210},{"type":13,"tag":38,"props":283,"children":284},{"class":40,"line":121},[285,290,294,299,304,309,314,320],{"type":13,"tag":38,"props":286,"children":287},{"style":56},[288],{"type":18,"value":289}," pipeline_cache_uuid",{"type":13,"tag":38,"props":291,"children":292},{"style":45},[293],{"type":18,"value":200},{"type":13,"tag":38,"props":295,"children":296},{"style":45},[297],{"type":18,"value":298}," *const",{"type":13,"tag":38,"props":300,"children":301},{"style":56},[302],{"type":18,"value":303}," [",{"type":13,"tag":38,"props":305,"children":306},{"style":130},[307],{"type":18,"value":308},"u8",{"type":13,"tag":38,"props":310,"children":311},{"style":56},[312],{"type":18,"value":313}," ; ",{"type":13,"tag":38,"props":315,"children":317},{"style":316},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[318],{"type":18,"value":319},"UUID_SIZE",{"type":13,"tag":38,"props":321,"children":322},{"style":56},[323],{"type":18,"value":324},"],\n",{"type":13,"tag":38,"props":326,"children":327},{"class":40,"line":141},[328],{"type":13,"tag":38,"props":329,"children":330},{"style":56},[331],{"type":18,"value":332},"}\n",{"type":13,"tag":334,"props":335,"children":336},"ul",{},[337,349,376,401,423],{"type":13,"tag":338,"props":339,"children":340},"li",{},[341,347],{"type":13,"tag":34,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":346},"headerSize",{"type":18,"value":348}," is the length in bytes of the pipeline cache header.",{"type":13,"tag":338,"props":350,"children":351},{},[352,358,360,367,369,374],{"type":13,"tag":34,"props":353,"children":355},{"className":354},[],[356],{"type":18,"value":357},"headerVersion",{"type":18,"value":359}," is a ",{"type":13,"tag":361,"props":362,"children":364},"a",{"href":363},"/man/VkPipelineCacheHeaderVersion",[365],{"type":18,"value":366},"VkPipelineCacheHeaderVersion",{"type":18,"value":368}," value\nspecifying the version of the header.\nA consumer of the pipeline cache ",{"type":13,"tag":370,"props":371,"children":373},"normative",{"type":372},"should",[],{"type":18,"value":375}," use the cache version to\ninterpret the remainder of the cache header.",{"type":13,"tag":338,"props":377,"children":378},{},[379,385,387,393,394,399],{"type":13,"tag":34,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":384},"vendorID",{"type":18,"value":386}," is the ",{"type":13,"tag":34,"props":388,"children":390},{"className":389},[],[391],{"type":18,"value":392},"VkPhysicalDeviceProperties",{"type":18,"value":232},{"type":13,"tag":34,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":384},{"type":18,"value":400},"\nof the implementation.",{"type":13,"tag":338,"props":402,"children":403},{},[404,410,411,416,417,422],{"type":13,"tag":34,"props":405,"children":407},{"className":406},[],[408],{"type":18,"value":409},"deviceID",{"type":18,"value":386},{"type":13,"tag":34,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":392},{"type":18,"value":232},{"type":13,"tag":34,"props":418,"children":420},{"className":419},[],[421],{"type":18,"value":409},{"type":18,"value":400},{"type":13,"tag":338,"props":424,"children":425},{},[426,432,434,439,440,445],{"type":13,"tag":34,"props":427,"children":429},{"className":428},[],[430],{"type":18,"value":431},"pipelineCacheUUID",{"type":18,"value":433}," is the\n",{"type":13,"tag":34,"props":435,"children":437},{"className":436},[],[438],{"type":18,"value":392},{"type":18,"value":232},{"type":13,"tag":34,"props":441,"children":443},{"className":442},[],[444],{"type":18,"value":431},{"type":18,"value":446}," of the\nimplementation.",{"type":13,"tag":14,"props":448,"children":449},{},[450],{"type":18,"value":451},"Unlike most structures declared by the Vulkan API, all fields of this\nstructure are written with the least significant byte first, regardless of\nhost byte-order.",{"type":13,"tag":14,"props":453,"children":454},{},[455,457,461],{"type":18,"value":456},"The C language specification does not define the packing of structure\nmembers.\nThis layout assumes tight structure member packing, with members laid out in\nthe order listed in the structure, and the intended size of the structure is\n32 bytes.\nIf a compiler produces code that diverges from that pattern, applications\n",{"type":13,"tag":370,"props":458,"children":460},{"type":459},"must",[],{"type":18,"value":462}," employ another method to set values at the correct offsets.",{"type":13,"tag":464,"props":465,"children":467},"validity-group",{"name":466},"Valid Usage",[468,488,512],{"type":13,"tag":469,"props":470,"children":472},"validity-field",{"name":471},"VUID-VkPipelineCacheHeaderVersionOne-headerSize-04967",[473],{"type":13,"tag":14,"props":474,"children":475},{},[476,481,483,486],{"type":13,"tag":34,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":346},{"type":18,"value":482}," ",{"type":13,"tag":370,"props":484,"children":485},{"type":459},[],{"type":18,"value":487}," be 32",{"type":13,"tag":469,"props":489,"children":491},{"name":490},"VUID-VkPipelineCacheHeaderVersionOne-headerVersion-04968",[492],{"type":13,"tag":14,"props":493,"children":494},{},[495,500,501,504,506],{"type":13,"tag":34,"props":496,"children":498},{"className":497},[],[499],{"type":18,"value":357},{"type":18,"value":482},{"type":13,"tag":370,"props":502,"children":503},{"type":459},[],{"type":18,"value":505}," be ",{"type":13,"tag":34,"props":507,"children":509},{"className":508},[],[510],{"type":18,"value":511},"VK_PIPELINE_CACHE_HEADER_VERSION_ONE",{"type":13,"tag":469,"props":513,"children":515},{"name":514},"VUID-VkPipelineCacheHeaderVersionOne-headerSize-08990",[516],{"type":13,"tag":14,"props":517,"children":518},{},[519,524,525,528],{"type":13,"tag":34,"props":520,"children":522},{"className":521},[],[523],{"type":18,"value":346},{"type":18,"value":482},{"type":13,"tag":370,"props":526,"children":527},{"type":459},[],{"type":18,"value":529}," not exceed the size of the pipeline cache",{"type":13,"tag":464,"props":531,"children":533},{"name":532},"Valid Usage (Implicit)",[534],{"type":13,"tag":469,"props":535,"children":537},{"name":536},"VUID-VkPipelineCacheHeaderVersionOne-headerVersion-parameter",[538],{"type":13,"tag":14,"props":539,"children":540},{},[541,546,547,550,552,556],{"type":13,"tag":34,"props":542,"children":544},{"className":543},[],[545],{"type":18,"value":357},{"type":18,"value":482},{"type":13,"tag":370,"props":548,"children":549},{"type":459},[],{"type":18,"value":551}," be a valid ",{"type":13,"tag":361,"props":553,"children":554},{"href":363},[555],{"type":18,"value":366},{"type":18,"value":557}," value",{"type":13,"tag":559,"props":560,"children":561},"style",{},[562],{"type":18,"value":563},"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":31,"searchDepth":62,"depth":62,"links":565},[],"markdown",1725732577142]