[{"data":1,"prerenderedAt":721},["ShallowReactive",2],{"Z1vTbVRvzm":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":720,"_id":4},"vkGetPipelineExecutablePropertiesKHR","Get the executables associated with a pipeline","VK_KHR_pipeline_executable_properties","protos",[],{"type":10,"children":11,"toc":718},"root",[12,20,357,422,506,570,712],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","When a pipeline is created, its state and shaders are compiled into zero or\nmore device-specific executables, which are used when executing commands\nagainst that pipeline.\nTo query the properties of these pipeline executables, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,149],{"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","VkResult vkGetPipelineExecutablePropertiesKHR(\n VkDevice device,\n const VkPipelineInfoKHR* pPipelineInfo,\n uint32_t* pExecutableCount,\n VkPipelineExecutablePropertiesKHR* pProperties);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,108,126],{"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:#1F2328;--shiki-dark:#E6EDF3",[47],{"type":18,"value":48},"VkResult ",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":4},{"type":13,"tag":38,"props":55,"children":56},{"style":45},[57],{"type":18,"value":58},"(\n",{"type":13,"tag":38,"props":60,"children":62},{"class":40,"line":61},2,[63,68,74],{"type":13,"tag":38,"props":64,"children":65},{"style":45},[66],{"type":18,"value":67}," VkDevice ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"device",{"type":13,"tag":38,"props":75,"children":76},{"style":45},[77],{"type":18,"value":78},",\n",{"type":13,"tag":38,"props":80,"children":82},{"class":40,"line":81},3,[83,89,94,99,104],{"type":13,"tag":38,"props":84,"children":86},{"style":85},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[87],{"type":18,"value":88}," const",{"type":13,"tag":38,"props":90,"children":91},{"style":45},[92],{"type":18,"value":93}," VkPipelineInfoKHR",{"type":13,"tag":38,"props":95,"children":96},{"style":85},[97],{"type":18,"value":98},"*",{"type":13,"tag":38,"props":100,"children":101},{"style":70},[102],{"type":18,"value":103}," pPipelineInfo",{"type":13,"tag":38,"props":105,"children":106},{"style":45},[107],{"type":18,"value":78},{"type":13,"tag":38,"props":109,"children":111},{"class":40,"line":110},4,[112,117,122],{"type":13,"tag":38,"props":113,"children":114},{"style":85},[115],{"type":18,"value":116}," uint32_t*",{"type":13,"tag":38,"props":118,"children":119},{"style":70},[120],{"type":18,"value":121}," pExecutableCount",{"type":13,"tag":38,"props":123,"children":124},{"style":45},[125],{"type":18,"value":78},{"type":13,"tag":38,"props":127,"children":129},{"class":40,"line":128},5,[130,135,139,144],{"type":13,"tag":38,"props":131,"children":132},{"style":45},[133],{"type":18,"value":134}," VkPipelineExecutablePropertiesKHR",{"type":13,"tag":38,"props":136,"children":137},{"style":85},[138],{"type":18,"value":98},{"type":13,"tag":38,"props":140,"children":141},{"style":70},[142],{"type":18,"value":143}," pProperties",{"type":13,"tag":38,"props":145,"children":146},{"style":45},[147],{"type":18,"value":148},");\n",{"type":13,"tag":25,"props":150,"children":155},{"className":151,"code":152,"filename":153,"language":154,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_pipeline_executable_properties_khr(\n device: crate :: vk :: vk::Device,\n p_pipeline_info: *const vk::PipelineInfoKHR,\n p_executable_count: *mut u32,\n p_properties: *mut vk::PipelineExecutablePropertiesKHR,\n) -> vk::Result;\n","Rust","rs",[156],{"type":13,"tag":34,"props":157,"children":158},{"__ignoreMap":31},[159,181,232,266,292,325],{"type":13,"tag":38,"props":160,"children":161},{"class":40,"line":41},[162,167,172,177],{"type":13,"tag":38,"props":163,"children":164},{"style":85},[165],{"type":18,"value":166},"pub",{"type":13,"tag":38,"props":168,"children":169},{"style":85},[170],{"type":18,"value":171}," fn",{"type":13,"tag":38,"props":173,"children":174},{"style":51},[175],{"type":18,"value":176}," get_pipeline_executable_properties_khr",{"type":13,"tag":38,"props":178,"children":179},{"style":45},[180],{"type":18,"value":58},{"type":13,"tag":38,"props":182,"children":183},{"class":40,"line":61},[184,189,194,199,204,209,214,219,223,228],{"type":13,"tag":38,"props":185,"children":186},{"style":45},[187],{"type":18,"value":188}," device",{"type":13,"tag":38,"props":190,"children":191},{"style":85},[192],{"type":18,"value":193},":",{"type":13,"tag":38,"props":195,"children":196},{"style":85},[197],{"type":18,"value":198}," crate",{"type":13,"tag":38,"props":200,"children":201},{"style":85},[202],{"type":18,"value":203}," ::",{"type":13,"tag":38,"props":205,"children":206},{"style":45},[207],{"type":18,"value":208}," vk ",{"type":13,"tag":38,"props":210,"children":211},{"style":85},[212],{"type":18,"value":213},"::",{"type":13,"tag":38,"props":215,"children":216},{"style":70},[217],{"type":18,"value":218}," vk",{"type":13,"tag":38,"props":220,"children":221},{"style":85},[222],{"type":18,"value":213},{"type":13,"tag":38,"props":224,"children":225},{"style":70},[226],{"type":18,"value":227},"Device",{"type":13,"tag":38,"props":229,"children":230},{"style":45},[231],{"type":18,"value":78},{"type":13,"tag":38,"props":233,"children":234},{"class":40,"line":81},[235,240,244,249,253,257,262],{"type":13,"tag":38,"props":236,"children":237},{"style":45},[238],{"type":18,"value":239}," p_pipeline_info",{"type":13,"tag":38,"props":241,"children":242},{"style":85},[243],{"type":18,"value":193},{"type":13,"tag":38,"props":245,"children":246},{"style":85},[247],{"type":18,"value":248}," *const",{"type":13,"tag":38,"props":250,"children":251},{"style":70},[252],{"type":18,"value":218},{"type":13,"tag":38,"props":254,"children":255},{"style":85},[256],{"type":18,"value":213},{"type":13,"tag":38,"props":258,"children":259},{"style":70},[260],{"type":18,"value":261},"PipelineInfoKHR",{"type":13,"tag":38,"props":263,"children":264},{"style":45},[265],{"type":18,"value":78},{"type":13,"tag":38,"props":267,"children":268},{"class":40,"line":110},[269,274,278,283,288],{"type":13,"tag":38,"props":270,"children":271},{"style":45},[272],{"type":18,"value":273}," p_executable_count",{"type":13,"tag":38,"props":275,"children":276},{"style":85},[277],{"type":18,"value":193},{"type":13,"tag":38,"props":279,"children":280},{"style":85},[281],{"type":18,"value":282}," *mut",{"type":13,"tag":38,"props":284,"children":285},{"style":70},[286],{"type":18,"value":287}," u32",{"type":13,"tag":38,"props":289,"children":290},{"style":45},[291],{"type":18,"value":78},{"type":13,"tag":38,"props":293,"children":294},{"class":40,"line":128},[295,300,304,308,312,316,321],{"type":13,"tag":38,"props":296,"children":297},{"style":45},[298],{"type":18,"value":299}," p_properties",{"type":13,"tag":38,"props":301,"children":302},{"style":85},[303],{"type":18,"value":193},{"type":13,"tag":38,"props":305,"children":306},{"style":85},[307],{"type":18,"value":282},{"type":13,"tag":38,"props":309,"children":310},{"style":70},[311],{"type":18,"value":218},{"type":13,"tag":38,"props":313,"children":314},{"style":85},[315],{"type":18,"value":213},{"type":13,"tag":38,"props":317,"children":318},{"style":70},[319],{"type":18,"value":320},"PipelineExecutablePropertiesKHR",{"type":13,"tag":38,"props":322,"children":323},{"style":45},[324],{"type":18,"value":78},{"type":13,"tag":38,"props":326,"children":328},{"class":40,"line":327},6,[329,334,339,343,347,352],{"type":13,"tag":38,"props":330,"children":331},{"style":45},[332],{"type":18,"value":333},") ",{"type":13,"tag":38,"props":335,"children":336},{"style":85},[337],{"type":18,"value":338},"->",{"type":13,"tag":38,"props":340,"children":341},{"style":70},[342],{"type":18,"value":218},{"type":13,"tag":38,"props":344,"children":345},{"style":85},[346],{"type":18,"value":213},{"type":13,"tag":38,"props":348,"children":349},{"style":70},[350],{"type":18,"value":351},"Result",{"type":13,"tag":38,"props":353,"children":354},{"style":45},[355],{"type":18,"value":356},";\n",{"type":13,"tag":358,"props":359,"children":360},"ul",{},[361,372,383,394],{"type":13,"tag":362,"props":363,"children":364},"li",{},[365,370],{"type":13,"tag":34,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":73},{"type":18,"value":371}," is the device that created the pipeline.",{"type":13,"tag":362,"props":373,"children":374},{},[375,381],{"type":13,"tag":34,"props":376,"children":378},{"className":377},[],[379],{"type":18,"value":380},"pPipelineInfo",{"type":18,"value":382}," describes the pipeline being queried.",{"type":13,"tag":362,"props":384,"children":385},{},[386,392],{"type":13,"tag":34,"props":387,"children":389},{"className":388},[],[390],{"type":18,"value":391},"pExecutableCount",{"type":18,"value":393}," is a pointer to an integer related to the number\nof pipeline executables available or queried, as described below.",{"type":13,"tag":362,"props":395,"children":396},{},[397,403,405,411,413,420],{"type":13,"tag":34,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":402},"pProperties",{"type":18,"value":404}," is either ",{"type":13,"tag":34,"props":406,"children":408},{"className":407},[],[409],{"type":18,"value":410},"NULL",{"type":18,"value":412}," or a pointer to an array of\n",{"type":13,"tag":414,"props":415,"children":417},"a",{"href":416},"/man/VkPipelineExecutablePropertiesKHR",[418],{"type":18,"value":419},"VkPipelineExecutablePropertiesKHR",{"type":18,"value":421}," structures.",{"type":13,"tag":14,"props":423,"children":424},{},[425,427,432,434,439,441,446,448,453,455,460,462,467,469,474,476,481,483,488,490,496,498,504],{"type":18,"value":426},"If ",{"type":13,"tag":34,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":402},{"type":18,"value":433}," is ",{"type":13,"tag":34,"props":435,"children":437},{"className":436},[],[438],{"type":18,"value":410},{"type":18,"value":440},", then the number of pipeline executables\nassociated with the pipeline is returned in ",{"type":13,"tag":34,"props":442,"children":444},{"className":443},[],[445],{"type":18,"value":391},{"type":18,"value":447},".\nOtherwise, ",{"type":13,"tag":34,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":391},{"type":18,"value":454}," ",{"type":13,"tag":456,"props":457,"children":459},"normative",{"type":458},"must",[],{"type":18,"value":461}," point to a variable set by the\napplication to the number of elements in the ",{"type":13,"tag":34,"props":463,"children":465},{"className":464},[],[466],{"type":18,"value":402},{"type":18,"value":468}," array, and on\nreturn the variable is overwritten with the number of structures actually\nwritten to ",{"type":13,"tag":34,"props":470,"children":472},{"className":471},[],[473],{"type":18,"value":402},{"type":18,"value":475},".\nIf ",{"type":13,"tag":34,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":391},{"type":18,"value":482}," is less than the number of pipeline executables\nassociated with the pipeline, at most ",{"type":13,"tag":34,"props":484,"children":486},{"className":485},[],[487],{"type":18,"value":391},{"type":18,"value":489}," structures will\nbe written, and ",{"type":13,"tag":34,"props":491,"children":493},{"className":492},[],[494],{"type":18,"value":495},"VK_INCOMPLETE",{"type":18,"value":497}," will be returned instead of\n",{"type":13,"tag":34,"props":499,"children":501},{"className":500},[],[502],{"type":18,"value":503},"VK_SUCCESS",{"type":18,"value":505},", to indicate that not all the available properties were\nreturned.",{"type":13,"tag":507,"props":508,"children":510},"validity-group",{"name":509},"Valid Usage",[511,538],{"type":13,"tag":512,"props":513,"children":515},"validity-field",{"name":514},"VUID-vkGetPipelineExecutablePropertiesKHR-pipelineExecutableInfo-03270",[516],{"type":13,"tag":14,"props":517,"children":518},{},[519,521,531,533,536],{"type":18,"value":520},"The ",{"type":13,"tag":414,"props":522,"children":524},{"href":523},"/man/VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR#features-pipelineExecutableInfo",[525],{"type":13,"tag":34,"props":526,"children":528},{"className":527},[],[529],{"type":18,"value":530},"pipelineExecutableInfo",{"type":18,"value":532},"\nfeature ",{"type":13,"tag":456,"props":534,"children":535},{"type":458},[],{"type":18,"value":537}," be enabled",{"type":13,"tag":512,"props":539,"children":541},{"name":540},"VUID-vkGetPipelineExecutablePropertiesKHR-pipeline-03271",[542],{"type":13,"tag":14,"props":543,"children":544},{},[545,546,552,554,559,560,563,565],{"type":18,"value":520},{"type":13,"tag":34,"props":547,"children":549},{"className":548},[],[550],{"type":18,"value":551},"pipeline",{"type":18,"value":553}," member of ",{"type":13,"tag":34,"props":555,"children":557},{"className":556},[],[558],{"type":18,"value":380},{"type":18,"value":454},{"type":13,"tag":456,"props":561,"children":562},{"type":458},[],{"type":18,"value":564}," have been created\nwith ",{"type":13,"tag":34,"props":566,"children":568},{"className":567},[],[569],{"type":18,"value":73},{"type":13,"tag":507,"props":571,"children":573},{"name":572},"Valid Usage (Implicit)",[574,600,626,652],{"type":13,"tag":512,"props":575,"children":577},{"name":576},"VUID-vkGetPipelineExecutablePropertiesKHR-device-parameter",[578],{"type":13,"tag":14,"props":579,"children":580},{},[581,586,587,590,592,598],{"type":13,"tag":34,"props":582,"children":584},{"className":583},[],[585],{"type":18,"value":73},{"type":18,"value":454},{"type":13,"tag":456,"props":588,"children":589},{"type":458},[],{"type":18,"value":591}," be a valid ",{"type":13,"tag":414,"props":593,"children":595},{"href":594},"/man/VkDevice",[596],{"type":18,"value":597},"VkDevice",{"type":18,"value":599}," handle",{"type":13,"tag":512,"props":601,"children":603},{"name":602},"VUID-vkGetPipelineExecutablePropertiesKHR-pPipelineInfo-parameter",[604],{"type":13,"tag":14,"props":605,"children":606},{},[607,612,613,616,618,624],{"type":13,"tag":34,"props":608,"children":610},{"className":609},[],[611],{"type":18,"value":380},{"type":18,"value":454},{"type":13,"tag":456,"props":614,"children":615},{"type":458},[],{"type":18,"value":617}," be a valid pointer to a valid ",{"type":13,"tag":414,"props":619,"children":621},{"href":620},"/man/VkPipelineInfoKHR",[622],{"type":18,"value":623},"VkPipelineInfoKHR",{"type":18,"value":625}," structure",{"type":13,"tag":512,"props":627,"children":629},{"name":628},"VUID-vkGetPipelineExecutablePropertiesKHR-pExecutableCount-parameter",[630],{"type":13,"tag":14,"props":631,"children":632},{},[633,638,639,642,644,650],{"type":13,"tag":34,"props":634,"children":636},{"className":635},[],[637],{"type":18,"value":391},{"type":18,"value":454},{"type":13,"tag":456,"props":640,"children":641},{"type":458},[],{"type":18,"value":643}," be a valid pointer to a ",{"type":13,"tag":34,"props":645,"children":647},{"className":646},[],[648],{"type":18,"value":649},"uint32_t",{"type":18,"value":651}," value",{"type":13,"tag":512,"props":653,"children":655},{"name":654},"VUID-vkGetPipelineExecutablePropertiesKHR-pProperties-parameter",[656],{"type":13,"tag":14,"props":657,"children":658},{},[659,661,666,668,674,676,681,682,687,689,694,695,698,700,705,706,710],{"type":18,"value":660},"If the value referenced by ",{"type":13,"tag":34,"props":662,"children":664},{"className":663},[],[665],{"type":18,"value":391},{"type":18,"value":667}," is not ",{"type":13,"tag":34,"props":669,"children":671},{"className":670},[],[672],{"type":18,"value":673},"0",{"type":18,"value":675},", and ",{"type":13,"tag":34,"props":677,"children":679},{"className":678},[],[680],{"type":18,"value":402},{"type":18,"value":667},{"type":13,"tag":34,"props":683,"children":685},{"className":684},[],[686],{"type":18,"value":410},{"type":18,"value":688},", ",{"type":13,"tag":34,"props":690,"children":692},{"className":691},[],[693],{"type":18,"value":402},{"type":18,"value":454},{"type":13,"tag":456,"props":696,"children":697},{"type":458},[],{"type":18,"value":699}," be a valid pointer to an array of ",{"type":13,"tag":34,"props":701,"children":703},{"className":702},[],[704],{"type":18,"value":391},{"type":18,"value":454},{"type":13,"tag":414,"props":707,"children":708},{"href":416},[709],{"type":18,"value":419},{"type":18,"value":711}," structures",{"type":13,"tag":713,"props":714,"children":715},"style",{},[716],{"type":18,"value":717},"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":61,"depth":61,"links":719},[],"markdown",1725732621060]