[{"data":1,"prerenderedAt":400},["ShallowReactive",2],{"I4bGi1eOLZ":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"supported_queue_types":11,"tasks":15,"type":17,"xrefs":18,"body":19,"_type":399,"_id":4},"vkCmdSetCheckpointNV","Insert diagnostic checkpoint in command stream","VK_NV_device_diagnostic_checkpoints",[8,9],"primary","secondary","both",[12,13,14],"graphics","compute","transfer",[16],"action","protos",[],{"type":20,"children":21,"toc":397},"root",[22,38,217,243,345,391],{"type":23,"tag":24,"props":25,"children":26},"element","p",{},[27,30,36],{"type":28,"value":29},"text","Device diagnostic checkpoints are inserted into the command stream by\ncalling ",{"type":23,"tag":31,"props":32,"children":34},"a",{"href":33},"/man/vkCmdSetCheckpointNV",[35],{"type":28,"value":4},{"type":28,"value":37},".",{"type":23,"tag":39,"props":40,"children":41},"code-group",{},[42,123],{"type":23,"tag":43,"props":44,"children":50},"pre",{"className":45,"code":46,"filename":47,"language":48,"meta":49,"style":49},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdSetCheckpointNV(\n VkCommandBuffer commandBuffer,\n const void* pCheckpointMarker);\n","C","c","",[51],{"type":23,"tag":52,"props":53,"children":54},"code",{"__ignoreMap":49},[55,79,99],{"type":23,"tag":56,"props":57,"children":60},"span",{"class":58,"line":59},"line",1,[61,67,73],{"type":23,"tag":56,"props":62,"children":64},{"style":63},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[65],{"type":28,"value":66},"void",{"type":23,"tag":56,"props":68,"children":70},{"style":69},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[71],{"type":28,"value":72}," vkCmdSetCheckpointNV",{"type":23,"tag":56,"props":74,"children":76},{"style":75},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[77],{"type":28,"value":78},"(\n",{"type":23,"tag":56,"props":80,"children":82},{"class":58,"line":81},2,[83,88,94],{"type":23,"tag":56,"props":84,"children":85},{"style":75},[86],{"type":28,"value":87}," VkCommandBuffer ",{"type":23,"tag":56,"props":89,"children":91},{"style":90},"--shiki-default:#953800;--shiki-dark:#FFA657",[92],{"type":28,"value":93},"commandBuffer",{"type":23,"tag":56,"props":95,"children":96},{"style":75},[97],{"type":28,"value":98},",\n",{"type":23,"tag":56,"props":100,"children":102},{"class":58,"line":101},3,[103,108,113,118],{"type":23,"tag":56,"props":104,"children":105},{"style":63},[106],{"type":28,"value":107}," const",{"type":23,"tag":56,"props":109,"children":110},{"style":63},[111],{"type":28,"value":112}," void*",{"type":23,"tag":56,"props":114,"children":115},{"style":90},[116],{"type":28,"value":117}," pCheckpointMarker",{"type":23,"tag":56,"props":119,"children":120},{"style":75},[121],{"type":28,"value":122},");\n",{"type":23,"tag":43,"props":124,"children":129},{"className":125,"code":126,"filename":127,"language":128,"meta":49,"style":49},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_set_checkpoint_nv(\n command_buffer: vk::CommandBuffer,\n p_checkpoint_marker: *const c_void,\n);\n","Rust","rs",[130],{"type":23,"tag":52,"props":131,"children":132},{"__ignoreMap":49},[133,155,187,209],{"type":23,"tag":56,"props":134,"children":135},{"class":58,"line":59},[136,141,146,151],{"type":23,"tag":56,"props":137,"children":138},{"style":63},[139],{"type":28,"value":140},"pub",{"type":23,"tag":56,"props":142,"children":143},{"style":63},[144],{"type":28,"value":145}," fn",{"type":23,"tag":56,"props":147,"children":148},{"style":69},[149],{"type":28,"value":150}," cmd_set_checkpoint_nv",{"type":23,"tag":56,"props":152,"children":153},{"style":75},[154],{"type":28,"value":78},{"type":23,"tag":56,"props":156,"children":157},{"class":58,"line":81},[158,163,168,173,178,183],{"type":23,"tag":56,"props":159,"children":160},{"style":75},[161],{"type":28,"value":162}," command_buffer",{"type":23,"tag":56,"props":164,"children":165},{"style":63},[166],{"type":28,"value":167},":",{"type":23,"tag":56,"props":169,"children":170},{"style":90},[171],{"type":28,"value":172}," vk",{"type":23,"tag":56,"props":174,"children":175},{"style":63},[176],{"type":28,"value":177},"::",{"type":23,"tag":56,"props":179,"children":180},{"style":90},[181],{"type":28,"value":182},"CommandBuffer",{"type":23,"tag":56,"props":184,"children":185},{"style":75},[186],{"type":28,"value":98},{"type":23,"tag":56,"props":188,"children":189},{"class":58,"line":101},[190,195,199,204],{"type":23,"tag":56,"props":191,"children":192},{"style":75},[193],{"type":28,"value":194}," p_checkpoint_marker",{"type":23,"tag":56,"props":196,"children":197},{"style":63},[198],{"type":28,"value":167},{"type":23,"tag":56,"props":200,"children":201},{"style":63},[202],{"type":28,"value":203}," *const",{"type":23,"tag":56,"props":205,"children":206},{"style":75},[207],{"type":28,"value":208}," c_void,\n",{"type":23,"tag":56,"props":210,"children":212},{"class":58,"line":211},4,[213],{"type":23,"tag":56,"props":214,"children":215},{"style":75},[216],{"type":28,"value":122},{"type":23,"tag":218,"props":219,"children":220},"ul",{},[221,232],{"type":23,"tag":222,"props":223,"children":224},"li",{},[225,230],{"type":23,"tag":52,"props":226,"children":228},{"className":227},[],[229],{"type":28,"value":93},{"type":28,"value":231}," is the command buffer that will receive the marker",{"type":23,"tag":222,"props":233,"children":234},{},[235,241],{"type":23,"tag":52,"props":236,"children":238},{"className":237},[],[239],{"type":28,"value":240},"pCheckpointMarker",{"type":28,"value":242}," is an opaque application-provided value that\nwill be associated with the checkpoint.",{"type":23,"tag":244,"props":245,"children":247},"validity-group",{"name":246},"Valid Usage (Implicit)",[248,278,302,331],{"type":23,"tag":249,"props":250,"children":252},"validity-field",{"name":251},"VUID-vkCmdSetCheckpointNV-commandBuffer-parameter",[253],{"type":23,"tag":24,"props":254,"children":255},{},[256,261,263,268,270,276],{"type":23,"tag":52,"props":257,"children":259},{"className":258},[],[260],{"type":28,"value":93},{"type":28,"value":262}," ",{"type":23,"tag":264,"props":265,"children":267},"normative",{"type":266},"must",[],{"type":28,"value":269}," be a valid ",{"type":23,"tag":31,"props":271,"children":273},{"href":272},"/man/VkCommandBuffer",[274],{"type":28,"value":275},"VkCommandBuffer",{"type":28,"value":277}," handle",{"type":23,"tag":249,"props":279,"children":281},{"name":280},"VUID-vkCmdSetCheckpointNV-commandBuffer-recording",[282],{"type":23,"tag":24,"props":283,"children":284},{},[285,290,291,294,296],{"type":23,"tag":52,"props":286,"children":288},{"className":287},[],[289],{"type":28,"value":93},{"type":28,"value":262},{"type":23,"tag":264,"props":292,"children":293},{"type":266},[],{"type":28,"value":295}," be in the ",{"type":23,"tag":31,"props":297,"children":299},{"href":298},"/chapters/commandbuffers#commandbuffers-lifecycle",[300],{"type":28,"value":301},"recording state",{"type":23,"tag":249,"props":303,"children":305},{"name":304},"VUID-vkCmdSetCheckpointNV-commandBuffer-cmdpool",[306],{"type":23,"tag":24,"props":307,"children":308},{},[309,311,317,319,324,326,329],{"type":28,"value":310},"The ",{"type":23,"tag":52,"props":312,"children":314},{"className":313},[],[315],{"type":28,"value":316},"VkCommandPool",{"type":28,"value":318}," that ",{"type":23,"tag":52,"props":320,"children":322},{"className":321},[],[323],{"type":28,"value":93},{"type":28,"value":325}," was allocated from ",{"type":23,"tag":264,"props":327,"children":328},{"type":266},[],{"type":28,"value":330}," support graphics, compute, or transfer operations",{"type":23,"tag":249,"props":332,"children":334},{"name":333},"VUID-vkCmdSetCheckpointNV-videocoding",[335],{"type":23,"tag":24,"props":336,"children":337},{},[338,340,343],{"type":28,"value":339},"This command ",{"type":23,"tag":264,"props":341,"children":342},{"type":266},[],{"type":28,"value":344}," only be called outside of a video coding scope",{"type":23,"tag":346,"props":347,"children":349},"validity-box",{"name":348},"Host Synchronization",[350],{"type":23,"tag":218,"props":351,"children":352},{},[353,369],{"type":23,"tag":222,"props":354,"children":355},{},[356,358,363,364,367],{"type":28,"value":357},"Host access to ",{"type":23,"tag":52,"props":359,"children":361},{"className":360},[],[362],{"type":28,"value":93},{"type":28,"value":262},{"type":23,"tag":264,"props":365,"children":366},{"type":266},[],{"type":28,"value":368}," be externally synchronized",{"type":23,"tag":222,"props":370,"children":371},{},[372,374,379,380,385,386,389],{"type":28,"value":373},"Host access to the ",{"type":23,"tag":52,"props":375,"children":377},{"className":376},[],[378],{"type":28,"value":316},{"type":28,"value":318},{"type":23,"tag":52,"props":381,"children":383},{"className":382},[],[384],{"type":28,"value":93},{"type":28,"value":325},{"type":23,"tag":264,"props":387,"children":388},{"type":266},[],{"type":28,"value":390}," be externally synchronized\n::",{"type":23,"tag":392,"props":393,"children":394},"style",{},[395],{"type":28,"value":396},"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":49,"searchDepth":81,"depth":81,"links":398},[],"markdown",1725732607787]