[{"data":1,"prerenderedAt":1499},["ShallowReactive",2],{"W9UY2W2M83":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":1498,"_id":4},"vkCmdCopyMemoryToImageIndirectNV","Copy data from a memory region into an image","VK_NV_copy_memory_indirect",[8,9],"primary","secondary","outside",[12,13,14],"transfer","graphics","compute",[16],"action","protos",[],{"type":20,"children":21,"toc":1496},"root",[22,30,443,545,596,1201,1444,1490],{"type":23,"tag":24,"props":25,"children":26},"element","p",{},[27],{"type":28,"value":29},"text","To copy data from a memory region to an image object by specifying copy\nparameters in a buffer, call:",{"type":23,"tag":31,"props":32,"children":33},"code-group",{},[34,209],{"type":23,"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","void vkCmdCopyMemoryToImageIndirectNV(\n VkCommandBuffer commandBuffer,\n VkDeviceAddress copyBufferAddress,\n uint32_t copyCount,\n uint32_t stride,\n VkImage dstImage,\n VkImageLayout dstImageLayout,\n const VkImageSubresourceLayers* pImageSubresources);\n","C","c","",[43],{"type":23,"tag":44,"props":45,"children":46},"code",{"__ignoreMap":41},[47,71,91,109,127,144,162,180],{"type":23,"tag":48,"props":49,"children":52},"span",{"class":50,"line":51},"line",1,[53,59,65],{"type":23,"tag":48,"props":54,"children":56},{"style":55},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[57],{"type":28,"value":58},"void",{"type":23,"tag":48,"props":60,"children":62},{"style":61},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[63],{"type":28,"value":64}," vkCmdCopyMemoryToImageIndirectNV",{"type":23,"tag":48,"props":66,"children":68},{"style":67},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[69],{"type":28,"value":70},"(\n",{"type":23,"tag":48,"props":72,"children":74},{"class":50,"line":73},2,[75,80,86],{"type":23,"tag":48,"props":76,"children":77},{"style":67},[78],{"type":28,"value":79}," VkCommandBuffer ",{"type":23,"tag":48,"props":81,"children":83},{"style":82},"--shiki-default:#953800;--shiki-dark:#FFA657",[84],{"type":28,"value":85},"commandBuffer",{"type":23,"tag":48,"props":87,"children":88},{"style":67},[89],{"type":28,"value":90},",\n",{"type":23,"tag":48,"props":92,"children":94},{"class":50,"line":93},3,[95,100,105],{"type":23,"tag":48,"props":96,"children":97},{"style":67},[98],{"type":28,"value":99}," VkDeviceAddress ",{"type":23,"tag":48,"props":101,"children":102},{"style":82},[103],{"type":28,"value":104},"copyBufferAddress",{"type":23,"tag":48,"props":106,"children":107},{"style":67},[108],{"type":28,"value":90},{"type":23,"tag":48,"props":110,"children":112},{"class":50,"line":111},4,[113,118,123],{"type":23,"tag":48,"props":114,"children":115},{"style":55},[116],{"type":28,"value":117}," uint32_t",{"type":23,"tag":48,"props":119,"children":120},{"style":82},[121],{"type":28,"value":122}," copyCount",{"type":23,"tag":48,"props":124,"children":125},{"style":67},[126],{"type":28,"value":90},{"type":23,"tag":48,"props":128,"children":130},{"class":50,"line":129},5,[131,135,140],{"type":23,"tag":48,"props":132,"children":133},{"style":55},[134],{"type":28,"value":117},{"type":23,"tag":48,"props":136,"children":137},{"style":82},[138],{"type":28,"value":139}," stride",{"type":23,"tag":48,"props":141,"children":142},{"style":67},[143],{"type":28,"value":90},{"type":23,"tag":48,"props":145,"children":147},{"class":50,"line":146},6,[148,153,158],{"type":23,"tag":48,"props":149,"children":150},{"style":67},[151],{"type":28,"value":152}," VkImage ",{"type":23,"tag":48,"props":154,"children":155},{"style":82},[156],{"type":28,"value":157},"dstImage",{"type":23,"tag":48,"props":159,"children":160},{"style":67},[161],{"type":28,"value":90},{"type":23,"tag":48,"props":163,"children":165},{"class":50,"line":164},7,[166,171,176],{"type":23,"tag":48,"props":167,"children":168},{"style":67},[169],{"type":28,"value":170}," VkImageLayout ",{"type":23,"tag":48,"props":172,"children":173},{"style":82},[174],{"type":28,"value":175},"dstImageLayout",{"type":23,"tag":48,"props":177,"children":178},{"style":67},[179],{"type":28,"value":90},{"type":23,"tag":48,"props":181,"children":183},{"class":50,"line":182},8,[184,189,194,199,204],{"type":23,"tag":48,"props":185,"children":186},{"style":55},[187],{"type":28,"value":188}," const",{"type":23,"tag":48,"props":190,"children":191},{"style":67},[192],{"type":28,"value":193}," VkImageSubresourceLayers",{"type":23,"tag":48,"props":195,"children":196},{"style":55},[197],{"type":28,"value":198},"*",{"type":23,"tag":48,"props":200,"children":201},{"style":82},[202],{"type":28,"value":203}," pImageSubresources",{"type":23,"tag":48,"props":205,"children":206},{"style":67},[207],{"type":28,"value":208},");\n",{"type":23,"tag":35,"props":210,"children":215},{"className":211,"code":212,"filename":213,"language":214,"meta":41,"style":41},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_copy_memory_to_image_indirect_nv(\n command_buffer: vk::CommandBuffer,\n copy_buffer_address: vk::DeviceAddress,\n copy_count: u32,\n stride: u32,\n dst_image: vk::Image,\n dst_image_layout: vk::ImageLayout,\n p_image_subresources: *const vk::ImageSubresourceLayers,\n);\n","Rust","rs",[216],{"type":23,"tag":44,"props":217,"children":218},{"__ignoreMap":41},[219,241,273,302,323,343,372,401,435],{"type":23,"tag":48,"props":220,"children":221},{"class":50,"line":51},[222,227,232,237],{"type":23,"tag":48,"props":223,"children":224},{"style":55},[225],{"type":28,"value":226},"pub",{"type":23,"tag":48,"props":228,"children":229},{"style":55},[230],{"type":28,"value":231}," fn",{"type":23,"tag":48,"props":233,"children":234},{"style":61},[235],{"type":28,"value":236}," cmd_copy_memory_to_image_indirect_nv",{"type":23,"tag":48,"props":238,"children":239},{"style":67},[240],{"type":28,"value":70},{"type":23,"tag":48,"props":242,"children":243},{"class":50,"line":73},[244,249,254,259,264,269],{"type":23,"tag":48,"props":245,"children":246},{"style":67},[247],{"type":28,"value":248}," command_buffer",{"type":23,"tag":48,"props":250,"children":251},{"style":55},[252],{"type":28,"value":253},":",{"type":23,"tag":48,"props":255,"children":256},{"style":82},[257],{"type":28,"value":258}," vk",{"type":23,"tag":48,"props":260,"children":261},{"style":55},[262],{"type":28,"value":263},"::",{"type":23,"tag":48,"props":265,"children":266},{"style":82},[267],{"type":28,"value":268},"CommandBuffer",{"type":23,"tag":48,"props":270,"children":271},{"style":67},[272],{"type":28,"value":90},{"type":23,"tag":48,"props":274,"children":275},{"class":50,"line":93},[276,281,285,289,293,298],{"type":23,"tag":48,"props":277,"children":278},{"style":67},[279],{"type":28,"value":280}," copy_buffer_address",{"type":23,"tag":48,"props":282,"children":283},{"style":55},[284],{"type":28,"value":253},{"type":23,"tag":48,"props":286,"children":287},{"style":82},[288],{"type":28,"value":258},{"type":23,"tag":48,"props":290,"children":291},{"style":55},[292],{"type":28,"value":263},{"type":23,"tag":48,"props":294,"children":295},{"style":82},[296],{"type":28,"value":297},"DeviceAddress",{"type":23,"tag":48,"props":299,"children":300},{"style":67},[301],{"type":28,"value":90},{"type":23,"tag":48,"props":303,"children":304},{"class":50,"line":111},[305,310,314,319],{"type":23,"tag":48,"props":306,"children":307},{"style":67},[308],{"type":28,"value":309}," copy_count",{"type":23,"tag":48,"props":311,"children":312},{"style":55},[313],{"type":28,"value":253},{"type":23,"tag":48,"props":315,"children":316},{"style":82},[317],{"type":28,"value":318}," u32",{"type":23,"tag":48,"props":320,"children":321},{"style":67},[322],{"type":28,"value":90},{"type":23,"tag":48,"props":324,"children":325},{"class":50,"line":129},[326,331,335,339],{"type":23,"tag":48,"props":327,"children":328},{"style":67},[329],{"type":28,"value":330}," stride",{"type":23,"tag":48,"props":332,"children":333},{"style":55},[334],{"type":28,"value":253},{"type":23,"tag":48,"props":336,"children":337},{"style":82},[338],{"type":28,"value":318},{"type":23,"tag":48,"props":340,"children":341},{"style":67},[342],{"type":28,"value":90},{"type":23,"tag":48,"props":344,"children":345},{"class":50,"line":146},[346,351,355,359,363,368],{"type":23,"tag":48,"props":347,"children":348},{"style":67},[349],{"type":28,"value":350}," dst_image",{"type":23,"tag":48,"props":352,"children":353},{"style":55},[354],{"type":28,"value":253},{"type":23,"tag":48,"props":356,"children":357},{"style":82},[358],{"type":28,"value":258},{"type":23,"tag":48,"props":360,"children":361},{"style":55},[362],{"type":28,"value":263},{"type":23,"tag":48,"props":364,"children":365},{"style":82},[366],{"type":28,"value":367},"Image",{"type":23,"tag":48,"props":369,"children":370},{"style":67},[371],{"type":28,"value":90},{"type":23,"tag":48,"props":373,"children":374},{"class":50,"line":164},[375,380,384,388,392,397],{"type":23,"tag":48,"props":376,"children":377},{"style":67},[378],{"type":28,"value":379}," dst_image_layout",{"type":23,"tag":48,"props":381,"children":382},{"style":55},[383],{"type":28,"value":253},{"type":23,"tag":48,"props":385,"children":386},{"style":82},[387],{"type":28,"value":258},{"type":23,"tag":48,"props":389,"children":390},{"style":55},[391],{"type":28,"value":263},{"type":23,"tag":48,"props":393,"children":394},{"style":82},[395],{"type":28,"value":396},"ImageLayout",{"type":23,"tag":48,"props":398,"children":399},{"style":67},[400],{"type":28,"value":90},{"type":23,"tag":48,"props":402,"children":403},{"class":50,"line":182},[404,409,413,418,422,426,431],{"type":23,"tag":48,"props":405,"children":406},{"style":67},[407],{"type":28,"value":408}," p_image_subresources",{"type":23,"tag":48,"props":410,"children":411},{"style":55},[412],{"type":28,"value":253},{"type":23,"tag":48,"props":414,"children":415},{"style":55},[416],{"type":28,"value":417}," *const",{"type":23,"tag":48,"props":419,"children":420},{"style":82},[421],{"type":28,"value":258},{"type":23,"tag":48,"props":423,"children":424},{"style":55},[425],{"type":28,"value":263},{"type":23,"tag":48,"props":427,"children":428},{"style":82},[429],{"type":28,"value":430},"ImageSubresourceLayers",{"type":23,"tag":48,"props":432,"children":433},{"style":67},[434],{"type":28,"value":90},{"type":23,"tag":48,"props":436,"children":438},{"class":50,"line":437},9,[439],{"type":23,"tag":48,"props":440,"children":441},{"style":67},[442],{"type":28,"value":208},{"type":23,"tag":444,"props":445,"children":446},"ul",{},[447,458,477,488,499,509,519],{"type":23,"tag":448,"props":449,"children":450},"li",{},[451,456],{"type":23,"tag":44,"props":452,"children":454},{"className":453},[],[455],{"type":28,"value":85},{"type":28,"value":457}," is the command buffer into which the command will be\nrecorded.",{"type":23,"tag":448,"props":459,"children":460},{},[461,466,468,475],{"type":23,"tag":44,"props":462,"children":464},{"className":463},[],[465],{"type":28,"value":104},{"type":28,"value":467}," is the buffer address specifying the copy\nparameters.\nThis buffer is laid out in memory as an array of\n",{"type":23,"tag":469,"props":470,"children":472},"a",{"href":471},"/man/VkCopyMemoryToImageIndirectCommandNV",[473],{"type":28,"value":474},"VkCopyMemoryToImageIndirectCommandNV",{"type":28,"value":476}," structures.",{"type":23,"tag":448,"props":478,"children":479},{},[480,486],{"type":23,"tag":44,"props":481,"children":483},{"className":482},[],[484],{"type":28,"value":485},"copyCount",{"type":28,"value":487}," is the number of copies to execute, and can be zero.",{"type":23,"tag":448,"props":489,"children":490},{},[491,497],{"type":23,"tag":44,"props":492,"children":494},{"className":493},[],[495],{"type":28,"value":496},"stride",{"type":28,"value":498}," is the byte stride between successive sets of copy\nparameters.",{"type":23,"tag":448,"props":500,"children":501},{},[502,507],{"type":23,"tag":44,"props":503,"children":505},{"className":504},[],[506],{"type":28,"value":157},{"type":28,"value":508}," is the destination image.",{"type":23,"tag":448,"props":510,"children":511},{},[512,517],{"type":23,"tag":44,"props":513,"children":515},{"className":514},[],[516],{"type":28,"value":175},{"type":28,"value":518}," is the layout of the destination image subresources\nfor the copy.",{"type":23,"tag":448,"props":520,"children":521},{},[522,528,530,535,537,543],{"type":23,"tag":44,"props":523,"children":525},{"className":524},[],[526],{"type":28,"value":527},"pImageSubresources",{"type":28,"value":529}," is a pointer to an array of size\n",{"type":23,"tag":44,"props":531,"children":533},{"className":532},[],[534],{"type":28,"value":485},{"type":28,"value":536}," of ",{"type":23,"tag":469,"props":538,"children":540},{"href":539},"/man/VkImageSubresourceLayers",[541],{"type":28,"value":542},"VkImageSubresourceLayers",{"type":28,"value":544}," used to specify the\nspecific image subresource of the destination image data for that copy.",{"type":23,"tag":24,"props":546,"children":547},{},[548,550,555,557,563,565,571,573,579,581,586,588,594],{"type":28,"value":549},"Each region in ",{"type":23,"tag":44,"props":551,"children":553},{"className":552},[],[554],{"type":28,"value":104},{"type":28,"value":556}," is copied from the source memory\nregion to an image region in the destination image.\nIf the destination image is of type ",{"type":23,"tag":44,"props":558,"children":560},{"className":559},[],[561],{"type":28,"value":562},"VK_IMAGE_TYPE_3D",{"type":28,"value":564},", the starting\nslice and number of slices to copy are specified in\n",{"type":23,"tag":44,"props":566,"children":568},{"className":567},[],[569],{"type":28,"value":570},"pImageSubresources→baseArrayLayer",{"type":28,"value":572}," and\n",{"type":23,"tag":44,"props":574,"children":576},{"className":575},[],[577],{"type":28,"value":578},"pImageSubresources→layerCount",{"type":28,"value":580}," respectively.\nThe copy ",{"type":23,"tag":582,"props":583,"children":585},"normative",{"type":584},"must",[],{"type":28,"value":587}," be performed on a queue that supports indirect copy\noperations, see ",{"type":23,"tag":469,"props":589,"children":591},{"href":590},"/man/VkPhysicalDeviceCopyMemoryIndirectPropertiesNV",[592],{"type":28,"value":593},"VkPhysicalDeviceCopyMemoryIndirectPropertiesNV",{"type":28,"value":595},".",{"type":23,"tag":597,"props":598,"children":600},"validity-group",{"name":599},"Valid Usage",[601,628,647,674,698,724,753,777,808,847,892,956,998,1030,1094,1145,1164],{"type":23,"tag":602,"props":603,"children":605},"validity-field",{"name":604},"VUID-vkCmdCopyMemoryToImageIndirectNV-None-07660",[606],{"type":23,"tag":24,"props":607,"children":608},{},[609,611,621,623,626],{"type":28,"value":610},"The ",{"type":23,"tag":469,"props":612,"children":614},{"href":613},"/man/VkPhysicalDeviceCopyMemoryIndirectFeaturesNV#features-indirectCopy",[615],{"type":23,"tag":44,"props":616,"children":618},{"className":617},[],[619],{"type":28,"value":620},"indirectCopy",{"type":28,"value":622}," feature ",{"type":23,"tag":582,"props":624,"children":625},{"type":584},[],{"type":28,"value":627}," be\nenabled",{"type":23,"tag":602,"props":629,"children":631},{"name":630},"VUID-vkCmdCopyMemoryToImageIndirectNV-dstImage-07661",[632],{"type":23,"tag":24,"props":633,"children":634},{},[635,640,642,645],{"type":23,"tag":44,"props":636,"children":638},{"className":637},[],[639],{"type":28,"value":157},{"type":28,"value":641}," ",{"type":23,"tag":582,"props":643,"children":644},{"type":584},[],{"type":28,"value":646}," not be a protected image",{"type":23,"tag":602,"props":648,"children":650},{"name":649},"VUID-vkCmdCopyMemoryToImageIndirectNV-aspectMask-07662",[651],{"type":23,"tag":24,"props":652,"children":653},{},[654,655,661,663,668,669,672],{"type":28,"value":610},{"type":23,"tag":44,"props":656,"children":658},{"className":657},[],[659],{"type":28,"value":660},"aspectMask",{"type":28,"value":662}," member for every subresource in\n",{"type":23,"tag":44,"props":664,"children":666},{"className":665},[],[667],{"type":28,"value":527},{"type":28,"value":641},{"type":23,"tag":582,"props":670,"children":671},{"type":584},[],{"type":28,"value":673}," only have a single bit set",{"type":23,"tag":602,"props":675,"children":677},{"name":676},"VUID-vkCmdCopyMemoryToImageIndirectNV-dstImage-07663",[678],{"type":23,"tag":24,"props":679,"children":680},{},[681,683,688,691,693],{"type":28,"value":682},"The image region specified by each element in ",{"type":23,"tag":44,"props":684,"children":686},{"className":685},[],[687],{"type":28,"value":104},{"type":23,"tag":582,"props":689,"children":690},{"type":584},[],{"type":28,"value":692}," be a region that is contained within ",{"type":23,"tag":44,"props":694,"children":696},{"className":695},[],[697],{"type":28,"value":157},{"type":23,"tag":602,"props":699,"children":701},{"name":700},"VUID-vkCmdCopyMemoryToImageIndirectNV-dstImage-07664",[702],{"type":23,"tag":24,"props":703,"children":704},{},[705,710,711,714,716,722],{"type":23,"tag":44,"props":706,"children":708},{"className":707},[],[709],{"type":28,"value":157},{"type":28,"value":641},{"type":23,"tag":582,"props":712,"children":713},{"type":584},[],{"type":28,"value":715}," have been created with\n",{"type":23,"tag":44,"props":717,"children":719},{"className":718},[],[720],{"type":28,"value":721},"VK_IMAGE_USAGE_TRANSFER_DST_BIT",{"type":28,"value":723}," usage flag",{"type":23,"tag":602,"props":725,"children":727},{"name":726},"VUID-vkCmdCopyMemoryToImageIndirectNV-dstImage-07665",[728],{"type":23,"tag":24,"props":729,"children":730},{},[731,733,738,740,743,745,751],{"type":28,"value":732},"If ",{"type":23,"tag":44,"props":734,"children":736},{"className":735},[],[737],{"type":28,"value":157},{"type":28,"value":739}," is non-sparse then it ",{"type":23,"tag":582,"props":741,"children":742},{"type":584},[],{"type":28,"value":744}," be bound completely and\ncontiguously to a single ",{"type":23,"tag":44,"props":746,"children":748},{"className":747},[],[749],{"type":28,"value":750},"VkDeviceMemory",{"type":28,"value":752}," object",{"type":23,"tag":602,"props":754,"children":756},{"name":755},"VUID-vkCmdCopyMemoryToImageIndirectNV-dstImage-07973",[757],{"type":23,"tag":24,"props":758,"children":759},{},[760,765,766,769,771],{"type":23,"tag":44,"props":761,"children":763},{"className":762},[],[764],{"type":28,"value":157},{"type":28,"value":641},{"type":23,"tag":582,"props":767,"children":768},{"type":584},[],{"type":28,"value":770}," have a sample count equal to\n",{"type":23,"tag":44,"props":772,"children":774},{"className":773},[],[775],{"type":28,"value":776},"VK_SAMPLE_COUNT_1_BIT",{"type":23,"tag":602,"props":778,"children":780},{"name":779},"VUID-vkCmdCopyMemoryToImageIndirectNV-dstImageLayout-07667",[781],{"type":23,"tag":24,"props":782,"children":783},{},[784,789,790,793,795,800,802],{"type":23,"tag":44,"props":785,"children":787},{"className":786},[],[788],{"type":28,"value":175},{"type":28,"value":641},{"type":23,"tag":582,"props":791,"children":792},{"type":584},[],{"type":28,"value":794}," specify the layout of the image subresources\nof ",{"type":23,"tag":44,"props":796,"children":798},{"className":797},[],[799],{"type":28,"value":157},{"type":28,"value":801}," at the time this command is executed on a\n",{"type":23,"tag":44,"props":803,"children":805},{"className":804},[],[806],{"type":28,"value":807},"VkDevice",{"type":23,"tag":602,"props":809,"children":811},{"name":810},"VUID-vkCmdCopyMemoryToImageIndirectNV-dstImageLayout-07669",[812],{"type":23,"tag":24,"props":813,"children":814},{},[815,820,821,824,826,832,833,839,841],{"type":23,"tag":44,"props":816,"children":818},{"className":817},[],[819],{"type":28,"value":175},{"type":28,"value":641},{"type":23,"tag":582,"props":822,"children":823},{"type":584},[],{"type":28,"value":825}," be\n",{"type":23,"tag":44,"props":827,"children":829},{"className":828},[],[830],{"type":28,"value":831},"VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL",{"type":28,"value":90},{"type":23,"tag":44,"props":834,"children":836},{"className":835},[],[837],{"type":28,"value":838},"VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR",{"type":28,"value":840},",\nor ",{"type":23,"tag":44,"props":842,"children":844},{"className":843},[],[845],{"type":28,"value":846},"VK_IMAGE_LAYOUT_GENERAL",{"type":23,"tag":602,"props":848,"children":850},{"name":849},"VUID-vkCmdCopyMemoryToImageIndirectNV-mipLevel-07670",[851],{"type":23,"tag":24,"props":852,"children":853},{},[854,856,862,864,867,869,875,877,883,885,890],{"type":28,"value":855},"The specified ",{"type":23,"tag":44,"props":857,"children":859},{"className":858},[],[860],{"type":28,"value":861},"mipLevel",{"type":28,"value":863}," of each region ",{"type":23,"tag":582,"props":865,"children":866},{"type":584},[],{"type":28,"value":868}," be less than the\n",{"type":23,"tag":44,"props":870,"children":872},{"className":871},[],[873],{"type":28,"value":874},"mipLevels",{"type":28,"value":876}," specified in ",{"type":23,"tag":469,"props":878,"children":880},{"href":879},"/man/VkImageCreateInfo",[881],{"type":28,"value":882},"VkImageCreateInfo",{"type":28,"value":884}," when ",{"type":23,"tag":44,"props":886,"children":888},{"className":887},[],[889],{"type":28,"value":157},{"type":28,"value":891},"\nwas created",{"type":23,"tag":602,"props":893,"children":895},{"name":894},"VUID-vkCmdCopyMemoryToImageIndirectNV-layerCount-08764",[896],{"type":23,"tag":24,"props":897,"children":898},{},[899,900,906,908,914,916,922,924,929,931,934,936,942,944,948,949,954],{"type":28,"value":732},{"type":23,"tag":44,"props":901,"children":903},{"className":902},[],[904],{"type":28,"value":905},"layerCount",{"type":28,"value":907}," is not ",{"type":23,"tag":44,"props":909,"children":911},{"className":910},[],[912],{"type":28,"value":913},"VK_REMAINING_ARRAY_LAYERS",{"type":28,"value":915},", the\nspecified ",{"type":23,"tag":44,"props":917,"children":919},{"className":918},[],[920],{"type":28,"value":921},"baseArrayLayer",{"type":28,"value":923}," + ",{"type":23,"tag":44,"props":925,"children":927},{"className":926},[],[928],{"type":28,"value":905},{"type":28,"value":930}," of each region\n",{"type":23,"tag":582,"props":932,"children":933},{"type":584},[],{"type":28,"value":935}," be less than or equal to the ",{"type":23,"tag":44,"props":937,"children":939},{"className":938},[],[940],{"type":28,"value":941},"arrayLayers",{"type":28,"value":943}," specified in\n",{"type":23,"tag":469,"props":945,"children":946},{"href":879},[947],{"type":28,"value":882},{"type":28,"value":884},{"type":23,"tag":44,"props":950,"children":952},{"className":951},[],[953],{"type":28,"value":157},{"type":28,"value":955}," was created",{"type":23,"tag":602,"props":957,"children":959},{"name":958},"VUID-vkCmdCopyMemoryToImageIndirectNV-imageOffset-07672",[960],{"type":23,"tag":24,"props":961,"children":962},{},[963,964,970,972,978,980,983,985,990,992],{"type":28,"value":610},{"type":23,"tag":44,"props":965,"children":967},{"className":966},[],[968],{"type":28,"value":969},"imageOffset",{"type":28,"value":971}," and ",{"type":23,"tag":44,"props":973,"children":975},{"className":974},[],[976],{"type":28,"value":977},"imageExtent",{"type":28,"value":979}," members of each region ",{"type":23,"tag":582,"props":981,"children":982},{"type":584},[],{"type":28,"value":984},"\nrespect the image transfer granularity requirements of\n",{"type":23,"tag":44,"props":986,"children":988},{"className":987},[],[989],{"type":28,"value":85},{"type":28,"value":991},"’s command pool’s queue family, as described in\n",{"type":23,"tag":469,"props":993,"children":995},{"href":994},"/man/VkQueueFamilyProperties",[996],{"type":28,"value":997},"VkQueueFamilyProperties",{"type":23,"tag":602,"props":999,"children":1001},{"name":1000},"VUID-vkCmdCopyMemoryToImageIndirectNV-dstImage-07673",[1002],{"type":23,"tag":24,"props":1003,"children":1004},{},[1005,1010,1011,1014,1016,1022,1024],{"type":23,"tag":44,"props":1006,"children":1008},{"className":1007},[],[1009],{"type":28,"value":157},{"type":28,"value":641},{"type":23,"tag":582,"props":1012,"children":1013},{"type":584},[],{"type":28,"value":1015}," not have been created with ",{"type":23,"tag":44,"props":1017,"children":1019},{"className":1018},[],[1020],{"type":28,"value":1021},"flags",{"type":28,"value":1023}," containing\n",{"type":23,"tag":44,"props":1025,"children":1027},{"className":1026},[],[1028],{"type":28,"value":1029},"VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT",{"type":23,"tag":602,"props":1031,"children":1033},{"name":1032},"VUID-vkCmdCopyMemoryToImageIndirectNV-commandBuffer-07674",[1034],{"type":23,"tag":24,"props":1035,"children":1036},{},[1037,1039,1045,1047,1052,1054,1060,1062,1067,1069,1074,1075,1078,1080,1086,1088],{"type":28,"value":1038},"If the queue family used to create the ",{"type":23,"tag":469,"props":1040,"children":1042},{"href":1041},"/man/VkCommandPool",[1043],{"type":28,"value":1044},"VkCommandPool",{"type":28,"value":1046}," which\n",{"type":23,"tag":44,"props":1048,"children":1050},{"className":1049},[],[1051],{"type":28,"value":85},{"type":28,"value":1053}," was allocated from does not support\n",{"type":23,"tag":44,"props":1055,"children":1057},{"className":1056},[],[1058],{"type":28,"value":1059},"VK_QUEUE_GRAPHICS_BIT",{"type":28,"value":1061},", for each region, the ",{"type":23,"tag":44,"props":1063,"children":1065},{"className":1064},[],[1066],{"type":28,"value":660},{"type":28,"value":1068},"\nmember of ",{"type":23,"tag":44,"props":1070,"children":1072},{"className":1071},[],[1073],{"type":28,"value":527},{"type":28,"value":641},{"type":23,"tag":582,"props":1076,"children":1077},{"type":584},[],{"type":28,"value":1079}," not be\n",{"type":23,"tag":44,"props":1081,"children":1083},{"className":1082},[],[1084],{"type":28,"value":1085},"VK_IMAGE_ASPECT_DEPTH_BIT",{"type":28,"value":1087}," or ",{"type":23,"tag":44,"props":1089,"children":1091},{"className":1090},[],[1092],{"type":28,"value":1093},"VK_IMAGE_ASPECT_STENCIL_BIT",{"type":23,"tag":602,"props":1095,"children":1097},{"name":1096},"VUID-vkCmdCopyMemoryToImageIndirectNV-imageOffset-07675",[1098],{"type":23,"tag":24,"props":1099,"children":1100},{},[1101,1103,1108,1110,1116,1118,1124,1125,1130,1132,1135,1137,1143],{"type":28,"value":1102},"For each region in ",{"type":23,"tag":44,"props":1104,"children":1106},{"className":1105},[],[1107],{"type":28,"value":104},{"type":28,"value":1109},", ",{"type":23,"tag":44,"props":1111,"children":1113},{"className":1112},[],[1114],{"type":28,"value":1115},"imageOffset.y",{"type":28,"value":1117}," and\n(",{"type":23,"tag":44,"props":1119,"children":1121},{"className":1120},[],[1122],{"type":28,"value":1123},"imageExtent.height",{"type":28,"value":923},{"type":23,"tag":44,"props":1126,"children":1128},{"className":1127},[],[1129],{"type":28,"value":1115},{"type":28,"value":1131},") ",{"type":23,"tag":582,"props":1133,"children":1134},{"type":584},[],{"type":28,"value":1136}," both\nbe greater than or equal to ",{"type":23,"tag":44,"props":1138,"children":1140},{"className":1139},[],[1141],{"type":28,"value":1142},"0",{"type":28,"value":1144}," and less than or equal to the height of\nthe specified subresource",{"type":23,"tag":602,"props":1146,"children":1148},{"name":1147},"VUID-vkCmdCopyMemoryToImageIndirectNV-offset-07676",[1149],{"type":23,"tag":24,"props":1150,"children":1151},{},[1152,1158,1159,1162],{"type":23,"tag":44,"props":1153,"children":1155},{"className":1154},[],[1156],{"type":28,"value":1157},"offset",{"type":28,"value":641},{"type":23,"tag":582,"props":1160,"children":1161},{"type":584},[],{"type":28,"value":1163}," be 4 byte aligned",{"type":23,"tag":602,"props":1165,"children":1167},{"name":1166},"VUID-vkCmdCopyMemoryToImageIndirectNV-stride-07677",[1168],{"type":23,"tag":24,"props":1169,"children":1170},{},[1171,1176,1177,1180,1182,1188,1189,1192,1194,1199],{"type":23,"tag":44,"props":1172,"children":1174},{"className":1173},[],[1175],{"type":28,"value":496},{"type":28,"value":641},{"type":23,"tag":582,"props":1178,"children":1179},{"type":584},[],{"type":28,"value":1181}," be a multiple of ",{"type":23,"tag":44,"props":1183,"children":1185},{"className":1184},[],[1186],{"type":28,"value":1187},"4",{"type":28,"value":971},{"type":23,"tag":582,"props":1190,"children":1191},{"type":584},[],{"type":28,"value":1193}," be greater than or\nequal to sizeof(",{"type":23,"tag":44,"props":1195,"children":1197},{"className":1196},[],[1198],{"type":28,"value":474},{"type":28,"value":1200},")",{"type":23,"tag":597,"props":1202,"children":1204},{"name":1203},"Valid Usage (Implicit)",[1205,1231,1255,1280,1311,1335,1362,1376,1389,1412],{"type":23,"tag":602,"props":1206,"children":1208},{"name":1207},"VUID-vkCmdCopyMemoryToImageIndirectNV-commandBuffer-parameter",[1209],{"type":23,"tag":24,"props":1210,"children":1211},{},[1212,1217,1218,1221,1223,1229],{"type":23,"tag":44,"props":1213,"children":1215},{"className":1214},[],[1216],{"type":28,"value":85},{"type":28,"value":641},{"type":23,"tag":582,"props":1219,"children":1220},{"type":584},[],{"type":28,"value":1222}," be a valid ",{"type":23,"tag":469,"props":1224,"children":1226},{"href":1225},"/man/VkCommandBuffer",[1227],{"type":28,"value":1228},"VkCommandBuffer",{"type":28,"value":1230}," handle",{"type":23,"tag":602,"props":1232,"children":1234},{"name":1233},"VUID-vkCmdCopyMemoryToImageIndirectNV-dstImage-parameter",[1235],{"type":23,"tag":24,"props":1236,"children":1237},{},[1238,1243,1244,1247,1248,1254],{"type":23,"tag":44,"props":1239,"children":1241},{"className":1240},[],[1242],{"type":28,"value":157},{"type":28,"value":641},{"type":23,"tag":582,"props":1245,"children":1246},{"type":584},[],{"type":28,"value":1222},{"type":23,"tag":469,"props":1249,"children":1251},{"href":1250},"/man/VkImage",[1252],{"type":28,"value":1253},"VkImage",{"type":28,"value":1230},{"type":23,"tag":602,"props":1256,"children":1258},{"name":1257},"VUID-vkCmdCopyMemoryToImageIndirectNV-dstImageLayout-parameter",[1259],{"type":23,"tag":24,"props":1260,"children":1261},{},[1262,1267,1268,1271,1272,1278],{"type":23,"tag":44,"props":1263,"children":1265},{"className":1264},[],[1266],{"type":28,"value":175},{"type":28,"value":641},{"type":23,"tag":582,"props":1269,"children":1270},{"type":584},[],{"type":28,"value":1222},{"type":23,"tag":469,"props":1273,"children":1275},{"href":1274},"/man/VkImageLayout",[1276],{"type":28,"value":1277},"VkImageLayout",{"type":28,"value":1279}," value",{"type":23,"tag":602,"props":1281,"children":1283},{"name":1282},"VUID-vkCmdCopyMemoryToImageIndirectNV-pImageSubresources-parameter",[1284],{"type":23,"tag":24,"props":1285,"children":1286},{},[1287,1292,1293,1296,1298,1303,1305,1309],{"type":23,"tag":44,"props":1288,"children":1290},{"className":1289},[],[1291],{"type":28,"value":527},{"type":28,"value":641},{"type":23,"tag":582,"props":1294,"children":1295},{"type":584},[],{"type":28,"value":1297}," be a valid pointer to an array of ",{"type":23,"tag":44,"props":1299,"children":1301},{"className":1300},[],[1302],{"type":28,"value":485},{"type":28,"value":1304}," valid ",{"type":23,"tag":469,"props":1306,"children":1307},{"href":539},[1308],{"type":28,"value":542},{"type":28,"value":1310}," structures",{"type":23,"tag":602,"props":1312,"children":1314},{"name":1313},"VUID-vkCmdCopyMemoryToImageIndirectNV-commandBuffer-recording",[1315],{"type":23,"tag":24,"props":1316,"children":1317},{},[1318,1323,1324,1327,1329],{"type":23,"tag":44,"props":1319,"children":1321},{"className":1320},[],[1322],{"type":28,"value":85},{"type":28,"value":641},{"type":23,"tag":582,"props":1325,"children":1326},{"type":584},[],{"type":28,"value":1328}," be in the ",{"type":23,"tag":469,"props":1330,"children":1332},{"href":1331},"/chapters/commandbuffers#commandbuffers-lifecycle",[1333],{"type":28,"value":1334},"recording state",{"type":23,"tag":602,"props":1336,"children":1338},{"name":1337},"VUID-vkCmdCopyMemoryToImageIndirectNV-commandBuffer-cmdpool",[1339],{"type":23,"tag":24,"props":1340,"children":1341},{},[1342,1343,1348,1350,1355,1357,1360],{"type":28,"value":610},{"type":23,"tag":44,"props":1344,"children":1346},{"className":1345},[],[1347],{"type":28,"value":1044},{"type":28,"value":1349}," that ",{"type":23,"tag":44,"props":1351,"children":1353},{"className":1352},[],[1354],{"type":28,"value":85},{"type":28,"value":1356}," was allocated from ",{"type":23,"tag":582,"props":1358,"children":1359},{"type":584},[],{"type":28,"value":1361}," support transfer, graphics, or compute operations",{"type":23,"tag":602,"props":1363,"children":1365},{"name":1364},"VUID-vkCmdCopyMemoryToImageIndirectNV-renderpass",[1366],{"type":23,"tag":24,"props":1367,"children":1368},{},[1369,1371,1374],{"type":28,"value":1370},"This command ",{"type":23,"tag":582,"props":1372,"children":1373},{"type":584},[],{"type":28,"value":1375}," only be called outside of a render pass instance",{"type":23,"tag":602,"props":1377,"children":1379},{"name":1378},"VUID-vkCmdCopyMemoryToImageIndirectNV-videocoding",[1380],{"type":23,"tag":24,"props":1381,"children":1382},{},[1383,1384,1387],{"type":28,"value":1370},{"type":23,"tag":582,"props":1385,"children":1386},{"type":584},[],{"type":28,"value":1388}," only be called outside of a video coding scope",{"type":23,"tag":602,"props":1390,"children":1392},{"name":1391},"VUID-vkCmdCopyMemoryToImageIndirectNV-copyCount-arraylength",[1393],{"type":23,"tag":24,"props":1394,"children":1395},{},[1396,1401,1402,1405,1407],{"type":23,"tag":44,"props":1397,"children":1399},{"className":1398},[],[1400],{"type":28,"value":485},{"type":28,"value":641},{"type":23,"tag":582,"props":1403,"children":1404},{"type":584},[],{"type":28,"value":1406}," be greater than ",{"type":23,"tag":44,"props":1408,"children":1410},{"className":1409},[],[1411],{"type":28,"value":1142},{"type":23,"tag":602,"props":1413,"children":1415},{"name":1414},"VUID-vkCmdCopyMemoryToImageIndirectNV-commonparent",[1416],{"type":23,"tag":24,"props":1417,"children":1418},{},[1419,1421,1426,1428,1433,1434,1437,1439],{"type":28,"value":1420},"Both of ",{"type":23,"tag":44,"props":1422,"children":1424},{"className":1423},[],[1425],{"type":28,"value":85},{"type":28,"value":1427},", and ",{"type":23,"tag":44,"props":1429,"children":1431},{"className":1430},[],[1432],{"type":28,"value":157},{"type":28,"value":641},{"type":23,"tag":582,"props":1435,"children":1436},{"type":584},[],{"type":28,"value":1438}," have been created, allocated, or retrieved from the same ",{"type":23,"tag":469,"props":1440,"children":1442},{"href":1441},"/man/VkDevice",[1443],{"type":28,"value":807},{"type":23,"tag":1445,"props":1446,"children":1448},"validity-box",{"name":1447},"Host Synchronization",[1449],{"type":23,"tag":444,"props":1450,"children":1451},{},[1452,1468],{"type":23,"tag":448,"props":1453,"children":1454},{},[1455,1457,1462,1463,1466],{"type":28,"value":1456},"Host access to ",{"type":23,"tag":44,"props":1458,"children":1460},{"className":1459},[],[1461],{"type":28,"value":85},{"type":28,"value":641},{"type":23,"tag":582,"props":1464,"children":1465},{"type":584},[],{"type":28,"value":1467}," be externally synchronized",{"type":23,"tag":448,"props":1469,"children":1470},{},[1471,1473,1478,1479,1484,1485,1488],{"type":28,"value":1472},"Host access to the ",{"type":23,"tag":44,"props":1474,"children":1476},{"className":1475},[],[1477],{"type":28,"value":1044},{"type":28,"value":1349},{"type":23,"tag":44,"props":1480,"children":1482},{"className":1481},[],[1483],{"type":28,"value":85},{"type":28,"value":1356},{"type":23,"tag":582,"props":1486,"children":1487},{"type":584},[],{"type":28,"value":1489}," be externally synchronized\n::",{"type":23,"tag":1491,"props":1492,"children":1493},"style",{},[1494],{"type":28,"value":1495},"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":73,"depth":73,"links":1497},[],"markdown",1729612493280]