[{"data":1,"prerenderedAt":715},["ShallowReactive",2],{"AgeVwQfhq4":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":714,"_id":4},"VkDeviceFaultInfoEXT","Structure specifying device fault information","VK_EXT_device_fault","structs",[],{"type":10,"children":11,"toc":712},"root",[12,28,389,563,581,599,654,706],{"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,169],{"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 VkDeviceFaultInfoEXT {\n VkStructureType sType;\n void* pNext;\n char description[VK_MAX_DESCRIPTION_SIZE];\n VkDeviceFaultAddressInfoEXT* pAddressInfos;\n VkDeviceFaultVendorInfoEXT* pVendorInfos;\n void* pVendorBinaryData;\n} VkDeviceFaultInfoEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,110,129,147,160],{"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}," VkDeviceFaultInfoEXT {\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],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94,99,105],{"type":13,"tag":45,"props":95,"children":96},{"style":52},[97],{"type":18,"value":98}," char",{"type":13,"tag":45,"props":100,"children":102},{"style":101},"--shiki-default:#953800;--shiki-dark:#FFA657",[103],{"type":18,"value":104}," description",{"type":13,"tag":45,"props":106,"children":107},{"style":63},[108],{"type":18,"value":109},"[VK_MAX_DESCRIPTION_SIZE];\n",{"type":13,"tag":45,"props":111,"children":113},{"class":47,"line":112},5,[114,119,124],{"type":13,"tag":45,"props":115,"children":116},{"style":63},[117],{"type":18,"value":118}," VkDeviceFaultAddressInfoEXT",{"type":13,"tag":45,"props":120,"children":121},{"style":52},[122],{"type":18,"value":123},"*",{"type":13,"tag":45,"props":125,"children":126},{"style":63},[127],{"type":18,"value":128}," pAddressInfos;\n",{"type":13,"tag":45,"props":130,"children":132},{"class":47,"line":131},6,[133,138,142],{"type":13,"tag":45,"props":134,"children":135},{"style":63},[136],{"type":18,"value":137}," VkDeviceFaultVendorInfoEXT",{"type":13,"tag":45,"props":139,"children":140},{"style":52},[141],{"type":18,"value":123},{"type":13,"tag":45,"props":143,"children":144},{"style":63},[145],{"type":18,"value":146}," pVendorInfos;\n",{"type":13,"tag":45,"props":148,"children":150},{"class":47,"line":149},7,[151,155],{"type":13,"tag":45,"props":152,"children":153},{"style":52},[154],{"type":18,"value":84},{"type":13,"tag":45,"props":156,"children":157},{"style":63},[158],{"type":18,"value":159}," pVendorBinaryData;\n",{"type":13,"tag":45,"props":161,"children":163},{"class":47,"line":162},8,[164],{"type":13,"tag":45,"props":165,"children":166},{"style":63},[167],{"type":18,"value":168},"} VkDeviceFaultInfoEXT;\n",{"type":13,"tag":33,"props":170,"children":175},{"className":171,"code":172,"filename":173,"language":174,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DeviceFaultInfoEXT {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n description: *const [c_char ; MAX_DESCRIPTION_SIZE], // Free-form description of the fault\n p_address_infos: *mut vk::DeviceFaultAddressInfoEXT,\n p_vendor_infos: *mut vk::DeviceFaultVendorInfoEXT,\n p_vendor_binary_data: *mut c_void,\n}\n","Rust","rs",[176],{"type":13,"tag":21,"props":177,"children":178},{"__ignoreMap":39},[179,201,234,256,295,328,361,381],{"type":13,"tag":45,"props":180,"children":181},{"class":47,"line":48},[182,187,191,196],{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":186},"pub",{"type":13,"tag":45,"props":188,"children":189},{"style":52},[190],{"type":18,"value":60},{"type":13,"tag":45,"props":192,"children":193},{"style":101},[194],{"type":18,"value":195}," DeviceFaultInfoEXT",{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200}," {\n",{"type":13,"tag":45,"props":202,"children":203},{"class":47,"line":69},[204,209,214,219,224,229],{"type":13,"tag":45,"props":205,"children":206},{"style":63},[207],{"type":18,"value":208}," s_type",{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":213},":",{"type":13,"tag":45,"props":215,"children":216},{"style":101},[217],{"type":18,"value":218}," vk",{"type":13,"tag":45,"props":220,"children":221},{"style":52},[222],{"type":18,"value":223},"::",{"type":13,"tag":45,"props":225,"children":226},{"style":101},[227],{"type":18,"value":228},"StructureType",{"type":13,"tag":45,"props":230,"children":231},{"style":63},[232],{"type":18,"value":233},",\n",{"type":13,"tag":45,"props":235,"children":236},{"class":47,"line":78},[237,242,246,251],{"type":13,"tag":45,"props":238,"children":239},{"style":63},[240],{"type":18,"value":241}," p_next",{"type":13,"tag":45,"props":243,"children":244},{"style":52},[245],{"type":18,"value":213},{"type":13,"tag":45,"props":247,"children":248},{"style":52},[249],{"type":18,"value":250}," *mut",{"type":13,"tag":45,"props":252,"children":253},{"style":63},[254],{"type":18,"value":255}," c_void,\n",{"type":13,"tag":45,"props":257,"children":258},{"class":47,"line":92},[259,264,268,273,278,284,289],{"type":13,"tag":45,"props":260,"children":261},{"style":63},[262],{"type":18,"value":263}," description",{"type":13,"tag":45,"props":265,"children":266},{"style":52},[267],{"type":18,"value":213},{"type":13,"tag":45,"props":269,"children":270},{"style":52},[271],{"type":18,"value":272}," *const",{"type":13,"tag":45,"props":274,"children":275},{"style":63},[276],{"type":18,"value":277}," [c_char ; ",{"type":13,"tag":45,"props":279,"children":281},{"style":280},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[282],{"type":18,"value":283},"MAX_DESCRIPTION_SIZE",{"type":13,"tag":45,"props":285,"children":286},{"style":63},[287],{"type":18,"value":288},"], ",{"type":13,"tag":45,"props":290,"children":292},{"style":291},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[293],{"type":18,"value":294},"// Free-form description of the fault\n",{"type":13,"tag":45,"props":296,"children":297},{"class":47,"line":112},[298,303,307,311,315,319,324],{"type":13,"tag":45,"props":299,"children":300},{"style":63},[301],{"type":18,"value":302}," p_address_infos",{"type":13,"tag":45,"props":304,"children":305},{"style":52},[306],{"type":18,"value":213},{"type":13,"tag":45,"props":308,"children":309},{"style":52},[310],{"type":18,"value":250},{"type":13,"tag":45,"props":312,"children":313},{"style":101},[314],{"type":18,"value":218},{"type":13,"tag":45,"props":316,"children":317},{"style":52},[318],{"type":18,"value":223},{"type":13,"tag":45,"props":320,"children":321},{"style":101},[322],{"type":18,"value":323},"DeviceFaultAddressInfoEXT",{"type":13,"tag":45,"props":325,"children":326},{"style":63},[327],{"type":18,"value":233},{"type":13,"tag":45,"props":329,"children":330},{"class":47,"line":131},[331,336,340,344,348,352,357],{"type":13,"tag":45,"props":332,"children":333},{"style":63},[334],{"type":18,"value":335}," p_vendor_infos",{"type":13,"tag":45,"props":337,"children":338},{"style":52},[339],{"type":18,"value":213},{"type":13,"tag":45,"props":341,"children":342},{"style":52},[343],{"type":18,"value":250},{"type":13,"tag":45,"props":345,"children":346},{"style":101},[347],{"type":18,"value":218},{"type":13,"tag":45,"props":349,"children":350},{"style":52},[351],{"type":18,"value":223},{"type":13,"tag":45,"props":353,"children":354},{"style":101},[355],{"type":18,"value":356},"DeviceFaultVendorInfoEXT",{"type":13,"tag":45,"props":358,"children":359},{"style":63},[360],{"type":18,"value":233},{"type":13,"tag":45,"props":362,"children":363},{"class":47,"line":149},[364,369,373,377],{"type":13,"tag":45,"props":365,"children":366},{"style":63},[367],{"type":18,"value":368}," p_vendor_binary_data",{"type":13,"tag":45,"props":370,"children":371},{"style":52},[372],{"type":18,"value":213},{"type":13,"tag":45,"props":374,"children":375},{"style":52},[376],{"type":18,"value":250},{"type":13,"tag":45,"props":378,"children":379},{"style":63},[380],{"type":18,"value":255},{"type":13,"tag":45,"props":382,"children":383},{"class":47,"line":162},[384],{"type":13,"tag":45,"props":385,"children":386},{"style":63},[387],{"type":18,"value":388},"}\n",{"type":13,"tag":390,"props":391,"children":392},"ul",{},[393,414,433,460,506,530],{"type":13,"tag":394,"props":395,"children":396},"li",{},[397,403,405,412],{"type":13,"tag":21,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":402},"sType",{"type":18,"value":404}," is a ",{"type":13,"tag":406,"props":407,"children":409},"a",{"href":408},"/man/VkStructureType",[410],{"type":18,"value":411},"VkStructureType",{"type":18,"value":413}," value identifying this structure.",{"type":13,"tag":394,"props":415,"children":416},{},[417,423,425,431],{"type":13,"tag":21,"props":418,"children":420},{"className":419},[],[421],{"type":18,"value":422},"pNext",{"type":18,"value":424}," is ",{"type":13,"tag":21,"props":426,"children":428},{"className":427},[],[429],{"type":18,"value":430},"NULL",{"type":18,"value":432}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":394,"props":434,"children":435},{},[436,442,444,450,452,458],{"type":13,"tag":21,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":441},"description",{"type":18,"value":443}," is an array of ",{"type":13,"tag":21,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":449},"VK_MAX_DESCRIPTION_SIZE",{"type":18,"value":451}," ",{"type":13,"tag":21,"props":453,"children":455},{"className":454},[],[456],{"type":18,"value":457},"char",{"type":18,"value":459},"\ncontaining a null-terminated UTF-8 string which is a human readable\ndescription of the fault.",{"type":13,"tag":394,"props":461,"children":462},{},[463,469,470,475,477,483,485,490,492,497,499,504],{"type":13,"tag":21,"props":464,"children":466},{"className":465},[],[467],{"type":18,"value":468},"pAddressInfos",{"type":18,"value":424},{"type":13,"tag":21,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":430},{"type":18,"value":476}," or a pointer to an array of\n",{"type":13,"tag":406,"props":478,"children":480},{"href":479},"/man/VkDeviceFaultAddressInfoEXT",[481],{"type":18,"value":482},"VkDeviceFaultAddressInfoEXT",{"type":18,"value":484}," structures describing either memory\naccesses which ",{"type":13,"tag":486,"props":487,"children":489},"normative",{"type":488},"may",[],{"type":18,"value":491}," have caused a page fault, or describing active\ninstruction pointers at the time of the fault.\nIf not ",{"type":13,"tag":21,"props":493,"children":495},{"className":494},[],[496],{"type":18,"value":430},{"type":18,"value":498},", each element of ",{"type":13,"tag":21,"props":500,"children":502},{"className":501},[],[503],{"type":18,"value":468},{"type":18,"value":505}," describes the a\nbounded region of GPU virtual address space containing either the GPU\nvirtual address accessed, or the value of an active instruction pointer.",{"type":13,"tag":394,"props":507,"children":508},{},[509,515,516,521,522,528],{"type":13,"tag":21,"props":510,"children":512},{"className":511},[],[513],{"type":18,"value":514},"pVendorInfos",{"type":18,"value":424},{"type":13,"tag":21,"props":517,"children":519},{"className":518},[],[520],{"type":18,"value":430},{"type":18,"value":476},{"type":13,"tag":406,"props":523,"children":525},{"href":524},"/man/VkDeviceFaultVendorInfoEXT",[526],{"type":18,"value":527},"VkDeviceFaultVendorInfoEXT",{"type":18,"value":529}," structures describing vendor-specific\nfault information.",{"type":13,"tag":394,"props":531,"children":532},{},[533,539,540,545,547,553,555,561],{"type":13,"tag":21,"props":534,"children":536},{"className":535},[],[537],{"type":18,"value":538},"pVendorBinaryData",{"type":18,"value":424},{"type":13,"tag":21,"props":541,"children":543},{"className":542},[],[544],{"type":18,"value":430},{"type":18,"value":546}," or a pointer to ",{"type":13,"tag":21,"props":548,"children":550},{"className":549},[],[551],{"type":18,"value":552},"vendorBinarySize",{"type":18,"value":554},"\nnumber of bytes of data, which will be populated with a vendor-specific\nbinary crash dump, as described in ",{"type":13,"tag":406,"props":556,"children":558},{"href":557},"/chapters/debugging#vendor-binary-crash-dumps",[559],{"type":18,"value":560},"Vendor\nBinary Crash Dumps",{"type":18,"value":562},".",{"type":13,"tag":14,"props":564,"children":565},{},[566,568,572,574,579],{"type":18,"value":567},"An implementation ",{"type":13,"tag":486,"props":569,"children":571},{"type":570},"should",[],{"type":18,"value":573}," populate as many members of\n",{"type":13,"tag":406,"props":575,"children":577},{"href":576},"/man/VkDeviceFaultInfoEXT",[578],{"type":18,"value":4},{"type":18,"value":580}," as possible, given the information available at\nthe time of the fault and the constraints of the implementation itself.",{"type":13,"tag":14,"props":582,"children":583},{},[584,586,591,593,597],{"type":18,"value":585},"Due to hardware limitations, ",{"type":13,"tag":21,"props":587,"children":589},{"className":588},[],[590],{"type":18,"value":468},{"type":18,"value":592}," describes ranges of GPU\nvirtual address space, rather than precise addresses.\nThe precise memory address accessed or the precise value of the instruction\npointer ",{"type":13,"tag":486,"props":594,"children":596},{"type":595},"must",[],{"type":18,"value":598}," lie within the region described.",{"type":13,"tag":600,"props":601,"children":602},"note",{},[603,615,628],{"type":13,"tag":14,"props":604,"children":605},{},[606,608,613],{"type":18,"value":607},"Each element of ",{"type":13,"tag":21,"props":609,"children":611},{"className":610},[],[612],{"type":18,"value":468},{"type":18,"value":614}," describes either:",{"type":13,"tag":390,"props":616,"children":617},{},[618,623],{"type":13,"tag":394,"props":619,"children":620},{},[621],{"type":18,"value":622},"A memory access which may have triggered a page fault and may have\ncontributed to device loss",{"type":13,"tag":394,"props":624,"children":625},{},[626],{"type":18,"value":627},"The value of an active instruction pointer at the time a fault occurred.\nThis value may be indicative of the active pipeline or shader at the\ntime of device loss",{"type":13,"tag":14,"props":629,"children":630},{},[631,633,638,640,646,648,652],{"type":18,"value":632},"Comparison of the GPU virtual addresses described by ",{"type":13,"tag":21,"props":634,"children":636},{"className":635},[],[637],{"type":18,"value":468},{"type":18,"value":639}," to\nGPU virtual address ranges reported by the\n",{"type":13,"tag":406,"props":641,"children":643},{"href":642},"/extensions/VK_EXT_device_address_binding_report",[644],{"type":18,"value":645},"VK_EXT_device_address_binding_report",{"type":18,"value":647}," extension may allow\napplications to correlate between these addresses and Vulkan objects.\nApplications should be aware that these addresses may also correspond to\nresources internal to an implementation, which will not be reported via the\n",{"type":13,"tag":406,"props":649,"children":650},{"href":642},[651],{"type":18,"value":645},{"type":18,"value":653}," extension.",{"type":13,"tag":655,"props":656,"children":658},"validity-group",{"name":657},"Valid Usage (Implicit)",[659,684],{"type":13,"tag":660,"props":661,"children":663},"validity-field",{"name":662},"VUID-VkDeviceFaultInfoEXT-sType-sType",[664],{"type":13,"tag":14,"props":665,"children":666},{},[667,672,673,676,678],{"type":13,"tag":21,"props":668,"children":670},{"className":669},[],[671],{"type":18,"value":402},{"type":18,"value":451},{"type":13,"tag":486,"props":674,"children":675},{"type":595},[],{"type":18,"value":677}," be ",{"type":13,"tag":21,"props":679,"children":681},{"className":680},[],[682],{"type":18,"value":683},"VK_STRUCTURE_TYPE_DEVICE_FAULT_INFO_EXT",{"type":13,"tag":660,"props":685,"children":687},{"name":686},"VUID-VkDeviceFaultInfoEXT-pNext-pNext",[688],{"type":13,"tag":14,"props":689,"children":690},{},[691,696,697,700,701],{"type":13,"tag":21,"props":692,"children":694},{"className":693},[],[695],{"type":18,"value":422},{"type":18,"value":451},{"type":13,"tag":486,"props":698,"children":699},{"type":595},[],{"type":18,"value":677},{"type":13,"tag":21,"props":702,"children":704},{"className":703},[],[705],{"type":18,"value":430},{"type":13,"tag":707,"props":708,"children":709},"style",{},[710],{"type":18,"value":711},"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":713},[],"markdown",1725732548386]