[{"data":1,"prerenderedAt":463},["ShallowReactive",2],{"d0IwHjVHnM":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":462,"_id":4},"VkDeviceFaultAddressInfoEXT","Structure specifying GPU virtual address information","VK_EXT_device_fault","structs",[],{"type":10,"children":11,"toc":460},"root",[12,28,235,273,292,388,418,454],{"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,103],{"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 VkDeviceFaultAddressInfoEXT {\n VkDeviceFaultAddressTypeEXT addressType;\n VkDeviceAddress reportedAddress;\n VkDeviceSize addressPrecision;\n} VkDeviceFaultAddressInfoEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,85,94],{"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}," VkDeviceFaultAddressInfoEXT {\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}," VkDeviceFaultAddressTypeEXT addressType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80],{"type":13,"tag":45,"props":81,"children":82},{"style":63},[83],{"type":18,"value":84}," VkDeviceAddress reportedAddress;\n",{"type":13,"tag":45,"props":86,"children":88},{"class":47,"line":87},4,[89],{"type":13,"tag":45,"props":90,"children":91},{"style":63},[92],{"type":18,"value":93}," VkDeviceSize addressPrecision;\n",{"type":13,"tag":45,"props":95,"children":97},{"class":47,"line":96},5,[98],{"type":13,"tag":45,"props":99,"children":100},{"style":63},[101],{"type":18,"value":102},"} VkDeviceFaultAddressInfoEXT;\n",{"type":13,"tag":33,"props":104,"children":109},{"className":105,"code":106,"filename":107,"language":108,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DeviceFaultAddressInfoEXT {\n address_type: vk::DeviceFaultAddressTypeEXT,\n reported_address: vk::DeviceAddress,\n address_precision: vk::DeviceSize,\n}\n","Rust","rs",[110],{"type":13,"tag":21,"props":111,"children":112},{"__ignoreMap":39},[113,136,169,198,227],{"type":13,"tag":45,"props":114,"children":115},{"class":47,"line":48},[116,121,125,131],{"type":13,"tag":45,"props":117,"children":118},{"style":52},[119],{"type":18,"value":120},"pub",{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":60},{"type":13,"tag":45,"props":126,"children":128},{"style":127},"--shiki-default:#953800;--shiki-dark:#FFA657",[129],{"type":18,"value":130}," DeviceFaultAddressInfoEXT",{"type":13,"tag":45,"props":132,"children":133},{"style":63},[134],{"type":18,"value":135}," {\n",{"type":13,"tag":45,"props":137,"children":138},{"class":47,"line":69},[139,144,149,154,159,164],{"type":13,"tag":45,"props":140,"children":141},{"style":63},[142],{"type":18,"value":143}," address_type",{"type":13,"tag":45,"props":145,"children":146},{"style":52},[147],{"type":18,"value":148},":",{"type":13,"tag":45,"props":150,"children":151},{"style":127},[152],{"type":18,"value":153}," vk",{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":158},"::",{"type":13,"tag":45,"props":160,"children":161},{"style":127},[162],{"type":18,"value":163},"DeviceFaultAddressTypeEXT",{"type":13,"tag":45,"props":165,"children":166},{"style":63},[167],{"type":18,"value":168},",\n",{"type":13,"tag":45,"props":170,"children":171},{"class":47,"line":78},[172,177,181,185,189,194],{"type":13,"tag":45,"props":173,"children":174},{"style":63},[175],{"type":18,"value":176}," reported_address",{"type":13,"tag":45,"props":178,"children":179},{"style":52},[180],{"type":18,"value":148},{"type":13,"tag":45,"props":182,"children":183},{"style":127},[184],{"type":18,"value":153},{"type":13,"tag":45,"props":186,"children":187},{"style":52},[188],{"type":18,"value":158},{"type":13,"tag":45,"props":190,"children":191},{"style":127},[192],{"type":18,"value":193},"DeviceAddress",{"type":13,"tag":45,"props":195,"children":196},{"style":63},[197],{"type":18,"value":168},{"type":13,"tag":45,"props":199,"children":200},{"class":47,"line":87},[201,206,210,214,218,223],{"type":13,"tag":45,"props":202,"children":203},{"style":63},[204],{"type":18,"value":205}," address_precision",{"type":13,"tag":45,"props":207,"children":208},{"style":52},[209],{"type":18,"value":148},{"type":13,"tag":45,"props":211,"children":212},{"style":127},[213],{"type":18,"value":153},{"type":13,"tag":45,"props":215,"children":216},{"style":52},[217],{"type":18,"value":158},{"type":13,"tag":45,"props":219,"children":220},{"style":127},[221],{"type":18,"value":222},"DeviceSize",{"type":13,"tag":45,"props":224,"children":225},{"style":63},[226],{"type":18,"value":168},{"type":13,"tag":45,"props":228,"children":229},{"class":47,"line":96},[230],{"type":13,"tag":45,"props":231,"children":232},{"style":63},[233],{"type":18,"value":234},"}\n",{"type":13,"tag":236,"props":237,"children":238},"ul",{},[239,251,262],{"type":13,"tag":240,"props":241,"children":242},"li",{},[243,249],{"type":13,"tag":21,"props":244,"children":246},{"className":245},[],[247],{"type":18,"value":248},"addressType",{"type":18,"value":250}," is either the type of memory operation that triggered\na page fault, or the type of association between an instruction pointer\nand a fault.",{"type":13,"tag":240,"props":252,"children":253},{},[254,260],{"type":13,"tag":21,"props":255,"children":257},{"className":256},[],[258],{"type":18,"value":259},"reportedAddress",{"type":18,"value":261}," is the GPU virtual address recorded by the device.",{"type":13,"tag":240,"props":263,"children":264},{},[265,271],{"type":13,"tag":21,"props":266,"children":268},{"className":267},[],[269],{"type":18,"value":270},"addressPrecision",{"type":18,"value":272}," is a power of two value that specifies how\nprecisely the device can report the address.",{"type":13,"tag":14,"props":274,"children":275},{},[276,278,283,285,290],{"type":18,"value":277},"The combination of ",{"type":13,"tag":21,"props":279,"children":281},{"className":280},[],[282],{"type":18,"value":259},{"type":18,"value":284}," and ",{"type":13,"tag":21,"props":286,"children":288},{"className":287},[],[289],{"type":18,"value":270},{"type":18,"value":291}," allow\nthe possible range of addresses to be calculated, such that:",{"type":13,"tag":33,"props":293,"children":297},{"className":294,"code":295,"language":296,"meta":39,"style":39},"language-c++ shiki shiki-themes github-light-default github-dark-default","lower_address = (pInfo->reportedAddress & ~(pInfo->addressPrecision-1))\nupper_address = (pInfo->reportedAddress | (pInfo->addressPrecision-1))\n","c++",[298],{"type":13,"tag":21,"props":299,"children":300},{"__ignoreMap":39},[301,350],{"type":13,"tag":45,"props":302,"children":303},{"class":47,"line":48},[304,309,314,319,324,329,334,339,345],{"type":13,"tag":45,"props":305,"children":306},{"style":63},[307],{"type":18,"value":308},"lower_address ",{"type":13,"tag":45,"props":310,"children":311},{"style":52},[312],{"type":18,"value":313},"=",{"type":13,"tag":45,"props":315,"children":316},{"style":63},[317],{"type":18,"value":318}," (pInfo->reportedAddress ",{"type":13,"tag":45,"props":320,"children":321},{"style":52},[322],{"type":18,"value":323},"&",{"type":13,"tag":45,"props":325,"children":326},{"style":52},[327],{"type":18,"value":328}," ~",{"type":13,"tag":45,"props":330,"children":331},{"style":63},[332],{"type":18,"value":333},"(pInfo->addressPrecision",{"type":13,"tag":45,"props":335,"children":336},{"style":52},[337],{"type":18,"value":338},"-",{"type":13,"tag":45,"props":340,"children":342},{"style":341},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[343],{"type":18,"value":344},"1",{"type":13,"tag":45,"props":346,"children":347},{"style":63},[348],{"type":18,"value":349},"))\n",{"type":13,"tag":45,"props":351,"children":352},{"class":47,"line":69},[353,358,362,366,371,376,380,384],{"type":13,"tag":45,"props":354,"children":355},{"style":63},[356],{"type":18,"value":357},"upper_address ",{"type":13,"tag":45,"props":359,"children":360},{"style":52},[361],{"type":18,"value":313},{"type":13,"tag":45,"props":363,"children":364},{"style":63},[365],{"type":18,"value":318},{"type":13,"tag":45,"props":367,"children":368},{"style":52},[369],{"type":18,"value":370},"|",{"type":13,"tag":45,"props":372,"children":373},{"style":63},[374],{"type":18,"value":375}," (pInfo->addressPrecision",{"type":13,"tag":45,"props":377,"children":378},{"style":52},[379],{"type":18,"value":338},{"type":13,"tag":45,"props":381,"children":382},{"style":341},[383],{"type":18,"value":344},{"type":13,"tag":45,"props":385,"children":386},{"style":63},[387],{"type":18,"value":349},{"type":13,"tag":389,"props":390,"children":391},"note",{},[392],{"type":13,"tag":14,"props":393,"children":394},{},[395,397,402,404,409,411,416],{"type":18,"value":396},"It is valid for the ",{"type":13,"tag":21,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":259},{"type":18,"value":403}," to contain a more precise address\nthan indicated by ",{"type":13,"tag":21,"props":405,"children":407},{"className":406},[],[408],{"type":18,"value":270},{"type":18,"value":410},".\nIn this case, the value of ",{"type":13,"tag":21,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":259},{"type":18,"value":417}," should be treated as an\nadditional hint as to the value of the address that triggered the page\nfault, or to the value of an instruction pointer.",{"type":13,"tag":419,"props":420,"children":422},"validity-group",{"name":421},"Valid Usage (Implicit)",[423],{"type":13,"tag":424,"props":425,"children":427},"validity-field",{"name":426},"VUID-VkDeviceFaultAddressInfoEXT-addressType-parameter",[428],{"type":13,"tag":14,"props":429,"children":430},{},[431,436,438,443,445,452],{"type":13,"tag":21,"props":432,"children":434},{"className":433},[],[435],{"type":18,"value":248},{"type":18,"value":437}," ",{"type":13,"tag":439,"props":440,"children":442},"normative",{"type":441},"must",[],{"type":18,"value":444}," be a valid ",{"type":13,"tag":446,"props":447,"children":449},"a",{"href":448},"/man/VkDeviceFaultAddressTypeEXT",[450],{"type":18,"value":451},"VkDeviceFaultAddressTypeEXT",{"type":18,"value":453}," value",{"type":13,"tag":455,"props":456,"children":457},"style",{},[458],{"type":18,"value":459},"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":461},[],"markdown",1725732548286]