[{"data":1,"prerenderedAt":519},["ShallowReactive",2],{"nSM3fJAJlN":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"supported_queue_types":11,"tasks":14,"type":16,"xrefs":17,"body":18,"_type":518,"_id":4},"vkCmdPreprocessGeneratedCommandsNV","Performs preprocessing for generated commands","VK_NV_device_generated_commands",[8,9],"primary","secondary","outside",[12,13],"graphics","compute",[15],"action","protos",[],{"type":19,"children":20,"toc":516},"root",[21,36,232,267,330,464,510],{"type":22,"tag":23,"props":24,"children":25},"element","p",{},[26,29,34],{"type":27,"value":28},"text","Commands ",{"type":22,"tag":30,"props":31,"children":33},"normative",{"type":32},"can",[],{"type":27,"value":35}," be preprocessed prior execution using the following command:",{"type":22,"tag":37,"props":38,"children":39},"code-group",{},[40,126],{"type":22,"tag":41,"props":42,"children":48},"pre",{"className":43,"code":44,"filename":45,"language":46,"meta":47,"style":47},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdPreprocessGeneratedCommandsNV(\n VkCommandBuffer commandBuffer,\n const VkGeneratedCommandsInfoNV* pGeneratedCommandsInfo);\n","C","c","",[49],{"type":22,"tag":50,"props":51,"children":52},"code",{"__ignoreMap":47},[53,77,97],{"type":22,"tag":54,"props":55,"children":58},"span",{"class":56,"line":57},"line",1,[59,65,71],{"type":22,"tag":54,"props":60,"children":62},{"style":61},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[63],{"type":27,"value":64},"void",{"type":22,"tag":54,"props":66,"children":68},{"style":67},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[69],{"type":27,"value":70}," vkCmdPreprocessGeneratedCommandsNV",{"type":22,"tag":54,"props":72,"children":74},{"style":73},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[75],{"type":27,"value":76},"(\n",{"type":22,"tag":54,"props":78,"children":80},{"class":56,"line":79},2,[81,86,92],{"type":22,"tag":54,"props":82,"children":83},{"style":73},[84],{"type":27,"value":85}," VkCommandBuffer ",{"type":22,"tag":54,"props":87,"children":89},{"style":88},"--shiki-default:#953800;--shiki-dark:#FFA657",[90],{"type":27,"value":91},"commandBuffer",{"type":22,"tag":54,"props":93,"children":94},{"style":73},[95],{"type":27,"value":96},",\n",{"type":22,"tag":54,"props":98,"children":100},{"class":56,"line":99},3,[101,106,111,116,121],{"type":22,"tag":54,"props":102,"children":103},{"style":61},[104],{"type":27,"value":105}," const",{"type":22,"tag":54,"props":107,"children":108},{"style":73},[109],{"type":27,"value":110}," VkGeneratedCommandsInfoNV",{"type":22,"tag":54,"props":112,"children":113},{"style":61},[114],{"type":27,"value":115},"*",{"type":22,"tag":54,"props":117,"children":118},{"style":88},[119],{"type":27,"value":120}," pGeneratedCommandsInfo",{"type":22,"tag":54,"props":122,"children":123},{"style":73},[124],{"type":27,"value":125},");\n",{"type":22,"tag":41,"props":127,"children":132},{"className":128,"code":129,"filename":130,"language":131,"meta":47,"style":47},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_preprocess_generated_commands_nv(\n command_buffer: vk::CommandBuffer,\n p_generated_commands_info: *const vk::GeneratedCommandsInfoNV,\n);\n","Rust","rs",[133],{"type":22,"tag":50,"props":134,"children":135},{"__ignoreMap":47},[136,158,190,224],{"type":22,"tag":54,"props":137,"children":138},{"class":56,"line":57},[139,144,149,154],{"type":22,"tag":54,"props":140,"children":141},{"style":61},[142],{"type":27,"value":143},"pub",{"type":22,"tag":54,"props":145,"children":146},{"style":61},[147],{"type":27,"value":148}," fn",{"type":22,"tag":54,"props":150,"children":151},{"style":67},[152],{"type":27,"value":153}," cmd_preprocess_generated_commands_nv",{"type":22,"tag":54,"props":155,"children":156},{"style":73},[157],{"type":27,"value":76},{"type":22,"tag":54,"props":159,"children":160},{"class":56,"line":79},[161,166,171,176,181,186],{"type":22,"tag":54,"props":162,"children":163},{"style":73},[164],{"type":27,"value":165}," command_buffer",{"type":22,"tag":54,"props":167,"children":168},{"style":61},[169],{"type":27,"value":170},":",{"type":22,"tag":54,"props":172,"children":173},{"style":88},[174],{"type":27,"value":175}," vk",{"type":22,"tag":54,"props":177,"children":178},{"style":61},[179],{"type":27,"value":180},"::",{"type":22,"tag":54,"props":182,"children":183},{"style":88},[184],{"type":27,"value":185},"CommandBuffer",{"type":22,"tag":54,"props":187,"children":188},{"style":73},[189],{"type":27,"value":96},{"type":22,"tag":54,"props":191,"children":192},{"class":56,"line":99},[193,198,202,207,211,215,220],{"type":22,"tag":54,"props":194,"children":195},{"style":73},[196],{"type":27,"value":197}," p_generated_commands_info",{"type":22,"tag":54,"props":199,"children":200},{"style":61},[201],{"type":27,"value":170},{"type":22,"tag":54,"props":203,"children":204},{"style":61},[205],{"type":27,"value":206}," *const",{"type":22,"tag":54,"props":208,"children":209},{"style":88},[210],{"type":27,"value":175},{"type":22,"tag":54,"props":212,"children":213},{"style":61},[214],{"type":27,"value":180},{"type":22,"tag":54,"props":216,"children":217},{"style":88},[218],{"type":27,"value":219},"GeneratedCommandsInfoNV",{"type":22,"tag":54,"props":221,"children":222},{"style":73},[223],{"type":27,"value":96},{"type":22,"tag":54,"props":225,"children":227},{"class":56,"line":226},4,[228],{"type":22,"tag":54,"props":229,"children":230},{"style":73},[231],{"type":27,"value":125},{"type":22,"tag":233,"props":234,"children":235},"ul",{},[236,247],{"type":22,"tag":237,"props":238,"children":239},"li",{},[240,245],{"type":22,"tag":50,"props":241,"children":243},{"className":242},[],[244],{"type":27,"value":91},{"type":27,"value":246}," is the command buffer which does the preprocessing.",{"type":22,"tag":237,"props":248,"children":249},{},[250,256,258,265],{"type":22,"tag":50,"props":251,"children":253},{"className":252},[],[254],{"type":27,"value":255},"pGeneratedCommandsInfo",{"type":27,"value":257}," is a pointer to a\n",{"type":22,"tag":259,"props":260,"children":262},"a",{"href":261},"/man/VkGeneratedCommandsInfoNV",[263],{"type":27,"value":264},"VkGeneratedCommandsInfoNV",{"type":27,"value":266}," structure containing parameters\naffecting the preprocessing step.",{"type":22,"tag":268,"props":269,"children":271},"validity-group",{"name":270},"Valid Usage",[272,296],{"type":22,"tag":273,"props":274,"children":276},"validity-field",{"name":275},"VUID-vkCmdPreprocessGeneratedCommandsNV-pGeneratedCommandsInfo-02927",[277],{"type":22,"tag":23,"props":278,"children":279},{},[280,286,288,294],{"type":22,"tag":50,"props":281,"children":283},{"className":282},[],[284],{"type":27,"value":285},"pGeneratedCommandsInfo``s ",{"type":27,"value":287},"indirectCommandsLayout",{"type":22,"tag":50,"props":289,"children":291},{"className":290},[],[292],{"type":27,"value":293},":normative{type=\"must\"} have been created with the",{"type":27,"value":295},"VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_NV` bit\nset",{"type":22,"tag":273,"props":297,"children":299},{"name":298},"VUID-vkCmdPreprocessGeneratedCommandsNV-deviceGeneratedCommands-02928",[300],{"type":22,"tag":23,"props":301,"children":302},{},[303,305,322,324,328],{"type":27,"value":304},"The ",{"type":22,"tag":259,"props":306,"children":308},{"href":307},"/man/VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV#features-deviceGeneratedCommandsNV",[309,315,316],{"type":22,"tag":50,"props":310,"children":312},{"className":311},[],[313],{"type":27,"value":314},"VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV",{"type":27,"value":180},{"type":22,"tag":50,"props":317,"children":319},{"className":318},[],[320],{"type":27,"value":321},"deviceGeneratedCommands",{"type":27,"value":323},"\nfeature ",{"type":22,"tag":30,"props":325,"children":327},{"type":326},"must",[],{"type":27,"value":329}," be enabled",{"type":22,"tag":268,"props":331,"children":333},{"name":332},"Valid Usage (Implicit)",[334,361,385,409,437,451],{"type":22,"tag":273,"props":335,"children":337},{"name":336},"VUID-vkCmdPreprocessGeneratedCommandsNV-commandBuffer-parameter",[338],{"type":22,"tag":23,"props":339,"children":340},{},[341,346,348,351,353,359],{"type":22,"tag":50,"props":342,"children":344},{"className":343},[],[345],{"type":27,"value":91},{"type":27,"value":347}," ",{"type":22,"tag":30,"props":349,"children":350},{"type":326},[],{"type":27,"value":352}," be a valid ",{"type":22,"tag":259,"props":354,"children":356},{"href":355},"/man/VkCommandBuffer",[357],{"type":27,"value":358},"VkCommandBuffer",{"type":27,"value":360}," handle",{"type":22,"tag":273,"props":362,"children":364},{"name":363},"VUID-vkCmdPreprocessGeneratedCommandsNV-pGeneratedCommandsInfo-parameter",[365],{"type":22,"tag":23,"props":366,"children":367},{},[368,373,374,377,379,383],{"type":22,"tag":50,"props":369,"children":371},{"className":370},[],[372],{"type":27,"value":255},{"type":27,"value":347},{"type":22,"tag":30,"props":375,"children":376},{"type":326},[],{"type":27,"value":378}," be a valid pointer to a valid ",{"type":22,"tag":259,"props":380,"children":381},{"href":261},[382],{"type":27,"value":264},{"type":27,"value":384}," structure",{"type":22,"tag":273,"props":386,"children":388},{"name":387},"VUID-vkCmdPreprocessGeneratedCommandsNV-commandBuffer-recording",[389],{"type":22,"tag":23,"props":390,"children":391},{},[392,397,398,401,403],{"type":22,"tag":50,"props":393,"children":395},{"className":394},[],[396],{"type":27,"value":91},{"type":27,"value":347},{"type":22,"tag":30,"props":399,"children":400},{"type":326},[],{"type":27,"value":402}," be in the ",{"type":22,"tag":259,"props":404,"children":406},{"href":405},"/chapters/commandbuffers#commandbuffers-lifecycle",[407],{"type":27,"value":408},"recording state",{"type":22,"tag":273,"props":410,"children":412},{"name":411},"VUID-vkCmdPreprocessGeneratedCommandsNV-commandBuffer-cmdpool",[413],{"type":22,"tag":23,"props":414,"children":415},{},[416,417,423,425,430,432,435],{"type":27,"value":304},{"type":22,"tag":50,"props":418,"children":420},{"className":419},[],[421],{"type":27,"value":422},"VkCommandPool",{"type":27,"value":424}," that ",{"type":22,"tag":50,"props":426,"children":428},{"className":427},[],[429],{"type":27,"value":91},{"type":27,"value":431}," was allocated from ",{"type":22,"tag":30,"props":433,"children":434},{"type":326},[],{"type":27,"value":436}," support graphics, or compute operations",{"type":22,"tag":273,"props":438,"children":440},{"name":439},"VUID-vkCmdPreprocessGeneratedCommandsNV-renderpass",[441],{"type":22,"tag":23,"props":442,"children":443},{},[444,446,449],{"type":27,"value":445},"This command ",{"type":22,"tag":30,"props":447,"children":448},{"type":326},[],{"type":27,"value":450}," only be called outside of a render pass instance",{"type":22,"tag":273,"props":452,"children":454},{"name":453},"VUID-vkCmdPreprocessGeneratedCommandsNV-videocoding",[455],{"type":22,"tag":23,"props":456,"children":457},{},[458,459,462],{"type":27,"value":445},{"type":22,"tag":30,"props":460,"children":461},{"type":326},[],{"type":27,"value":463}," only be called outside of a video coding scope",{"type":22,"tag":465,"props":466,"children":468},"validity-box",{"name":467},"Host Synchronization",[469],{"type":22,"tag":233,"props":470,"children":471},{},[472,488],{"type":22,"tag":237,"props":473,"children":474},{},[475,477,482,483,486],{"type":27,"value":476},"Host access to ",{"type":22,"tag":50,"props":478,"children":480},{"className":479},[],[481],{"type":27,"value":91},{"type":27,"value":347},{"type":22,"tag":30,"props":484,"children":485},{"type":326},[],{"type":27,"value":487}," be externally synchronized",{"type":22,"tag":237,"props":489,"children":490},{},[491,493,498,499,504,505,508],{"type":27,"value":492},"Host access to the ",{"type":22,"tag":50,"props":494,"children":496},{"className":495},[],[497],{"type":27,"value":422},{"type":27,"value":424},{"type":22,"tag":50,"props":500,"children":502},{"className":501},[],[503],{"type":27,"value":91},{"type":27,"value":431},{"type":22,"tag":30,"props":506,"children":507},{"type":326},[],{"type":27,"value":509}," be externally synchronized\n::",{"type":22,"tag":511,"props":512,"children":513},"style",{},[514],{"type":27,"value":515},"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":47,"searchDepth":79,"depth":79,"links":517},[],"markdown",1729612502826]