[{"data":1,"prerenderedAt":591},["ShallowReactive",2],{"$f4d2vmQiH7s4gwsbjsM7ZOjAjw252Pb7ixOvxeO-epaI":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":10,"xrefs":11,"body":12,"_type":590,"_id":4},"VkPhysicalDeviceFaultFeaturesKHR","Structure indicating support for device fault reporting","VK_KHR_device_fault",[8,9],"VkPhysicalDeviceFeatures2","VkDeviceCreateInfo","structs",[],{"type":13,"children":14,"toc":588},"root",[15,31,347,352,456,466,551,582],{"type":16,"tag":17,"props":18,"children":19},"element","p",{},[20,23,29],{"type":21,"value":22},"text","The ",{"type":16,"tag":24,"props":25,"children":27},"code",{"className":26},[],[28],{"type":21,"value":4},{"type":21,"value":30}," structure is defined as:",{"type":16,"tag":32,"props":33,"children":34},"code-group",{},[35,138],{"type":16,"tag":36,"props":37,"children":43},"pre",{"className":38,"code":39,"filename":40,"language":41,"meta":42,"style":42},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPhysicalDeviceFaultFeaturesKHR {\n VkStructureType sType;\n void* pNext;\n VkBool32 deviceFault;\n VkBool32 deviceFaultVendorBinary;\n VkBool32 deviceFaultReportMasked;\n VkBool32 deviceFaultDeviceLostOnMasked;\n} VkPhysicalDeviceFaultFeaturesKHR;\n","C","c","",[44],{"type":16,"tag":24,"props":45,"children":46},{"__ignoreMap":42},[47,70,79,93,102,111,120,129],{"type":16,"tag":48,"props":49,"children":52},"span",{"class":50,"line":51},"line",1,[53,59,64],{"type":16,"tag":48,"props":54,"children":56},{"style":55},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[57],{"type":21,"value":58},"typedef",{"type":16,"tag":48,"props":60,"children":61},{"style":55},[62],{"type":21,"value":63}," struct",{"type":16,"tag":48,"props":65,"children":67},{"style":66},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[68],{"type":21,"value":69}," VkPhysicalDeviceFaultFeaturesKHR {\n",{"type":16,"tag":48,"props":71,"children":73},{"class":50,"line":72},2,[74],{"type":16,"tag":48,"props":75,"children":76},{"style":66},[77],{"type":21,"value":78}," VkStructureType sType;\n",{"type":16,"tag":48,"props":80,"children":82},{"class":50,"line":81},3,[83,88],{"type":16,"tag":48,"props":84,"children":85},{"style":55},[86],{"type":21,"value":87}," void*",{"type":16,"tag":48,"props":89,"children":90},{"style":66},[91],{"type":21,"value":92}," pNext;\n",{"type":16,"tag":48,"props":94,"children":96},{"class":50,"line":95},4,[97],{"type":16,"tag":48,"props":98,"children":99},{"style":66},[100],{"type":21,"value":101}," VkBool32 deviceFault;\n",{"type":16,"tag":48,"props":103,"children":105},{"class":50,"line":104},5,[106],{"type":16,"tag":48,"props":107,"children":108},{"style":66},[109],{"type":21,"value":110}," VkBool32 deviceFaultVendorBinary;\n",{"type":16,"tag":48,"props":112,"children":114},{"class":50,"line":113},6,[115],{"type":16,"tag":48,"props":116,"children":117},{"style":66},[118],{"type":21,"value":119}," VkBool32 deviceFaultReportMasked;\n",{"type":16,"tag":48,"props":121,"children":123},{"class":50,"line":122},7,[124],{"type":16,"tag":48,"props":125,"children":126},{"style":66},[127],{"type":21,"value":128}," VkBool32 deviceFaultDeviceLostOnMasked;\n",{"type":16,"tag":48,"props":130,"children":132},{"class":50,"line":131},8,[133],{"type":16,"tag":48,"props":134,"children":135},{"style":66},[136],{"type":21,"value":137},"} VkPhysicalDeviceFaultFeaturesKHR;\n",{"type":16,"tag":36,"props":139,"children":144},{"className":140,"code":141,"filename":142,"language":143,"meta":42,"style":42},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceFaultFeaturesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n device_fault: vk::Bool32,\n device_fault_vendor_binary: vk::Bool32,\n device_fault_report_masked: vk::Bool32,\n device_fault_device_lost_on_masked: vk::Bool32,\n}\n","Rust","rs",[145],{"type":16,"tag":24,"props":146,"children":147},{"__ignoreMap":42},[148,171,204,226,255,283,311,339],{"type":16,"tag":48,"props":149,"children":150},{"class":50,"line":51},[151,156,160,166],{"type":16,"tag":48,"props":152,"children":153},{"style":55},[154],{"type":21,"value":155},"pub",{"type":16,"tag":48,"props":157,"children":158},{"style":55},[159],{"type":21,"value":63},{"type":16,"tag":48,"props":161,"children":163},{"style":162},"--shiki-default:#953800;--shiki-dark:#FFA657",[164],{"type":21,"value":165}," PhysicalDeviceFaultFeaturesKHR",{"type":16,"tag":48,"props":167,"children":168},{"style":66},[169],{"type":21,"value":170}," {\n",{"type":16,"tag":48,"props":172,"children":173},{"class":50,"line":72},[174,179,184,189,194,199],{"type":16,"tag":48,"props":175,"children":176},{"style":66},[177],{"type":21,"value":178}," s_type",{"type":16,"tag":48,"props":180,"children":181},{"style":55},[182],{"type":21,"value":183},":",{"type":16,"tag":48,"props":185,"children":186},{"style":162},[187],{"type":21,"value":188}," vk",{"type":16,"tag":48,"props":190,"children":191},{"style":55},[192],{"type":21,"value":193},"::",{"type":16,"tag":48,"props":195,"children":196},{"style":162},[197],{"type":21,"value":198},"StructureType",{"type":16,"tag":48,"props":200,"children":201},{"style":66},[202],{"type":21,"value":203},",\n",{"type":16,"tag":48,"props":205,"children":206},{"class":50,"line":81},[207,212,216,221],{"type":16,"tag":48,"props":208,"children":209},{"style":66},[210],{"type":21,"value":211}," p_next",{"type":16,"tag":48,"props":213,"children":214},{"style":55},[215],{"type":21,"value":183},{"type":16,"tag":48,"props":217,"children":218},{"style":55},[219],{"type":21,"value":220}," *mut",{"type":16,"tag":48,"props":222,"children":223},{"style":66},[224],{"type":21,"value":225}," c_void,\n",{"type":16,"tag":48,"props":227,"children":228},{"class":50,"line":95},[229,234,238,242,246,251],{"type":16,"tag":48,"props":230,"children":231},{"style":66},[232],{"type":21,"value":233}," device_fault",{"type":16,"tag":48,"props":235,"children":236},{"style":55},[237],{"type":21,"value":183},{"type":16,"tag":48,"props":239,"children":240},{"style":162},[241],{"type":21,"value":188},{"type":16,"tag":48,"props":243,"children":244},{"style":55},[245],{"type":21,"value":193},{"type":16,"tag":48,"props":247,"children":248},{"style":162},[249],{"type":21,"value":250},"Bool32",{"type":16,"tag":48,"props":252,"children":253},{"style":66},[254],{"type":21,"value":203},{"type":16,"tag":48,"props":256,"children":257},{"class":50,"line":104},[258,263,267,271,275,279],{"type":16,"tag":48,"props":259,"children":260},{"style":66},[261],{"type":21,"value":262}," device_fault_vendor_binary",{"type":16,"tag":48,"props":264,"children":265},{"style":55},[266],{"type":21,"value":183},{"type":16,"tag":48,"props":268,"children":269},{"style":162},[270],{"type":21,"value":188},{"type":16,"tag":48,"props":272,"children":273},{"style":55},[274],{"type":21,"value":193},{"type":16,"tag":48,"props":276,"children":277},{"style":162},[278],{"type":21,"value":250},{"type":16,"tag":48,"props":280,"children":281},{"style":66},[282],{"type":21,"value":203},{"type":16,"tag":48,"props":284,"children":285},{"class":50,"line":113},[286,291,295,299,303,307],{"type":16,"tag":48,"props":287,"children":288},{"style":66},[289],{"type":21,"value":290}," device_fault_report_masked",{"type":16,"tag":48,"props":292,"children":293},{"style":55},[294],{"type":21,"value":183},{"type":16,"tag":48,"props":296,"children":297},{"style":162},[298],{"type":21,"value":188},{"type":16,"tag":48,"props":300,"children":301},{"style":55},[302],{"type":21,"value":193},{"type":16,"tag":48,"props":304,"children":305},{"style":162},[306],{"type":21,"value":250},{"type":16,"tag":48,"props":308,"children":309},{"style":66},[310],{"type":21,"value":203},{"type":16,"tag":48,"props":312,"children":313},{"class":50,"line":122},[314,319,323,327,331,335],{"type":16,"tag":48,"props":315,"children":316},{"style":66},[317],{"type":21,"value":318}," device_fault_device_lost_on_masked",{"type":16,"tag":48,"props":320,"children":321},{"style":55},[322],{"type":21,"value":183},{"type":16,"tag":48,"props":324,"children":325},{"style":162},[326],{"type":21,"value":188},{"type":16,"tag":48,"props":328,"children":329},{"style":55},[330],{"type":21,"value":193},{"type":16,"tag":48,"props":332,"children":333},{"style":162},[334],{"type":21,"value":250},{"type":16,"tag":48,"props":336,"children":337},{"style":66},[338],{"type":21,"value":203},{"type":16,"tag":48,"props":340,"children":341},{"class":50,"line":131},[342],{"type":16,"tag":48,"props":343,"children":344},{"style":66},[345],{"type":21,"value":346},"}\n",{"type":16,"tag":17,"props":348,"children":349},{},[350],{"type":21,"value":351},"This structure describes the following features:",{"type":16,"tag":353,"props":354,"children":355},"ul",{},[356,375,398,434],{"type":16,"tag":357,"props":358,"children":359},"li",{},[360,365,367,373],{"type":16,"tag":361,"props":362,"children":364},"anchor",{"id":363},"features-deviceFault",[],{"type":21,"value":366}," ",{"type":16,"tag":24,"props":368,"children":370},{"className":369},[],[371],{"type":21,"value":372},"deviceFault",{"type":21,"value":374}," indicates that the\nimplementation supports the reporting of device fault information.",{"type":16,"tag":357,"props":376,"children":377},{},[378,382,383,389,391,396],{"type":16,"tag":361,"props":379,"children":381},{"id":380},"features-deviceFaultVendorBinary",[],{"type":21,"value":366},{"type":16,"tag":24,"props":384,"children":386},{"className":385},[],[387],{"type":21,"value":388},"deviceFaultVendorBinary",{"type":21,"value":390},"\nindicates that the implementation supports the generation of\nvendor-specific binary crash dumps.\nThese ",{"type":16,"tag":392,"props":393,"children":395},"normative",{"type":394},"may",[],{"type":21,"value":397}," provide additional information when imported into\nvendor-specific external tools.",{"type":16,"tag":357,"props":399,"children":400},{},[401,405,406,412,414,420,422,425,427,432],{"type":16,"tag":361,"props":402,"children":404},{"id":403},"features-deviceFaultReportMasked",[],{"type":21,"value":366},{"type":16,"tag":24,"props":407,"children":409},{"className":408},[],[410],{"type":21,"value":411},"deviceFaultReportMasked",{"type":21,"value":413},"\nindicates that the implementation supports masked faults in normal\noperation (ie.\nautomatically recovered by the driver internally without the application\nreceiving a ",{"type":16,"tag":24,"props":415,"children":417},{"className":416},[],[418],{"type":21,"value":419},"VK_ERROR_DEVICE_LOST",{"type":21,"value":421}," error) which ",{"type":16,"tag":392,"props":423,"children":424},{"type":394},[],{"type":21,"value":426}," be reported via\nthis extension even if they did not result in a\n",{"type":16,"tag":24,"props":428,"children":430},{"className":429},[],[431],{"type":21,"value":419},{"type":21,"value":433}," condition being returned to the application.",{"type":16,"tag":357,"props":435,"children":436},{},[437,441,447,449,454],{"type":16,"tag":361,"props":438,"children":440},{"id":439},"features-deviceFaultDeviceLostOnMasked",[],{"type":16,"tag":24,"props":442,"children":444},{"className":443},[],[445],{"type":21,"value":446},"deviceFaultDeviceLostOnMasked",{"type":21,"value":448}," indicates that the implementation\nsupports returning ",{"type":16,"tag":24,"props":450,"children":452},{"className":451},[],[453],{"type":21,"value":419},{"type":21,"value":455}," for faults that would be\nnormally be masked.",{"type":16,"tag":17,"props":457,"children":458},{},[459,461,464],{"type":21,"value":460},"In exceptional circumstances, some implementations ",{"type":16,"tag":392,"props":462,"children":463},{"type":394},[],{"type":21,"value":465}," mask faults and\nattempt to recover from an error.\nIn such circumstances, the device is not lost and further work can be\nsubmitted to the device.\nWhen such faults occur, the contents of all resources being written to at\nthe time of the fault are undefined.",{"type":16,"tag":17,"props":467,"children":468},{},[469,471,476,478,484,486,492,494,500,502,508,510,515,517,521,523,529,531,536,538,543,545,549],{"type":21,"value":470},"If the ",{"type":16,"tag":24,"props":472,"children":474},{"className":473},[],[475],{"type":21,"value":4},{"type":21,"value":477}," structure is included in the ",{"type":16,"tag":24,"props":479,"children":481},{"className":480},[],[482],{"type":21,"value":483},"pNext",{"type":21,"value":485}," chain of the\n",{"type":16,"tag":487,"props":488,"children":490},"a",{"href":489},"/man/VkPhysicalDeviceFeatures2",[491],{"type":21,"value":8},{"type":21,"value":493}," structure passed to\n",{"type":16,"tag":487,"props":495,"children":497},{"href":496},"/man/vkGetPhysicalDeviceFeatures2",[498],{"type":21,"value":499},"vkGetPhysicalDeviceFeatures2",{"type":21,"value":501},", it is filled in to indicate whether each\ncorresponding feature is supported.\nIf the application wishes to use a ",{"type":16,"tag":487,"props":503,"children":505},{"href":504},"/man/VkDevice",[506],{"type":21,"value":507},"VkDevice",{"type":21,"value":509}," with any features\ndescribed by ",{"type":16,"tag":24,"props":511,"children":513},{"className":512},[],[514],{"type":21,"value":4},{"type":21,"value":516},", it ",{"type":16,"tag":392,"props":518,"children":520},{"type":519},"must",[],{"type":21,"value":522}," add an instance of the structure,\nwith the desired feature members set to ",{"type":16,"tag":24,"props":524,"children":526},{"className":525},[],[527],{"type":21,"value":528},"VK_TRUE",{"type":21,"value":530},", to the ",{"type":16,"tag":24,"props":532,"children":534},{"className":533},[],[535],{"type":21,"value":483},{"type":21,"value":537},"\nchain of ",{"type":16,"tag":487,"props":539,"children":541},{"href":540},"/man/VkDeviceCreateInfo",[542],{"type":21,"value":9},{"type":21,"value":544}," when creating the ",{"type":16,"tag":487,"props":546,"children":547},{"href":504},[548],{"type":21,"value":507},{"type":21,"value":550},".",{"type":16,"tag":552,"props":553,"children":555},"validity-group",{"name":554},"Valid Usage (Implicit)",[556],{"type":16,"tag":557,"props":558,"children":560},"validity-field",{"name":559},"VUID-VkPhysicalDeviceFaultFeaturesKHR-sType-sType",[561],{"type":16,"tag":17,"props":562,"children":563},{},[564,570,571,574,576],{"type":16,"tag":24,"props":565,"children":567},{"className":566},[],[568],{"type":21,"value":569},"sType",{"type":21,"value":366},{"type":16,"tag":392,"props":572,"children":573},{"type":519},[],{"type":21,"value":575}," be ",{"type":16,"tag":24,"props":577,"children":579},{"className":578},[],[580],{"type":21,"value":581},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_KHR",{"type":16,"tag":583,"props":584,"children":585},"style",{},[586],{"type":21,"value":587},"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":42,"searchDepth":72,"depth":72,"links":589},[],"markdown",1773997236984]