[{"data":1,"prerenderedAt":564},["ShallowReactive",2],{"PdBjCIE3Es":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":563,"_id":4},"vkGetQueueCheckpointDataNV","Retrieve diagnostic checkpoint data","VK_NV_device_diagnostic_checkpoints","protos",[],{"type":10,"children":11,"toc":561},"root",[12,44,277,338,364,395,413,440,555],{"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 a certain\npoint during 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/vkGetQueueCheckpointDataNV",[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 vkGetQueueCheckpointDataNV(\n VkQueue queue,\n uint32_t* pCheckpointDataCount,\n VkCheckpointDataNV* 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}," vkGetQueueCheckpointDataNV",{"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}," VkCheckpointDataNV",{"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_data_nv(\n queue: vk::Queue,\n p_checkpoint_data_count: *mut u32,\n p_checkpoint_data: *mut vk::CheckpointDataNV,\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_data_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},"CheckpointDataNV",{"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},"VkCheckpointDataNV",{"type":18,"value":337}," structures.",{"type":13,"tag":14,"props":339,"children":340},{},[341,343,348,350,355,357,362],{"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},".",{"type":13,"tag":14,"props":365,"children":366},{},[367,369,374,376,380,382,387,389,394],{"type":18,"value":368},"Otherwise, ",{"type":13,"tag":21,"props":370,"children":372},{"className":371},[],[373],{"type":18,"value":308},{"type":18,"value":375}," ",{"type":13,"tag":30,"props":377,"children":379},{"type":378},"must",[],{"type":18,"value":381}," point to a variable set by the\napplication to the number of elements in the ",{"type":13,"tag":21,"props":383,"children":385},{"className":384},[],[386],{"type":18,"value":319},{"type":18,"value":388}," array,\nand on return the variable is overwritten with the number of structures\nactually written to ",{"type":13,"tag":21,"props":390,"children":392},{"className":391},[],[393],{"type":18,"value":319},{"type":18,"value":363},{"type":13,"tag":14,"props":396,"children":397},{},[398,399,404,406,411],{"type":18,"value":342},{"type":13,"tag":21,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":308},{"type":18,"value":405}," is less than the number of checkpoint markers\navailable, at most ",{"type":13,"tag":21,"props":407,"children":409},{"className":408},[],[410],{"type":18,"value":308},{"type":18,"value":412}," structures will be written.",{"type":13,"tag":414,"props":415,"children":417},"validity-group",{"name":416},"Valid Usage",[418],{"type":13,"tag":419,"props":420,"children":422},"validity-field",{"name":421},"VUID-vkGetQueueCheckpointDataNV-queue-02025",[423],{"type":13,"tag":14,"props":424,"children":425},{},[426,428,433,435,438],{"type":18,"value":427},"The device that ",{"type":13,"tag":21,"props":429,"children":431},{"className":430},[],[432],{"type":18,"value":98},{"type":18,"value":434}," belongs to ",{"type":13,"tag":30,"props":436,"children":437},{"type":378},[],{"type":18,"value":439}," be in the lost state",{"type":13,"tag":414,"props":441,"children":443},{"name":442},"Valid Usage (Implicit)",[444,468,494],{"type":13,"tag":419,"props":445,"children":447},{"name":446},"VUID-vkGetQueueCheckpointDataNV-queue-parameter",[448],{"type":13,"tag":14,"props":449,"children":450},{},[451,456,457,460,462,466],{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":98},{"type":18,"value":375},{"type":13,"tag":30,"props":458,"children":459},{"type":378},[],{"type":18,"value":461}," be a valid ",{"type":13,"tag":37,"props":463,"children":464},{"href":294},[465],{"type":18,"value":297},{"type":18,"value":467}," handle",{"type":13,"tag":419,"props":469,"children":471},{"name":470},"VUID-vkGetQueueCheckpointDataNV-pCheckpointDataCount-parameter",[472],{"type":13,"tag":14,"props":473,"children":474},{},[475,480,481,484,486,492],{"type":13,"tag":21,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":308},{"type":18,"value":375},{"type":13,"tag":30,"props":482,"children":483},{"type":378},[],{"type":18,"value":485}," be a valid pointer to a ",{"type":13,"tag":21,"props":487,"children":489},{"className":488},[],[490],{"type":18,"value":491},"uint32_t",{"type":18,"value":493}," value",{"type":13,"tag":419,"props":495,"children":497},{"name":496},"VUID-vkGetQueueCheckpointDataNV-pCheckpointData-parameter",[498],{"type":13,"tag":14,"props":499,"children":500},{},[501,503,508,510,516,518,523,524,529,531,536,537,540,542,547,548,553],{"type":18,"value":502},"If the value referenced by ",{"type":13,"tag":21,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":308},{"type":18,"value":509}," is not ",{"type":13,"tag":21,"props":511,"children":513},{"className":512},[],[514],{"type":18,"value":515},"0",{"type":18,"value":517},", and ",{"type":13,"tag":21,"props":519,"children":521},{"className":520},[],[522],{"type":18,"value":319},{"type":18,"value":509},{"type":13,"tag":21,"props":525,"children":527},{"className":526},[],[528],{"type":18,"value":327},{"type":18,"value":530},", ",{"type":13,"tag":21,"props":532,"children":534},{"className":533},[],[535],{"type":18,"value":319},{"type":18,"value":375},{"type":13,"tag":30,"props":538,"children":539},{"type":378},[],{"type":18,"value":541}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":543,"children":545},{"className":544},[],[546],{"type":18,"value":308},{"type":18,"value":375},{"type":13,"tag":37,"props":549,"children":551},{"href":550},"/man/VkCheckpointDataNV",[552],{"type":18,"value":335},{"type":18,"value":554}," structures",{"type":13,"tag":556,"props":557,"children":558},"style",{},[559],{"type":18,"value":560},"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":562},[],"markdown",1725732621359]