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