[{"data":1,"prerenderedAt":494},["ShallowReactive",2],{"$fGvLV43epdckUA1Qm5N9S_5PMk32-xQUOp1z0QAS-OUI":3},{"title":4,"description":5,"parent":6,"aliases":7,"type":9,"xrefs":10,"body":11,"_type":493,"_id":4},"VkDeviceFaultAddressInfoKHR","Structure specifying GPU virtual address information","VK_KHR_device_fault",[8],"VkDeviceFaultAddressInfoEXT","structs",[],{"type":12,"children":13,"toc":491},"root",[14,30,237,302,340,359,455,485],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,28],{"type":20,"value":21},"text","The ",{"type":15,"tag":23,"props":24,"children":26},"code",{"className":25},[],[27],{"type":20,"value":4},{"type":20,"value":29}," structure is defined as:",{"type":15,"tag":31,"props":32,"children":33},"code-group",{},[34,105],{"type":15,"tag":35,"props":36,"children":42},"pre",{"className":37,"code":38,"filename":39,"language":40,"meta":41,"style":41},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkDeviceFaultAddressInfoKHR {\n VkDeviceFaultAddressTypeKHR addressType;\n VkDeviceAddress reportedAddress;\n VkDeviceSize addressPrecision;\n} VkDeviceFaultAddressInfoKHR;\n","C","c","",[43],{"type":15,"tag":23,"props":44,"children":45},{"__ignoreMap":41},[46,69,78,87,96],{"type":15,"tag":47,"props":48,"children":51},"span",{"class":49,"line":50},"line",1,[52,58,63],{"type":15,"tag":47,"props":53,"children":55},{"style":54},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[56],{"type":20,"value":57},"typedef",{"type":15,"tag":47,"props":59,"children":60},{"style":54},[61],{"type":20,"value":62}," struct",{"type":15,"tag":47,"props":64,"children":66},{"style":65},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[67],{"type":20,"value":68}," VkDeviceFaultAddressInfoKHR {\n",{"type":15,"tag":47,"props":70,"children":72},{"class":49,"line":71},2,[73],{"type":15,"tag":47,"props":74,"children":75},{"style":65},[76],{"type":20,"value":77}," VkDeviceFaultAddressTypeKHR addressType;\n",{"type":15,"tag":47,"props":79,"children":81},{"class":49,"line":80},3,[82],{"type":15,"tag":47,"props":83,"children":84},{"style":65},[85],{"type":20,"value":86}," VkDeviceAddress reportedAddress;\n",{"type":15,"tag":47,"props":88,"children":90},{"class":49,"line":89},4,[91],{"type":15,"tag":47,"props":92,"children":93},{"style":65},[94],{"type":20,"value":95}," VkDeviceSize addressPrecision;\n",{"type":15,"tag":47,"props":97,"children":99},{"class":49,"line":98},5,[100],{"type":15,"tag":47,"props":101,"children":102},{"style":65},[103],{"type":20,"value":104},"} VkDeviceFaultAddressInfoKHR;\n",{"type":15,"tag":35,"props":106,"children":111},{"className":107,"code":108,"filename":109,"language":110,"meta":41,"style":41},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DeviceFaultAddressInfoKHR {\n address_type: vk::DeviceFaultAddressTypeKHR,\n reported_address: vk::DeviceAddress,\n address_precision: vk::DeviceSize,\n}\n","Rust","rs",[112],{"type":15,"tag":23,"props":113,"children":114},{"__ignoreMap":41},[115,138,171,200,229],{"type":15,"tag":47,"props":116,"children":117},{"class":49,"line":50},[118,123,127,133],{"type":15,"tag":47,"props":119,"children":120},{"style":54},[121],{"type":20,"value":122},"pub",{"type":15,"tag":47,"props":124,"children":125},{"style":54},[126],{"type":20,"value":62},{"type":15,"tag":47,"props":128,"children":130},{"style":129},"--shiki-default:#953800;--shiki-dark:#FFA657",[131],{"type":20,"value":132}," DeviceFaultAddressInfoKHR",{"type":15,"tag":47,"props":134,"children":135},{"style":65},[136],{"type":20,"value":137}," {\n",{"type":15,"tag":47,"props":139,"children":140},{"class":49,"line":71},[141,146,151,156,161,166],{"type":15,"tag":47,"props":142,"children":143},{"style":65},[144],{"type":20,"value":145}," address_type",{"type":15,"tag":47,"props":147,"children":148},{"style":54},[149],{"type":20,"value":150},":",{"type":15,"tag":47,"props":152,"children":153},{"style":129},[154],{"type":20,"value":155}," vk",{"type":15,"tag":47,"props":157,"children":158},{"style":54},[159],{"type":20,"value":160},"::",{"type":15,"tag":47,"props":162,"children":163},{"style":129},[164],{"type":20,"value":165},"DeviceFaultAddressTypeKHR",{"type":15,"tag":47,"props":167,"children":168},{"style":65},[169],{"type":20,"value":170},",\n",{"type":15,"tag":47,"props":172,"children":173},{"class":49,"line":80},[174,179,183,187,191,196],{"type":15,"tag":47,"props":175,"children":176},{"style":65},[177],{"type":20,"value":178}," reported_address",{"type":15,"tag":47,"props":180,"children":181},{"style":54},[182],{"type":20,"value":150},{"type":15,"tag":47,"props":184,"children":185},{"style":129},[186],{"type":20,"value":155},{"type":15,"tag":47,"props":188,"children":189},{"style":54},[190],{"type":20,"value":160},{"type":15,"tag":47,"props":192,"children":193},{"style":129},[194],{"type":20,"value":195},"DeviceAddress",{"type":15,"tag":47,"props":197,"children":198},{"style":65},[199],{"type":20,"value":170},{"type":15,"tag":47,"props":201,"children":202},{"class":49,"line":89},[203,208,212,216,220,225],{"type":15,"tag":47,"props":204,"children":205},{"style":65},[206],{"type":20,"value":207}," address_precision",{"type":15,"tag":47,"props":209,"children":210},{"style":54},[211],{"type":20,"value":150},{"type":15,"tag":47,"props":213,"children":214},{"style":129},[215],{"type":20,"value":155},{"type":15,"tag":47,"props":217,"children":218},{"style":54},[219],{"type":20,"value":160},{"type":15,"tag":47,"props":221,"children":222},{"style":129},[223],{"type":20,"value":224},"DeviceSize",{"type":15,"tag":47,"props":226,"children":227},{"style":65},[228],{"type":20,"value":170},{"type":15,"tag":47,"props":230,"children":231},{"class":49,"line":98},[232],{"type":15,"tag":47,"props":233,"children":234},{"style":65},[235],{"type":20,"value":236},"}\n",{"type":15,"tag":31,"props":238,"children":239},{},[240,259],{"type":15,"tag":35,"props":241,"children":243},{"className":37,"code":242,"filename":39,"language":40,"meta":41,"style":41},"typedef VkDeviceFaultAddressInfoKHR VkDeviceFaultAddressInfoEXT;\n",[244],{"type":15,"tag":23,"props":245,"children":246},{"__ignoreMap":41},[247],{"type":15,"tag":47,"props":248,"children":249},{"class":49,"line":50},[250,254],{"type":15,"tag":47,"props":251,"children":252},{"style":54},[253],{"type":20,"value":57},{"type":15,"tag":47,"props":255,"children":256},{"style":65},[257],{"type":20,"value":258}," VkDeviceFaultAddressInfoKHR VkDeviceFaultAddressInfoEXT;\n",{"type":15,"tag":35,"props":260,"children":262},{"className":107,"code":261,"filename":109,"language":110,"meta":41,"style":41},"type DeviceFaultAddressInfoEXT = vk::DeviceFaultAddressInfoKHR;\n",[263],{"type":15,"tag":23,"props":264,"children":265},{"__ignoreMap":41},[266],{"type":15,"tag":47,"props":267,"children":268},{"class":49,"line":50},[269,274,279,284,288,292,297],{"type":15,"tag":47,"props":270,"children":271},{"style":54},[272],{"type":20,"value":273},"type",{"type":15,"tag":47,"props":275,"children":276},{"style":129},[277],{"type":20,"value":278}," DeviceFaultAddressInfoEXT",{"type":15,"tag":47,"props":280,"children":281},{"style":54},[282],{"type":20,"value":283}," =",{"type":15,"tag":47,"props":285,"children":286},{"style":129},[287],{"type":20,"value":155},{"type":15,"tag":47,"props":289,"children":290},{"style":54},[291],{"type":20,"value":160},{"type":15,"tag":47,"props":293,"children":294},{"style":129},[295],{"type":20,"value":296},"DeviceFaultAddressInfoKHR",{"type":15,"tag":47,"props":298,"children":299},{"style":65},[300],{"type":20,"value":301},";\n",{"type":15,"tag":303,"props":304,"children":305},"ul",{},[306,318,329],{"type":15,"tag":307,"props":308,"children":309},"li",{},[310,316],{"type":15,"tag":23,"props":311,"children":313},{"className":312},[],[314],{"type":20,"value":315},"addressType",{"type":20,"value":317}," 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":15,"tag":307,"props":319,"children":320},{},[321,327],{"type":15,"tag":23,"props":322,"children":324},{"className":323},[],[325],{"type":20,"value":326},"reportedAddress",{"type":20,"value":328}," is the GPU virtual address recorded by the device.",{"type":15,"tag":307,"props":330,"children":331},{},[332,338],{"type":15,"tag":23,"props":333,"children":335},{"className":334},[],[336],{"type":20,"value":337},"addressPrecision",{"type":20,"value":339}," is a power of two value that specifies how\nprecisely the device can report the address.",{"type":15,"tag":16,"props":341,"children":342},{},[343,345,350,352,357],{"type":20,"value":344},"The combination of ",{"type":15,"tag":23,"props":346,"children":348},{"className":347},[],[349],{"type":20,"value":326},{"type":20,"value":351}," and ",{"type":15,"tag":23,"props":353,"children":355},{"className":354},[],[356],{"type":20,"value":337},{"type":20,"value":358}," allow\nthe possible range of addresses to be calculated, such that:",{"type":15,"tag":35,"props":360,"children":364},{"className":361,"code":362,"language":363,"meta":41,"style":41},"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++",[365],{"type":15,"tag":23,"props":366,"children":367},{"__ignoreMap":41},[368,417],{"type":15,"tag":47,"props":369,"children":370},{"class":49,"line":50},[371,376,381,386,391,396,401,406,412],{"type":15,"tag":47,"props":372,"children":373},{"style":65},[374],{"type":20,"value":375},"lower_address ",{"type":15,"tag":47,"props":377,"children":378},{"style":54},[379],{"type":20,"value":380},"=",{"type":15,"tag":47,"props":382,"children":383},{"style":65},[384],{"type":20,"value":385}," (pInfo->reportedAddress ",{"type":15,"tag":47,"props":387,"children":388},{"style":54},[389],{"type":20,"value":390},"&",{"type":15,"tag":47,"props":392,"children":393},{"style":54},[394],{"type":20,"value":395}," ~",{"type":15,"tag":47,"props":397,"children":398},{"style":65},[399],{"type":20,"value":400},"(pInfo->addressPrecision",{"type":15,"tag":47,"props":402,"children":403},{"style":54},[404],{"type":20,"value":405},"-",{"type":15,"tag":47,"props":407,"children":409},{"style":408},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[410],{"type":20,"value":411},"1",{"type":15,"tag":47,"props":413,"children":414},{"style":65},[415],{"type":20,"value":416},"))\n",{"type":15,"tag":47,"props":418,"children":419},{"class":49,"line":71},[420,425,429,433,438,443,447,451],{"type":15,"tag":47,"props":421,"children":422},{"style":65},[423],{"type":20,"value":424},"upper_address ",{"type":15,"tag":47,"props":426,"children":427},{"style":54},[428],{"type":20,"value":380},{"type":15,"tag":47,"props":430,"children":431},{"style":65},[432],{"type":20,"value":385},{"type":15,"tag":47,"props":434,"children":435},{"style":54},[436],{"type":20,"value":437},"|",{"type":15,"tag":47,"props":439,"children":440},{"style":65},[441],{"type":20,"value":442}," (pInfo->addressPrecision",{"type":15,"tag":47,"props":444,"children":445},{"style":54},[446],{"type":20,"value":405},{"type":15,"tag":47,"props":448,"children":449},{"style":408},[450],{"type":20,"value":411},{"type":15,"tag":47,"props":452,"children":453},{"style":65},[454],{"type":20,"value":416},{"type":15,"tag":456,"props":457,"children":458},"note",{},[459],{"type":15,"tag":16,"props":460,"children":461},{},[462,464,469,471,476,478,483],{"type":20,"value":463},"It is valid for the ",{"type":15,"tag":23,"props":465,"children":467},{"className":466},[],[468],{"type":20,"value":326},{"type":20,"value":470}," to contain a more precise address\nthan indicated by ",{"type":15,"tag":23,"props":472,"children":474},{"className":473},[],[475],{"type":20,"value":337},{"type":20,"value":477},".\nIn this case, the value of ",{"type":15,"tag":23,"props":479,"children":481},{"className":480},[],[482],{"type":20,"value":326},{"type":20,"value":484}," 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":15,"tag":486,"props":487,"children":488},"style",{},[489],{"type":20,"value":490},"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":41,"searchDepth":71,"depth":71,"links":492},[],"markdown",1773997217935]