[{"data":1,"prerenderedAt":560},["ShallowReactive",2],{"JArchohpY0":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":559,"_id":4},"vkGetQueueCheckpointData2NV","Retrieve diagnostic checkpoint data","VK_KHR_synchronization2","protos",[],{"type":10,"children":11,"toc":557},"root",[12,44,277,338,391,409,436,551],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,34,36,42],{"type":18,"value":19},"text","If the device encounters an error during execution, the implementation will\nreturn a ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"VK_ERROR_DEVICE_LOST",{"type":18,"value":28}," error to the application at some point\nduring host execution.\nWhen this happens, the application ",{"type":13,"tag":30,"props":31,"children":33},"normative",{"type":32},"can",[],{"type":18,"value":35}," call\n",{"type":13,"tag":37,"props":38,"children":40},"a",{"href":39},"/man/vkGetQueueCheckpointData2NV",[41],{"type":18,"value":4},{"type":18,"value":43}," to retrieve information on the most recent\ndiagnostic checkpoints that were executed by the device.",{"type":13,"tag":45,"props":46,"children":47},"code-group",{},[48,146],{"type":13,"tag":49,"props":50,"children":56},"pre",{"className":51,"code":52,"filename":53,"language":54,"meta":55,"style":55},"language-c shiki shiki-themes github-light-default github-dark-default","void vkGetQueueCheckpointData2NV(\n VkQueue queue,\n uint32_t* pCheckpointDataCount,\n VkCheckpointData2NV* pCheckpointData);\n","C","c","",[57],{"type":13,"tag":21,"props":58,"children":59},{"__ignoreMap":55},[60,84,104,122],{"type":13,"tag":61,"props":62,"children":65},"span",{"class":63,"line":64},"line",1,[66,72,78],{"type":13,"tag":61,"props":67,"children":69},{"style":68},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[70],{"type":18,"value":71},"void",{"type":13,"tag":61,"props":73,"children":75},{"style":74},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[76],{"type":18,"value":77}," vkGetQueueCheckpointData2NV",{"type":13,"tag":61,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83},"(\n",{"type":13,"tag":61,"props":85,"children":87},{"class":63,"line":86},2,[88,93,99],{"type":13,"tag":61,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VkQueue ",{"type":13,"tag":61,"props":94,"children":96},{"style":95},"--shiki-default:#953800;--shiki-dark:#FFA657",[97],{"type":18,"value":98},"queue",{"type":13,"tag":61,"props":100,"children":101},{"style":80},[102],{"type":18,"value":103},",\n",{"type":13,"tag":61,"props":105,"children":107},{"class":63,"line":106},3,[108,113,118],{"type":13,"tag":61,"props":109,"children":110},{"style":68},[111],{"type":18,"value":112}," uint32_t*",{"type":13,"tag":61,"props":114,"children":115},{"style":95},[116],{"type":18,"value":117}," pCheckpointDataCount",{"type":13,"tag":61,"props":119,"children":120},{"style":80},[121],{"type":18,"value":103},{"type":13,"tag":61,"props":123,"children":125},{"class":63,"line":124},4,[126,131,136,141],{"type":13,"tag":61,"props":127,"children":128},{"style":80},[129],{"type":18,"value":130}," VkCheckpointData2NV",{"type":13,"tag":61,"props":132,"children":133},{"style":68},[134],{"type":18,"value":135},"*",{"type":13,"tag":61,"props":137,"children":138},{"style":95},[139],{"type":18,"value":140}," pCheckpointData",{"type":13,"tag":61,"props":142,"children":143},{"style":80},[144],{"type":18,"value":145},");\n",{"type":13,"tag":49,"props":147,"children":152},{"className":148,"code":149,"filename":150,"language":151,"meta":55,"style":55},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_queue_checkpoint_data2_nv(\n queue: vk::Queue,\n p_checkpoint_data_count: *mut u32,\n p_checkpoint_data: *mut vk::CheckpointData2NV,\n);\n","Rust","rs",[153],{"type":13,"tag":21,"props":154,"children":155},{"__ignoreMap":55},[156,178,210,236,269],{"type":13,"tag":61,"props":157,"children":158},{"class":63,"line":64},[159,164,169,174],{"type":13,"tag":61,"props":160,"children":161},{"style":68},[162],{"type":18,"value":163},"pub",{"type":13,"tag":61,"props":165,"children":166},{"style":68},[167],{"type":18,"value":168}," fn",{"type":13,"tag":61,"props":170,"children":171},{"style":74},[172],{"type":18,"value":173}," get_queue_checkpoint_data2_nv",{"type":13,"tag":61,"props":175,"children":176},{"style":80},[177],{"type":18,"value":83},{"type":13,"tag":61,"props":179,"children":180},{"class":63,"line":86},[181,186,191,196,201,206],{"type":13,"tag":61,"props":182,"children":183},{"style":80},[184],{"type":18,"value":185}," queue",{"type":13,"tag":61,"props":187,"children":188},{"style":68},[189],{"type":18,"value":190},":",{"type":13,"tag":61,"props":192,"children":193},{"style":95},[194],{"type":18,"value":195}," vk",{"type":13,"tag":61,"props":197,"children":198},{"style":68},[199],{"type":18,"value":200},"::",{"type":13,"tag":61,"props":202,"children":203},{"style":95},[204],{"type":18,"value":205},"Queue",{"type":13,"tag":61,"props":207,"children":208},{"style":80},[209],{"type":18,"value":103},{"type":13,"tag":61,"props":211,"children":212},{"class":63,"line":106},[213,218,222,227,232],{"type":13,"tag":61,"props":214,"children":215},{"style":80},[216],{"type":18,"value":217}," p_checkpoint_data_count",{"type":13,"tag":61,"props":219,"children":220},{"style":68},[221],{"type":18,"value":190},{"type":13,"tag":61,"props":223,"children":224},{"style":68},[225],{"type":18,"value":226}," *mut",{"type":13,"tag":61,"props":228,"children":229},{"style":95},[230],{"type":18,"value":231}," u32",{"type":13,"tag":61,"props":233,"children":234},{"style":80},[235],{"type":18,"value":103},{"type":13,"tag":61,"props":237,"children":238},{"class":63,"line":124},[239,244,248,252,256,260,265],{"type":13,"tag":61,"props":240,"children":241},{"style":80},[242],{"type":18,"value":243}," p_checkpoint_data",{"type":13,"tag":61,"props":245,"children":246},{"style":68},[247],{"type":18,"value":190},{"type":13,"tag":61,"props":249,"children":250},{"style":68},[251],{"type":18,"value":226},{"type":13,"tag":61,"props":253,"children":254},{"style":95},[255],{"type":18,"value":195},{"type":13,"tag":61,"props":257,"children":258},{"style":68},[259],{"type":18,"value":200},{"type":13,"tag":61,"props":261,"children":262},{"style":95},[263],{"type":18,"value":264},"CheckpointData2NV",{"type":13,"tag":61,"props":266,"children":267},{"style":80},[268],{"type":18,"value":103},{"type":13,"tag":61,"props":270,"children":272},{"class":63,"line":271},5,[273],{"type":13,"tag":61,"props":274,"children":275},{"style":80},[276],{"type":18,"value":145},{"type":13,"tag":278,"props":279,"children":280},"ul",{},[281,300,311],{"type":13,"tag":282,"props":283,"children":284},"li",{},[285,290,292,298],{"type":13,"tag":21,"props":286,"children":288},{"className":287},[],[289],{"type":18,"value":98},{"type":18,"value":291}," is the ",{"type":13,"tag":37,"props":293,"children":295},{"href":294},"/man/VkQueue",[296],{"type":18,"value":297},"VkQueue",{"type":18,"value":299}," object the caller would like to\nretrieve checkpoint data for",{"type":13,"tag":282,"props":301,"children":302},{},[303,309],{"type":13,"tag":21,"props":304,"children":306},{"className":305},[],[307],{"type":18,"value":308},"pCheckpointDataCount",{"type":18,"value":310}," is a pointer to an integer related to the\nnumber of checkpoint markers available or queried, as described below.",{"type":13,"tag":282,"props":312,"children":313},{},[314,320,322,328,330,336],{"type":13,"tag":21,"props":315,"children":317},{"className":316},[],[318],{"type":18,"value":319},"pCheckpointData",{"type":18,"value":321}," is either ",{"type":13,"tag":21,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":327},"NULL",{"type":18,"value":329}," or a pointer to an array of\n",{"type":13,"tag":21,"props":331,"children":333},{"className":332},[],[334],{"type":18,"value":335},"VkCheckpointData2NV",{"type":18,"value":337}," structures.",{"type":13,"tag":14,"props":339,"children":340},{},[341,343,348,350,355,357,362,364,369,371,375,377,382,384,389],{"type":18,"value":342},"If ",{"type":13,"tag":21,"props":344,"children":346},{"className":345},[],[347],{"type":18,"value":319},{"type":18,"value":349}," is ",{"type":13,"tag":21,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":327},{"type":18,"value":356},", then the number of checkpoint markers\navailable is returned in ",{"type":13,"tag":21,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":308},{"type":18,"value":363},".\nOtherwise, ",{"type":13,"tag":21,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":308},{"type":18,"value":370}," ",{"type":13,"tag":30,"props":372,"children":374},{"type":373},"must",[],{"type":18,"value":376}," point to a variable set by the\napplication to the number of elements in the ",{"type":13,"tag":21,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":319},{"type":18,"value":383}," array,\nand on return the variable is overwritten with the number of structures\nactually written to ",{"type":13,"tag":21,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":319},{"type":18,"value":390},".",{"type":13,"tag":14,"props":392,"children":393},{},[394,395,400,402,407],{"type":18,"value":342},{"type":13,"tag":21,"props":396,"children":398},{"className":397},[],[399],{"type":18,"value":308},{"type":18,"value":401}," is less than the number of checkpoint markers\navailable, at most ",{"type":13,"tag":21,"props":403,"children":405},{"className":404},[],[406],{"type":18,"value":308},{"type":18,"value":408}," structures will be written.",{"type":13,"tag":410,"props":411,"children":413},"validity-group",{"name":412},"Valid Usage",[414],{"type":13,"tag":415,"props":416,"children":418},"validity-field",{"name":417},"VUID-vkGetQueueCheckpointData2NV-queue-03892",[419],{"type":13,"tag":14,"props":420,"children":421},{},[422,424,429,431,434],{"type":18,"value":423},"The device that ",{"type":13,"tag":21,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":98},{"type":18,"value":430}," belongs to ",{"type":13,"tag":30,"props":432,"children":433},{"type":373},[],{"type":18,"value":435}," be in the lost state",{"type":13,"tag":410,"props":437,"children":439},{"name":438},"Valid Usage (Implicit)",[440,464,490],{"type":13,"tag":415,"props":441,"children":443},{"name":442},"VUID-vkGetQueueCheckpointData2NV-queue-parameter",[444],{"type":13,"tag":14,"props":445,"children":446},{},[447,452,453,456,458,462],{"type":13,"tag":21,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":98},{"type":18,"value":370},{"type":13,"tag":30,"props":454,"children":455},{"type":373},[],{"type":18,"value":457}," be a valid ",{"type":13,"tag":37,"props":459,"children":460},{"href":294},[461],{"type":18,"value":297},{"type":18,"value":463}," handle",{"type":13,"tag":415,"props":465,"children":467},{"name":466},"VUID-vkGetQueueCheckpointData2NV-pCheckpointDataCount-parameter",[468],{"type":13,"tag":14,"props":469,"children":470},{},[471,476,477,480,482,488],{"type":13,"tag":21,"props":472,"children":474},{"className":473},[],[475],{"type":18,"value":308},{"type":18,"value":370},{"type":13,"tag":30,"props":478,"children":479},{"type":373},[],{"type":18,"value":481}," be a valid pointer to a ",{"type":13,"tag":21,"props":483,"children":485},{"className":484},[],[486],{"type":18,"value":487},"uint32_t",{"type":18,"value":489}," value",{"type":13,"tag":415,"props":491,"children":493},{"name":492},"VUID-vkGetQueueCheckpointData2NV-pCheckpointData-parameter",[494],{"type":13,"tag":14,"props":495,"children":496},{},[497,499,504,506,512,514,519,520,525,527,532,533,536,538,543,544,549],{"type":18,"value":498},"If the value referenced by ",{"type":13,"tag":21,"props":500,"children":502},{"className":501},[],[503],{"type":18,"value":308},{"type":18,"value":505}," is not ",{"type":13,"tag":21,"props":507,"children":509},{"className":508},[],[510],{"type":18,"value":511},"0",{"type":18,"value":513},", and ",{"type":13,"tag":21,"props":515,"children":517},{"className":516},[],[518],{"type":18,"value":319},{"type":18,"value":505},{"type":13,"tag":21,"props":521,"children":523},{"className":522},[],[524],{"type":18,"value":327},{"type":18,"value":526},", ",{"type":13,"tag":21,"props":528,"children":530},{"className":529},[],[531],{"type":18,"value":319},{"type":18,"value":370},{"type":13,"tag":30,"props":534,"children":535},{"type":373},[],{"type":18,"value":537}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":539,"children":541},{"className":540},[],[542],{"type":18,"value":308},{"type":18,"value":370},{"type":13,"tag":37,"props":545,"children":547},{"href":546},"/man/VkCheckpointData2NV",[548],{"type":18,"value":335},{"type":18,"value":550}," structures",{"type":13,"tag":552,"props":553,"children":554},"style",{},[555],{"type":18,"value":556},"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":55,"searchDepth":86,"depth":86,"links":558},[],"markdown",1725732621330]