[{"data":1,"prerenderedAt":529},["ShallowReactive",2],{"$fERE4lFDAVczeMTgCwFtntj_HoIp1xKb1j0e7UFXQqtY":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":528,"_id":4},"vkGetDeviceFaultDebugInfoKHR","Retrieve vendor-specific crash dump data for the specified logical device","VK_KHR_device_fault","protos",[],{"type":10,"children":11,"toc":526},"root",[12,20,234,268,297,330,348,399,435,465,520],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To retrieve a vendor-specific binary crash dump call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,104],{"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 vkGetDeviceFaultDebugInfoKHR(\n VkDevice device,\n VkDeviceFaultDebugInfoKHR* pDebugInfo);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79],{"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,88,94,99],{"type":13,"tag":38,"props":84,"children":85},{"style":45},[86],{"type":18,"value":87}," VkDeviceFaultDebugInfoKHR",{"type":13,"tag":38,"props":89,"children":91},{"style":90},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[92],{"type":18,"value":93},"*",{"type":13,"tag":38,"props":95,"children":96},{"style":70},[97],{"type":18,"value":98}," pDebugInfo",{"type":13,"tag":38,"props":100,"children":101},{"style":45},[102],{"type":18,"value":103},");\n",{"type":13,"tag":25,"props":105,"children":110},{"className":106,"code":107,"filename":108,"language":109,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_device_fault_debug_info_khr(\n device: vk::Device,\n p_debug_info: *mut vk::DeviceFaultDebugInfoKHR,\n) -> vk::Result;\n","Rust","rs",[111],{"type":13,"tag":34,"props":112,"children":113},{"__ignoreMap":31},[114,136,168,202],{"type":13,"tag":38,"props":115,"children":116},{"class":40,"line":41},[117,122,127,132],{"type":13,"tag":38,"props":118,"children":119},{"style":90},[120],{"type":18,"value":121},"pub",{"type":13,"tag":38,"props":123,"children":124},{"style":90},[125],{"type":18,"value":126}," fn",{"type":13,"tag":38,"props":128,"children":129},{"style":51},[130],{"type":18,"value":131}," get_device_fault_debug_info_khr",{"type":13,"tag":38,"props":133,"children":134},{"style":45},[135],{"type":18,"value":58},{"type":13,"tag":38,"props":137,"children":138},{"class":40,"line":61},[139,144,149,154,159,164],{"type":13,"tag":38,"props":140,"children":141},{"style":45},[142],{"type":18,"value":143}," device",{"type":13,"tag":38,"props":145,"children":146},{"style":90},[147],{"type":18,"value":148},":",{"type":13,"tag":38,"props":150,"children":151},{"style":70},[152],{"type":18,"value":153}," vk",{"type":13,"tag":38,"props":155,"children":156},{"style":90},[157],{"type":18,"value":158},"::",{"type":13,"tag":38,"props":160,"children":161},{"style":70},[162],{"type":18,"value":163},"Device",{"type":13,"tag":38,"props":165,"children":166},{"style":45},[167],{"type":18,"value":78},{"type":13,"tag":38,"props":169,"children":170},{"class":40,"line":81},[171,176,180,185,189,193,198],{"type":13,"tag":38,"props":172,"children":173},{"style":45},[174],{"type":18,"value":175}," p_debug_info",{"type":13,"tag":38,"props":177,"children":178},{"style":90},[179],{"type":18,"value":148},{"type":13,"tag":38,"props":181,"children":182},{"style":90},[183],{"type":18,"value":184}," *mut",{"type":13,"tag":38,"props":186,"children":187},{"style":70},[188],{"type":18,"value":153},{"type":13,"tag":38,"props":190,"children":191},{"style":90},[192],{"type":18,"value":158},{"type":13,"tag":38,"props":194,"children":195},{"style":70},[196],{"type":18,"value":197},"DeviceFaultDebugInfoKHR",{"type":13,"tag":38,"props":199,"children":200},{"style":45},[201],{"type":18,"value":78},{"type":13,"tag":38,"props":203,"children":205},{"class":40,"line":204},4,[206,211,216,220,224,229],{"type":13,"tag":38,"props":207,"children":208},{"style":45},[209],{"type":18,"value":210},") ",{"type":13,"tag":38,"props":212,"children":213},{"style":90},[214],{"type":18,"value":215},"->",{"type":13,"tag":38,"props":217,"children":218},{"style":70},[219],{"type":18,"value":153},{"type":13,"tag":38,"props":221,"children":222},{"style":90},[223],{"type":18,"value":158},{"type":13,"tag":38,"props":225,"children":226},{"style":70},[227],{"type":18,"value":228},"Result",{"type":13,"tag":38,"props":230,"children":231},{"style":45},[232],{"type":18,"value":233},";\n",{"type":13,"tag":235,"props":236,"children":237},"ul",{},[238,249],{"type":13,"tag":239,"props":240,"children":241},"li",{},[242,247],{"type":13,"tag":34,"props":243,"children":245},{"className":244},[],[246],{"type":18,"value":73},{"type":18,"value":248}," is the logical device from which to query the crash dump.",{"type":13,"tag":239,"props":250,"children":251},{},[252,258,260,266],{"type":13,"tag":34,"props":253,"children":255},{"className":254},[],[256],{"type":18,"value":257},"pDebugInfo",{"type":18,"value":259}," is a pointer to a ",{"type":13,"tag":34,"props":261,"children":263},{"className":262},[],[264],{"type":18,"value":265},"VkDeviceFaultDebugInfoKHR",{"type":18,"value":267},"\nstructure which will be populated with the vendor binary data crash dump\nbinary, as described below.",{"type":13,"tag":14,"props":269,"children":270},{},[271,273,279,281,287,289,295],{"type":18,"value":272},"If ",{"type":13,"tag":34,"props":274,"children":276},{"className":275},[],[277],{"type":18,"value":278},"pDebugInfo→pVendorBinaryData",{"type":18,"value":280}," is ",{"type":13,"tag":34,"props":282,"children":284},{"className":283},[],[285],{"type":18,"value":286},"NULL",{"type":18,"value":288},", then the size of any\nvendor-specific binary crash dump is returned in\n",{"type":13,"tag":34,"props":290,"children":292},{"className":291},[],[293],{"type":18,"value":294},"pDebugInfo→vendorBinarySize",{"type":18,"value":296},".",{"type":13,"tag":14,"props":298,"children":299},{},[300,302,307,309,314,316,321,323,328],{"type":18,"value":301},"If the ",{"type":13,"tag":34,"props":303,"children":305},{"className":304},[],[306],{"type":18,"value":278},{"type":18,"value":308}," is not ",{"type":13,"tag":34,"props":310,"children":312},{"className":311},[],[313],{"type":18,"value":286},{"type":18,"value":315}," then it ",{"type":13,"tag":317,"props":318,"children":320},"normative",{"type":319},"must",[],{"type":18,"value":322}," point\nto a buffer of size ",{"type":13,"tag":34,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":294},{"type":18,"value":329}," bytes.",{"type":13,"tag":14,"props":331,"children":332},{},[333,335,340,342,347],{"type":18,"value":334},"On return, ",{"type":13,"tag":34,"props":336,"children":338},{"className":337},[],[339],{"type":18,"value":294},{"type":18,"value":341}," will be overwritten with the\nnumber of bytes actually written to the ",{"type":13,"tag":34,"props":343,"children":345},{"className":344},[],[346],{"type":18,"value":278},{"type":18,"value":296},{"type":13,"tag":14,"props":349,"children":350},{},[351,352,358,359,364,366,372,374,379,381,384,386,391,393,398],{"type":18,"value":272},{"type":13,"tag":34,"props":353,"children":355},{"className":354},[],[356],{"type":18,"value":357},"pDebugInfo→vendorBinaryData",{"type":18,"value":308},{"type":13,"tag":34,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":286},{"type":18,"value":365},", then subsequent calls\nto ",{"type":13,"tag":367,"props":368,"children":370},"a",{"href":369},"/man/vkGetDeviceFaultDebugInfoKHR",[371],{"type":18,"value":4},{"type":18,"value":373}," for the same ",{"type":13,"tag":34,"props":375,"children":377},{"className":376},[],[378],{"type":18,"value":73},{"type":18,"value":380}," ",{"type":13,"tag":317,"props":382,"children":383},{"type":319},[],{"type":18,"value":385}," return\nidentical binary values in the ",{"type":13,"tag":34,"props":387,"children":389},{"className":388},[],[390],{"type":18,"value":278},{"type":18,"value":392}," buffer up\nto the limit defined by ",{"type":13,"tag":34,"props":394,"children":396},{"className":395},[],[397],{"type":18,"value":294},{"type":18,"value":296},{"type":13,"tag":14,"props":400,"children":401},{},[402,403,409,411,414,416,421,423,426,428,433],{"type":18,"value":301},{"type":13,"tag":367,"props":404,"children":406},{"href":405},"/man/VkPhysicalDeviceFaultFeaturesKHR#features-deviceFaultVendorBinary",[407],{"type":18,"value":408},"vendor-specific crash dumps",{"type":18,"value":410},"\nfeature is not enabled, then implementations ",{"type":13,"tag":317,"props":412,"children":413},{"type":319},[],{"type":18,"value":415}," set\n",{"type":13,"tag":34,"props":417,"children":419},{"className":418},[],[420],{"type":18,"value":257},{"type":18,"value":422},"->vendorBinarySize to zero and ",{"type":13,"tag":317,"props":424,"children":425},{"type":319},[],{"type":18,"value":427}," not modify\n",{"type":13,"tag":34,"props":429,"children":431},{"className":430},[],[432],{"type":18,"value":257},{"type":18,"value":434},"->pVendorBinaryData.",{"type":13,"tag":436,"props":437,"children":439},"validity-group",{"name":438},"Valid Usage",[440],{"type":13,"tag":441,"props":442,"children":444},"validity-field",{"name":443},"VUID-vkGetDeviceFaultDebugInfoKHR-device-12383",[445],{"type":13,"tag":14,"props":446,"children":447},{},[448,453,454,457,459],{"type":13,"tag":34,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":73},{"type":18,"value":380},{"type":13,"tag":317,"props":455,"children":456},{"type":319},[],{"type":18,"value":458}," be ",{"type":13,"tag":367,"props":460,"children":462},{"href":461},"/chapters/devsandqueues#devsandqueues-lost-device",[463],{"type":18,"value":464},"lost",{"type":13,"tag":436,"props":466,"children":468},{"name":467},"Valid Usage (Implicit)",[469,495],{"type":13,"tag":441,"props":470,"children":472},{"name":471},"VUID-vkGetDeviceFaultDebugInfoKHR-device-parameter",[473],{"type":13,"tag":14,"props":474,"children":475},{},[476,481,482,485,487,493],{"type":13,"tag":34,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":73},{"type":18,"value":380},{"type":13,"tag":317,"props":483,"children":484},{"type":319},[],{"type":18,"value":486}," be a valid ",{"type":13,"tag":367,"props":488,"children":490},{"href":489},"/man/VkDevice",[491],{"type":18,"value":492},"VkDevice",{"type":18,"value":494}," handle",{"type":13,"tag":441,"props":496,"children":498},{"name":497},"VUID-vkGetDeviceFaultDebugInfoKHR-pDebugInfo-parameter",[499],{"type":13,"tag":14,"props":500,"children":501},{},[502,507,508,511,513,518],{"type":13,"tag":34,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":257},{"type":18,"value":380},{"type":13,"tag":317,"props":509,"children":510},{"type":319},[],{"type":18,"value":512}," be a valid pointer to a ",{"type":13,"tag":367,"props":514,"children":516},{"href":515},"/man/VkDeviceFaultDebugInfoKHR",[517],{"type":18,"value":265},{"type":18,"value":519}," structure",{"type":13,"tag":521,"props":522,"children":523},"style",{},[524],{"type":18,"value":525},"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":527},[],"markdown",1773997302281]