[{"data":1,"prerenderedAt":1634},["ShallowReactive",2],{"TosamR5VP4":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":1633,"_id":4},"vkBindImageMemory","Bind device memory to an image object","VK_VERSION_1_0","protos",[],{"type":10,"children":11,"toc":1631},"root",[12,37,353,443,469,1481,1601,1625],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,35],{"type":18,"value":19},"text","To attach memory to a ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"VkImage",{"type":18,"value":28}," object created without the\n",{"type":13,"tag":21,"props":30,"children":32},{"className":31},[],[33],{"type":18,"value":34},"VK_IMAGE_CREATE_DISJOINT_BIT",{"type":18,"value":36}," set, call:",{"type":13,"tag":38,"props":39,"children":40},"code-group",{},[41,150],{"type":13,"tag":42,"props":43,"children":49},"pre",{"code":44,"filename":45,"language":46,"meta":47,"className":48,"style":47},"VkResult vkBindImageMemory(\n VkDevice device,\n VkImage image,\n VkDeviceMemory memory,\n VkDeviceSize memoryOffset);\n","C","c","","language-c shiki shiki-themes github-light-default github-dark-default",[50],{"type":13,"tag":21,"props":51,"children":52},{"__ignoreMap":47},[53,75,95,113,131],{"type":13,"tag":54,"props":55,"children":58},"span",{"class":56,"line":57},"line",1,[59,65,70],{"type":13,"tag":54,"props":60,"children":62},{"style":61},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[63],{"type":18,"value":64},"VkResult ",{"type":13,"tag":54,"props":66,"children":68},{"style":67},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[69],{"type":18,"value":4},{"type":13,"tag":54,"props":71,"children":72},{"style":61},[73],{"type":18,"value":74},"(\n",{"type":13,"tag":54,"props":76,"children":78},{"class":56,"line":77},2,[79,84,90],{"type":13,"tag":54,"props":80,"children":81},{"style":61},[82],{"type":18,"value":83}," VkDevice ",{"type":13,"tag":54,"props":85,"children":87},{"style":86},"--shiki-default:#953800;--shiki-dark:#FFA657",[88],{"type":18,"value":89},"device",{"type":13,"tag":54,"props":91,"children":92},{"style":61},[93],{"type":18,"value":94},",\n",{"type":13,"tag":54,"props":96,"children":98},{"class":56,"line":97},3,[99,104,109],{"type":13,"tag":54,"props":100,"children":101},{"style":61},[102],{"type":18,"value":103}," VkImage ",{"type":13,"tag":54,"props":105,"children":106},{"style":86},[107],{"type":18,"value":108},"image",{"type":13,"tag":54,"props":110,"children":111},{"style":61},[112],{"type":18,"value":94},{"type":13,"tag":54,"props":114,"children":116},{"class":56,"line":115},4,[117,122,127],{"type":13,"tag":54,"props":118,"children":119},{"style":61},[120],{"type":18,"value":121}," VkDeviceMemory ",{"type":13,"tag":54,"props":123,"children":124},{"style":86},[125],{"type":18,"value":126},"memory",{"type":13,"tag":54,"props":128,"children":129},{"style":61},[130],{"type":18,"value":94},{"type":13,"tag":54,"props":132,"children":134},{"class":56,"line":133},5,[135,140,145],{"type":13,"tag":54,"props":136,"children":137},{"style":61},[138],{"type":18,"value":139}," VkDeviceSize ",{"type":13,"tag":54,"props":141,"children":142},{"style":86},[143],{"type":18,"value":144},"memoryOffset",{"type":13,"tag":54,"props":146,"children":147},{"style":61},[148],{"type":18,"value":149},");\n",{"type":13,"tag":42,"props":151,"children":156},{"code":152,"filename":153,"language":154,"meta":47,"className":155,"style":47},"pub fn bind_image_memory(\n device: crate :: vk :: vk::Device,\n image: vk::Image,\n memory: vk::DeviceMemory,\n memory_offset: vk::DeviceSize,\n) -> vk::Result;\n","Rust","rs","language-rs shiki shiki-themes github-light-default github-dark-default",[157],{"type":13,"tag":21,"props":158,"children":159},{"__ignoreMap":47},[160,183,234,263,292,321],{"type":13,"tag":54,"props":161,"children":162},{"class":56,"line":57},[163,169,174,179],{"type":13,"tag":54,"props":164,"children":166},{"style":165},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[167],{"type":18,"value":168},"pub",{"type":13,"tag":54,"props":170,"children":171},{"style":165},[172],{"type":18,"value":173}," fn",{"type":13,"tag":54,"props":175,"children":176},{"style":67},[177],{"type":18,"value":178}," bind_image_memory",{"type":13,"tag":54,"props":180,"children":181},{"style":61},[182],{"type":18,"value":74},{"type":13,"tag":54,"props":184,"children":185},{"class":56,"line":77},[186,191,196,201,206,211,216,221,225,230],{"type":13,"tag":54,"props":187,"children":188},{"style":61},[189],{"type":18,"value":190}," device",{"type":13,"tag":54,"props":192,"children":193},{"style":165},[194],{"type":18,"value":195},":",{"type":13,"tag":54,"props":197,"children":198},{"style":165},[199],{"type":18,"value":200}," crate",{"type":13,"tag":54,"props":202,"children":203},{"style":165},[204],{"type":18,"value":205}," ::",{"type":13,"tag":54,"props":207,"children":208},{"style":61},[209],{"type":18,"value":210}," vk ",{"type":13,"tag":54,"props":212,"children":213},{"style":165},[214],{"type":18,"value":215},"::",{"type":13,"tag":54,"props":217,"children":218},{"style":86},[219],{"type":18,"value":220}," vk",{"type":13,"tag":54,"props":222,"children":223},{"style":165},[224],{"type":18,"value":215},{"type":13,"tag":54,"props":226,"children":227},{"style":86},[228],{"type":18,"value":229},"Device",{"type":13,"tag":54,"props":231,"children":232},{"style":61},[233],{"type":18,"value":94},{"type":13,"tag":54,"props":235,"children":236},{"class":56,"line":97},[237,242,246,250,254,259],{"type":13,"tag":54,"props":238,"children":239},{"style":61},[240],{"type":18,"value":241}," image",{"type":13,"tag":54,"props":243,"children":244},{"style":165},[245],{"type":18,"value":195},{"type":13,"tag":54,"props":247,"children":248},{"style":86},[249],{"type":18,"value":220},{"type":13,"tag":54,"props":251,"children":252},{"style":165},[253],{"type":18,"value":215},{"type":13,"tag":54,"props":255,"children":256},{"style":86},[257],{"type":18,"value":258},"Image",{"type":13,"tag":54,"props":260,"children":261},{"style":61},[262],{"type":18,"value":94},{"type":13,"tag":54,"props":264,"children":265},{"class":56,"line":115},[266,271,275,279,283,288],{"type":13,"tag":54,"props":267,"children":268},{"style":61},[269],{"type":18,"value":270}," memory",{"type":13,"tag":54,"props":272,"children":273},{"style":165},[274],{"type":18,"value":195},{"type":13,"tag":54,"props":276,"children":277},{"style":86},[278],{"type":18,"value":220},{"type":13,"tag":54,"props":280,"children":281},{"style":165},[282],{"type":18,"value":215},{"type":13,"tag":54,"props":284,"children":285},{"style":86},[286],{"type":18,"value":287},"DeviceMemory",{"type":13,"tag":54,"props":289,"children":290},{"style":61},[291],{"type":18,"value":94},{"type":13,"tag":54,"props":293,"children":294},{"class":56,"line":133},[295,300,304,308,312,317],{"type":13,"tag":54,"props":296,"children":297},{"style":61},[298],{"type":18,"value":299}," memory_offset",{"type":13,"tag":54,"props":301,"children":302},{"style":165},[303],{"type":18,"value":195},{"type":13,"tag":54,"props":305,"children":306},{"style":86},[307],{"type":18,"value":220},{"type":13,"tag":54,"props":309,"children":310},{"style":165},[311],{"type":18,"value":215},{"type":13,"tag":54,"props":313,"children":314},{"style":86},[315],{"type":18,"value":316},"DeviceSize",{"type":13,"tag":54,"props":318,"children":319},{"style":61},[320],{"type":18,"value":94},{"type":13,"tag":54,"props":322,"children":324},{"class":56,"line":323},6,[325,330,335,339,343,348],{"type":13,"tag":54,"props":326,"children":327},{"style":61},[328],{"type":18,"value":329},") ",{"type":13,"tag":54,"props":331,"children":332},{"style":165},[333],{"type":18,"value":334},"->",{"type":13,"tag":54,"props":336,"children":337},{"style":86},[338],{"type":18,"value":220},{"type":13,"tag":54,"props":340,"children":341},{"style":165},[342],{"type":18,"value":215},{"type":13,"tag":54,"props":344,"children":345},{"style":86},[346],{"type":18,"value":347},"Result",{"type":13,"tag":54,"props":349,"children":350},{"style":61},[351],{"type":18,"value":352},";\n",{"type":13,"tag":354,"props":355,"children":356},"ul",{},[357,368,378,397],{"type":13,"tag":358,"props":359,"children":360},"li",{},[361,366],{"type":13,"tag":21,"props":362,"children":364},{"className":363},[],[365],{"type":18,"value":89},{"type":18,"value":367}," is the logical device that owns the image and memory.",{"type":13,"tag":358,"props":369,"children":370},{},[371,376],{"type":13,"tag":21,"props":372,"children":374},{"className":373},[],[375],{"type":18,"value":108},{"type":18,"value":377}," is the image.",{"type":13,"tag":358,"props":379,"children":380},{},[381,386,388,395],{"type":13,"tag":21,"props":382,"children":384},{"className":383},[],[385],{"type":18,"value":126},{"type":18,"value":387}," is the ",{"type":13,"tag":389,"props":390,"children":392},"a",{"href":391},"/man/VkDeviceMemory",[393],{"type":18,"value":394},"VkDeviceMemory",{"type":18,"value":396}," object describing the device\nmemory to attach.",{"type":13,"tag":358,"props":398,"children":399},{},[400,405,407,412,414,420,421,427,429,434,436,441],{"type":13,"tag":21,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":144},{"type":18,"value":406}," is the start offset of the region of ",{"type":13,"tag":21,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":126},{"type":18,"value":413},"\nwhich is to be bound to the image.\nThe number of bytes returned in the\n",{"type":13,"tag":21,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":419},"VkMemoryRequirements",{"type":18,"value":215},{"type":13,"tag":21,"props":422,"children":424},{"className":423},[],[425],{"type":18,"value":426},"size",{"type":18,"value":428}," member in ",{"type":13,"tag":21,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":126},{"type":18,"value":435},", starting\nfrom ",{"type":13,"tag":21,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":144},{"type":18,"value":442}," bytes, will be bound to the specified image.",{"type":13,"tag":14,"props":444,"children":445},{},[446,451,453,459,461,467],{"type":13,"tag":21,"props":447,"children":449},{"className":448},[],[450],{"type":18,"value":4},{"type":18,"value":452}," is equivalent to passing the same parameters through\n",{"type":13,"tag":389,"props":454,"children":456},{"href":455},"/man/VkBindImageMemoryInfo",[457],{"type":18,"value":458},"VkBindImageMemoryInfo",{"type":18,"value":460}," to ",{"type":13,"tag":389,"props":462,"children":464},{"href":463},"/man/vkBindImageMemory2",[465],{"type":18,"value":466},"vkBindImageMemory2",{"type":18,"value":468},".",{"type":13,"tag":470,"props":471,"children":473},"validity-group",{"name":472},"Valid Usage",[474,496,514,537,613,716,860,939,991,1056,1116,1178,1219,1256,1281,1327,1370,1419],{"type":13,"tag":475,"props":476,"children":478},"validity-field",{"name":477},"VUID-vkBindImageMemory-image-07460",[479],{"type":13,"tag":14,"props":480,"children":481},{},[482,487,489,494],{"type":13,"tag":21,"props":483,"children":485},{"className":484},[],[486],{"type":18,"value":108},{"type":18,"value":488}," ",{"type":13,"tag":490,"props":491,"children":493},"normative",{"type":492},"must",[],{"type":18,"value":495}," not have been bound to a memory object",{"type":13,"tag":475,"props":497,"children":499},{"name":498},"VUID-vkBindImageMemory-image-01045",[500],{"type":13,"tag":14,"props":501,"children":502},{},[503,508,509,512],{"type":13,"tag":21,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":108},{"type":18,"value":488},{"type":13,"tag":490,"props":510,"children":511},{"type":492},[],{"type":18,"value":513}," not have been created with any sparse memory binding\nflags",{"type":13,"tag":475,"props":515,"children":517},{"name":516},"VUID-vkBindImageMemory-memoryOffset-01046",[518],{"type":13,"tag":14,"props":519,"children":520},{},[521,526,527,530,532],{"type":13,"tag":21,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":144},{"type":18,"value":488},{"type":13,"tag":490,"props":528,"children":529},{"type":492},[],{"type":18,"value":531}," be less than the size of ",{"type":13,"tag":21,"props":533,"children":535},{"className":534},[],[536],{"type":18,"value":126},{"type":13,"tag":475,"props":538,"children":540},{"name":539},"VUID-vkBindImageMemory-image-01445",[541],{"type":13,"tag":14,"props":542,"children":543},{},[544,546,551,553,559,561,567,568,574,576,581,583,588,589,592,594,600,601,606,608],{"type":18,"value":545},"If ",{"type":13,"tag":21,"props":547,"children":549},{"className":548},[],[550],{"type":18,"value":108},{"type":18,"value":552}," requires a dedicated allocation (as reported by\n",{"type":13,"tag":389,"props":554,"children":556},{"href":555},"/man/vkGetImageMemoryRequirements2",[557],{"type":18,"value":558},"vkGetImageMemoryRequirements2",{"type":18,"value":560}," in\n",{"type":13,"tag":389,"props":562,"children":564},{"href":563},"/man/VkMemoryDedicatedRequirements",[565],{"type":18,"value":566},"VkMemoryDedicatedRequirements",{"type":18,"value":215},{"type":13,"tag":21,"props":569,"children":571},{"className":570},[],[572],{"type":18,"value":573},"requiresDedicatedAllocation",{"type":18,"value":575},"\nfor ",{"type":13,"tag":21,"props":577,"children":579},{"className":578},[],[580],{"type":18,"value":108},{"type":18,"value":582},"), ",{"type":13,"tag":21,"props":584,"children":586},{"className":585},[],[587],{"type":18,"value":126},{"type":18,"value":488},{"type":13,"tag":490,"props":590,"children":591},{"type":492},[],{"type":18,"value":593}," have been created with\n",{"type":13,"tag":389,"props":595,"children":597},{"href":596},"/man/VkMemoryDedicatedAllocateInfo",[598],{"type":18,"value":599},"VkMemoryDedicatedAllocateInfo",{"type":18,"value":215},{"type":13,"tag":21,"props":602,"children":604},{"className":603},[],[605],{"type":18,"value":108},{"type":18,"value":607}," equal to ",{"type":13,"tag":21,"props":609,"children":611},{"className":610},[],[612],{"type":18,"value":108},{"type":13,"tag":475,"props":614,"children":616},{"name":615},"VUID-vkBindImageMemory-memory-02628",[617],{"type":13,"tag":14,"props":618,"children":619},{},[620,622,632,634,640,642,647,649,653,655,661,663,667,668,673,675,681,683,688,689,692,694,698,699,704,706,711,714],{"type":18,"value":621},"If\nthe ",{"type":13,"tag":389,"props":623,"children":625},{"href":624},"/man/VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV#features-dedicatedAllocationImageAliasing",[626],{"type":13,"tag":21,"props":627,"children":629},{"className":628},[],[630],{"type":18,"value":631},"dedicatedAllocationImageAliasing",{"type":18,"value":633}," feature is not enabled, and\nthe ",{"type":13,"tag":21,"props":635,"children":637},{"className":636},[],[638],{"type":18,"value":639},"VkMemoryAllocateInfo",{"type":18,"value":641}," provided when ",{"type":13,"tag":21,"props":643,"children":645},{"className":644},[],[646],{"type":18,"value":126},{"type":18,"value":648}," was allocated\nincluded a ",{"type":13,"tag":389,"props":650,"children":651},{"href":596},[652],{"type":18,"value":599},{"type":18,"value":654}," structure in its\n",{"type":13,"tag":21,"props":656,"children":658},{"className":657},[],[659],{"type":18,"value":660},"pNext",{"type":18,"value":662}," chain, and ",{"type":13,"tag":389,"props":664,"children":665},{"href":596},[666],{"type":18,"value":599},{"type":18,"value":215},{"type":13,"tag":21,"props":669,"children":671},{"className":670},[],[672],{"type":18,"value":108},{"type":18,"value":674},"\nwas not ",{"type":13,"tag":389,"props":676,"children":678},{"href":677},"/man/VK_NULL_HANDLE",[679],{"type":18,"value":680},"VK_NULL_HANDLE",{"type":18,"value":682},", then ",{"type":13,"tag":21,"props":684,"children":686},{"className":685},[],[687],{"type":18,"value":108},{"type":18,"value":488},{"type":13,"tag":490,"props":690,"children":691},{"type":492},[],{"type":18,"value":693}," equal\n",{"type":13,"tag":389,"props":695,"children":696},{"href":596},[697],{"type":18,"value":599},{"type":18,"value":215},{"type":13,"tag":21,"props":700,"children":702},{"className":701},[],[703],{"type":18,"value":108},{"type":18,"value":705}," and ",{"type":13,"tag":21,"props":707,"children":709},{"className":708},[],[710],{"type":18,"value":144},{"type":13,"tag":490,"props":712,"children":713},{"type":492},[],{"type":18,"value":715}," be zero",{"type":13,"tag":475,"props":717,"children":719},{"name":718},"VUID-vkBindImageMemory-memory-02629",[720],{"type":13,"tag":14,"props":721,"children":722},{},[723,725,733,735,740,741,746,747,751,752,757,758,762,763,768,769,773,774,779,780,783,785,790,791,794,796,800,801,806,808,814,816,822,823,829,830,834,836,841,843,846,848,853,855,858],{"type":18,"value":724},"If the ",{"type":13,"tag":389,"props":726,"children":727},{"href":624},[728],{"type":13,"tag":21,"props":729,"children":731},{"className":730},[],[732],{"type":18,"value":631},{"type":18,"value":734}," feature is enabled, and the\n",{"type":13,"tag":21,"props":736,"children":738},{"className":737},[],[739],{"type":18,"value":639},{"type":18,"value":641},{"type":13,"tag":21,"props":742,"children":744},{"className":743},[],[745],{"type":18,"value":126},{"type":18,"value":648},{"type":13,"tag":389,"props":748,"children":749},{"href":596},[750],{"type":18,"value":599},{"type":18,"value":654},{"type":13,"tag":21,"props":753,"children":755},{"className":754},[],[756],{"type":18,"value":660},{"type":18,"value":662},{"type":13,"tag":389,"props":759,"children":760},{"href":596},[761],{"type":18,"value":599},{"type":18,"value":215},{"type":13,"tag":21,"props":764,"children":766},{"className":765},[],[767],{"type":18,"value":108},{"type":18,"value":674},{"type":13,"tag":389,"props":770,"children":771},{"href":677},[772],{"type":18,"value":680},{"type":18,"value":682},{"type":13,"tag":21,"props":775,"children":777},{"className":776},[],[778],{"type":18,"value":144},{"type":18,"value":488},{"type":13,"tag":490,"props":781,"children":782},{"type":492},[],{"type":18,"value":784}," be zero, and\n",{"type":13,"tag":21,"props":786,"children":788},{"className":787},[],[789],{"type":18,"value":108},{"type":18,"value":488},{"type":13,"tag":490,"props":792,"children":793},{"type":492},[],{"type":18,"value":795}," be either equal to\n",{"type":13,"tag":389,"props":797,"children":798},{"href":596},[799],{"type":18,"value":599},{"type":18,"value":215},{"type":13,"tag":21,"props":802,"children":804},{"className":803},[],[805],{"type":18,"value":108},{"type":18,"value":807}," or an image that was\ncreated using the same parameters in ",{"type":13,"tag":389,"props":809,"children":811},{"href":810},"/man/VkImageCreateInfo",[812],{"type":18,"value":813},"VkImageCreateInfo",{"type":18,"value":815},", with the\nexception that ",{"type":13,"tag":21,"props":817,"children":819},{"className":818},[],[820],{"type":18,"value":821},"extent",{"type":18,"value":705},{"type":13,"tag":21,"props":824,"children":826},{"className":825},[],[827],{"type":18,"value":828},"arrayLayers",{"type":18,"value":488},{"type":13,"tag":490,"props":831,"children":833},{"type":832},"may",[],{"type":18,"value":835}," differ subject to\nthe following restrictions: every dimension in the ",{"type":13,"tag":21,"props":837,"children":839},{"className":838},[],[840],{"type":18,"value":821},{"type":18,"value":842},"\nparameter of the image being bound ",{"type":13,"tag":490,"props":844,"children":845},{"type":492},[],{"type":18,"value":847}," be equal to or smaller than the\noriginal image for which the allocation was created; and the\n",{"type":13,"tag":21,"props":849,"children":851},{"className":850},[],[852],{"type":18,"value":828},{"type":18,"value":854}," parameter of the image being bound ",{"type":13,"tag":490,"props":856,"children":857},{"type":492},[],{"type":18,"value":859}," be equal to\nor smaller than the original image for which the allocation was created",{"type":13,"tag":475,"props":861,"children":863},{"name":862},"VUID-vkBindImageMemory-image-01050",[864],{"type":13,"tag":14,"props":865,"children":866},{},[867,868,873,875,881,882,888,890,896,898,903,904,907,908,914,915,920,922,927,929,934,935,938],{"type":18,"value":545},{"type":13,"tag":21,"props":869,"children":871},{"className":870},[],[872],{"type":18,"value":108},{"type":18,"value":874}," was created with\n",{"type":13,"tag":389,"props":876,"children":878},{"href":877},"/man/VkDedicatedAllocationImageCreateInfoNV",[879],{"type":18,"value":880},"VkDedicatedAllocationImageCreateInfoNV",{"type":18,"value":215},{"type":13,"tag":21,"props":883,"children":885},{"className":884},[],[886],{"type":18,"value":887},"dedicatedAllocation",{"type":18,"value":889},"\nequal to ",{"type":13,"tag":21,"props":891,"children":893},{"className":892},[],[894],{"type":18,"value":895},"VK_TRUE",{"type":18,"value":897},", ",{"type":13,"tag":21,"props":899,"children":901},{"className":900},[],[902],{"type":18,"value":126},{"type":18,"value":488},{"type":13,"tag":490,"props":905,"children":906},{"type":492},[],{"type":18,"value":593},{"type":13,"tag":389,"props":909,"children":911},{"href":910},"/man/VkDedicatedAllocationMemoryAllocateInfoNV",[912],{"type":18,"value":913},"VkDedicatedAllocationMemoryAllocateInfoNV",{"type":18,"value":215},{"type":13,"tag":21,"props":916,"children":918},{"className":917},[],[919],{"type":18,"value":108},{"type":18,"value":921}," equal to an\nimage handle created with identical creation parameters to ",{"type":13,"tag":21,"props":923,"children":925},{"className":924},[],[926],{"type":18,"value":108},{"type":18,"value":928},"\nand ",{"type":13,"tag":21,"props":930,"children":932},{"className":931},[],[933],{"type":18,"value":144},{"type":18,"value":488},{"type":13,"tag":490,"props":936,"children":937},{"type":492},[],{"type":18,"value":715},{"type":13,"tag":475,"props":940,"children":942},{"name":941},"VUID-vkBindImageMemory-apiVersion-07921",[943,951],{"type":13,"tag":42,"props":944,"children":946},{"code":945},"If\nthe [VK_KHR_dedicated_allocation](/extensions/VK_KHR_dedicated_allocation) extension is not enabled,\n",[947],{"type":13,"tag":21,"props":948,"children":949},{"__ignoreMap":47},[950],{"type":18,"value":945},{"type":13,"tag":14,"props":952,"children":953},{},[954,956,961,963,967,968,973,974,979,980,985,986,989],{"type":18,"value":955},"and\n",{"type":13,"tag":21,"props":957,"children":959},{"className":958},[],[960],{"type":18,"value":108},{"type":18,"value":962}," was not created with\n",{"type":13,"tag":389,"props":964,"children":965},{"href":877},[966],{"type":18,"value":880},{"type":18,"value":215},{"type":13,"tag":21,"props":969,"children":971},{"className":970},[],[972],{"type":18,"value":887},{"type":18,"value":889},{"type":13,"tag":21,"props":975,"children":977},{"className":976},[],[978],{"type":18,"value":895},{"type":18,"value":897},{"type":13,"tag":21,"props":981,"children":983},{"className":982},[],[984],{"type":18,"value":126},{"type":18,"value":488},{"type":13,"tag":490,"props":987,"children":988},{"type":492},[],{"type":18,"value":990}," not have been allocated\ndedicated for a specific buffer or image",{"type":13,"tag":475,"props":992,"children":994},{"name":993},"VUID-vkBindImageMemory-memory-02728",[995],{"type":13,"tag":14,"props":996,"children":997},{},[998,1000,1006,1007,1013,1015,1020,1022,1028,1030,1033,1035,1041,1042,1047,1049,1054],{"type":18,"value":999},"If the value of ",{"type":13,"tag":389,"props":1001,"children":1003},{"href":1002},"/man/VkExportMemoryAllocateInfo",[1004],{"type":18,"value":1005},"VkExportMemoryAllocateInfo",{"type":18,"value":215},{"type":13,"tag":21,"props":1008,"children":1010},{"className":1009},[],[1011],{"type":18,"value":1012},"handleTypes",{"type":18,"value":1014}," used\nto allocate ",{"type":13,"tag":21,"props":1016,"children":1018},{"className":1017},[],[1019],{"type":18,"value":126},{"type":18,"value":1021}," is not ",{"type":13,"tag":21,"props":1023,"children":1025},{"className":1024},[],[1026],{"type":18,"value":1027},"0",{"type":18,"value":1029},", it ",{"type":13,"tag":490,"props":1031,"children":1032},{"type":492},[],{"type":18,"value":1034}," include at least one of\nthe handles set in\n",{"type":13,"tag":389,"props":1036,"children":1038},{"href":1037},"/man/VkExternalMemoryImageCreateInfo",[1039],{"type":18,"value":1040},"VkExternalMemoryImageCreateInfo",{"type":18,"value":215},{"type":13,"tag":21,"props":1043,"children":1045},{"className":1044},[],[1046],{"type":18,"value":1012},{"type":18,"value":1048}," when\n",{"type":13,"tag":21,"props":1050,"children":1052},{"className":1051},[],[1053],{"type":18,"value":108},{"type":18,"value":1055}," was created",{"type":13,"tag":475,"props":1057,"children":1059},{"name":1058},"VUID-vkBindImageMemory-memory-02989",[1060],{"type":13,"tag":14,"props":1061,"children":1062},{},[1063,1064,1069,1071,1077,1079,1085,1086,1092,1094,1097,1099,1103,1104,1109,1110,1115],{"type":18,"value":545},{"type":13,"tag":21,"props":1065,"children":1067},{"className":1066},[],[1068],{"type":18,"value":126},{"type":18,"value":1070}," was created by a memory import operation,\nthat is not ",{"type":13,"tag":389,"props":1072,"children":1074},{"href":1073},"/man/VkImportAndroidHardwareBufferInfoANDROID",[1075],{"type":18,"value":1076},"VkImportAndroidHardwareBufferInfoANDROID",{"type":18,"value":1078}," with a\nnon-",{"type":13,"tag":21,"props":1080,"children":1082},{"className":1081},[],[1083],{"type":18,"value":1084},"NULL",{"type":18,"value":488},{"type":13,"tag":21,"props":1087,"children":1089},{"className":1088},[],[1090],{"type":18,"value":1091},"buffer",{"type":18,"value":1093}," value,\nthe external handle type of the imported memory ",{"type":13,"tag":490,"props":1095,"children":1096},{"type":492},[],{"type":18,"value":1098}," also have been set\nin ",{"type":13,"tag":389,"props":1100,"children":1101},{"href":1037},[1102],{"type":18,"value":1040},{"type":18,"value":215},{"type":13,"tag":21,"props":1105,"children":1107},{"className":1106},[],[1108],{"type":18,"value":1012},{"type":18,"value":1048},{"type":13,"tag":21,"props":1111,"children":1113},{"className":1112},[],[1114],{"type":18,"value":108},{"type":18,"value":1055},{"type":13,"tag":475,"props":1117,"children":1119},{"name":1118},"VUID-vkBindImageMemory-memory-02990",[1120],{"type":13,"tag":14,"props":1121,"children":1122},{},[1123,1124,1129,1131,1135,1137,1142,1143,1148,1150,1156,1159,1161,1165,1166,1171,1172,1177],{"type":18,"value":545},{"type":13,"tag":21,"props":1125,"children":1127},{"className":1126},[],[1128],{"type":18,"value":126},{"type":18,"value":1130}," was created with the\n",{"type":13,"tag":389,"props":1132,"children":1133},{"href":1073},[1134],{"type":18,"value":1076},{"type":18,"value":1136}," memory import operation\nwith a non-",{"type":13,"tag":21,"props":1138,"children":1140},{"className":1139},[],[1141],{"type":18,"value":1084},{"type":18,"value":488},{"type":13,"tag":21,"props":1144,"children":1146},{"className":1145},[],[1147],{"type":18,"value":1091},{"type":18,"value":1149}," value,\n",{"type":13,"tag":21,"props":1151,"children":1153},{"className":1152},[],[1154],{"type":18,"value":1155},"VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID",{"type":13,"tag":490,"props":1157,"children":1158},{"type":492},[],{"type":18,"value":1160}," also have been set in\n",{"type":13,"tag":389,"props":1162,"children":1163},{"href":1037},[1164],{"type":18,"value":1040},{"type":18,"value":215},{"type":13,"tag":21,"props":1167,"children":1169},{"className":1168},[],[1170],{"type":18,"value":1012},{"type":18,"value":1048},{"type":13,"tag":21,"props":1173,"children":1175},{"className":1174},[],[1176],{"type":18,"value":108},{"type":18,"value":1055},{"type":13,"tag":475,"props":1179,"children":1181},{"name":1180},"VUID-vkBindImageMemory-descriptorBufferCaptureReplay-08113",[1182],{"type":13,"tag":14,"props":1183,"children":1184},{},[1185,1186,1191,1192,1198,1200,1205,1206,1209,1211,1217],{"type":18,"value":724},{"type":13,"tag":21,"props":1187,"children":1189},{"className":1188},[],[1190],{"type":18,"value":108},{"type":18,"value":1130},{"type":13,"tag":21,"props":1193,"children":1195},{"className":1194},[],[1196],{"type":18,"value":1197},"VK_IMAGE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT",{"type":18,"value":1199}," bit set,\n",{"type":13,"tag":21,"props":1201,"children":1203},{"className":1202},[],[1204],{"type":18,"value":126},{"type":18,"value":488},{"type":13,"tag":490,"props":1207,"children":1208},{"type":492},[],{"type":18,"value":1210}," have been allocated with the\n",{"type":13,"tag":21,"props":1212,"children":1214},{"className":1213},[],[1215],{"type":18,"value":1216},"VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT",{"type":18,"value":1218}," bit set",{"type":13,"tag":475,"props":1220,"children":1222},{"name":1221},"VUID-vkBindImageMemory-image-09202",[1223],{"type":13,"tag":14,"props":1224,"children":1225},{},[1226,1227,1232,1233,1238,1239,1244,1245,1248,1249,1255],{"type":18,"value":724},{"type":13,"tag":21,"props":1228,"children":1230},{"className":1229},[],[1231],{"type":18,"value":108},{"type":18,"value":1130},{"type":13,"tag":21,"props":1234,"children":1236},{"className":1235},[],[1237],{"type":18,"value":1197},{"type":18,"value":1199},{"type":13,"tag":21,"props":1240,"children":1242},{"className":1241},[],[1243],{"type":18,"value":126},{"type":18,"value":488},{"type":13,"tag":490,"props":1246,"children":1247},{"type":492},[],{"type":18,"value":1210},{"type":13,"tag":21,"props":1250,"children":1252},{"className":1251},[],[1253],{"type":18,"value":1254},"VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT",{"type":18,"value":1218},{"type":13,"tag":475,"props":1257,"children":1259},{"name":1258},"VUID-vkBindImageMemory-image-01608",[1260],{"type":13,"tag":14,"props":1261,"children":1262},{},[1263,1268,1269,1272,1274,1279],{"type":13,"tag":21,"props":1264,"children":1266},{"className":1265},[],[1267],{"type":18,"value":108},{"type":18,"value":488},{"type":13,"tag":490,"props":1270,"children":1271},{"type":492},[],{"type":18,"value":1273}," not have been created with the\n",{"type":13,"tag":21,"props":1275,"children":1277},{"className":1276},[],[1278],{"type":18,"value":34},{"type":18,"value":1280}," set",{"type":13,"tag":475,"props":1282,"children":1284},{"name":1283},"VUID-vkBindImageMemory-memory-01047",[1285],{"type":13,"tag":14,"props":1286,"children":1287},{},[1288,1293,1294,1297,1299,1305,1307,1312,1314,1320,1322],{"type":13,"tag":21,"props":1289,"children":1291},{"className":1290},[],[1292],{"type":18,"value":126},{"type":18,"value":488},{"type":13,"tag":490,"props":1295,"children":1296},{"type":492},[],{"type":18,"value":1298}," have been allocated using one of the memory types\nallowed in the ",{"type":13,"tag":21,"props":1300,"children":1302},{"className":1301},[],[1303],{"type":18,"value":1304},"memoryTypeBits",{"type":18,"value":1306}," member of the\n",{"type":13,"tag":21,"props":1308,"children":1310},{"className":1309},[],[1311],{"type":18,"value":419},{"type":18,"value":1313}," structure returned from a call to\n",{"type":13,"tag":389,"props":1315,"children":1317},{"href":1316},"/man/vkGetImageMemoryRequirements",[1318],{"type":18,"value":1319},"vkGetImageMemoryRequirements",{"type":18,"value":1321}," with ",{"type":13,"tag":21,"props":1323,"children":1325},{"className":1324},[],[1326],{"type":18,"value":108},{"type":13,"tag":475,"props":1328,"children":1330},{"name":1329},"VUID-vkBindImageMemory-memoryOffset-01048",[1331],{"type":13,"tag":14,"props":1332,"children":1333},{},[1334,1339,1340,1343,1345,1351,1353,1358,1360,1364,1365],{"type":13,"tag":21,"props":1335,"children":1337},{"className":1336},[],[1338],{"type":18,"value":144},{"type":18,"value":488},{"type":13,"tag":490,"props":1341,"children":1342},{"type":492},[],{"type":18,"value":1344}," be an integer multiple of the ",{"type":13,"tag":21,"props":1346,"children":1348},{"className":1347},[],[1349],{"type":18,"value":1350},"alignment",{"type":18,"value":1352},"\nmember of the ",{"type":13,"tag":21,"props":1354,"children":1356},{"className":1355},[],[1357],{"type":18,"value":419},{"type":18,"value":1359}," structure returned from a call\nto ",{"type":13,"tag":389,"props":1361,"children":1362},{"href":1316},[1363],{"type":18,"value":1319},{"type":18,"value":1321},{"type":13,"tag":21,"props":1366,"children":1368},{"className":1367},[],[1369],{"type":18,"value":108},{"type":13,"tag":475,"props":1371,"children":1373},{"name":1372},"VUID-vkBindImageMemory-size-01049",[1374],{"type":13,"tag":14,"props":1375,"children":1376},{},[1377,1379,1384,1385,1390,1391,1394,1396,1401,1402,1407,1408,1412,1414],{"type":18,"value":1378},"The difference of the size of ",{"type":13,"tag":21,"props":1380,"children":1382},{"className":1381},[],[1383],{"type":18,"value":126},{"type":18,"value":705},{"type":13,"tag":21,"props":1386,"children":1388},{"className":1387},[],[1389],{"type":18,"value":144},{"type":18,"value":488},{"type":13,"tag":490,"props":1392,"children":1393},{"type":492},[],{"type":18,"value":1395},"\nbe greater than or equal to the ",{"type":13,"tag":21,"props":1397,"children":1399},{"className":1398},[],[1400],{"type":18,"value":426},{"type":18,"value":1306},{"type":13,"tag":389,"props":1403,"children":1405},{"href":1404},"/man/VkMemoryRequirements",[1406],{"type":18,"value":419},{"type":18,"value":1313},{"type":13,"tag":389,"props":1409,"children":1410},{"href":1316},[1411],{"type":18,"value":1319},{"type":18,"value":1413}," with the same ",{"type":13,"tag":21,"props":1415,"children":1417},{"className":1416},[],[1418],{"type":18,"value":108},{"type":13,"tag":475,"props":1420,"children":1422},{"name":1421},"VUID-vkBindImageMemory-image-06392",[1423],{"type":13,"tag":14,"props":1424,"children":1425},{},[1426,1427,1432,1433,1439,1441,1445,1446,1451,1452,1457,1458,1461,1463,1469,1470,1475,1476],{"type":18,"value":545},{"type":13,"tag":21,"props":1428,"children":1430},{"className":1429},[],[1431],{"type":18,"value":108},{"type":18,"value":874},{"type":13,"tag":389,"props":1434,"children":1436},{"href":1435},"/man/VkBufferCollectionImageCreateInfoFUCHSIA",[1437],{"type":18,"value":1438},"VkBufferCollectionImageCreateInfoFUCHSIA",{"type":18,"value":1440}," chained to\n",{"type":13,"tag":389,"props":1442,"children":1443},{"href":810},[1444],{"type":18,"value":813},{"type":18,"value":215},{"type":13,"tag":21,"props":1447,"children":1449},{"className":1448},[],[1450],{"type":18,"value":660},{"type":18,"value":897},{"type":13,"tag":21,"props":1453,"children":1455},{"className":1454},[],[1456],{"type":18,"value":126},{"type":18,"value":488},{"type":13,"tag":490,"props":1459,"children":1460},{"type":492},[],{"type":18,"value":1462}," be allocated\nwith a ",{"type":13,"tag":389,"props":1464,"children":1466},{"href":1465},"/man/VkImportMemoryBufferCollectionFUCHSIA",[1467],{"type":18,"value":1468},"VkImportMemoryBufferCollectionFUCHSIA",{"type":18,"value":1440},{"type":13,"tag":389,"props":1471,"children":1473},{"href":1472},"/man/VkMemoryAllocateInfo",[1474],{"type":18,"value":639},{"type":18,"value":215},{"type":13,"tag":21,"props":1477,"children":1479},{"className":1478},[],[1480],{"type":18,"value":660},{"type":13,"tag":470,"props":1482,"children":1484},{"name":1483},"Valid Usage (Implicit)",[1485,1511,1534,1556,1579],{"type":13,"tag":475,"props":1486,"children":1488},{"name":1487},"VUID-vkBindImageMemory-device-parameter",[1489],{"type":13,"tag":14,"props":1490,"children":1491},{},[1492,1497,1498,1501,1503,1509],{"type":13,"tag":21,"props":1493,"children":1495},{"className":1494},[],[1496],{"type":18,"value":89},{"type":18,"value":488},{"type":13,"tag":490,"props":1499,"children":1500},{"type":492},[],{"type":18,"value":1502}," be a valid ",{"type":13,"tag":389,"props":1504,"children":1506},{"href":1505},"/man/VkDevice",[1507],{"type":18,"value":1508},"VkDevice",{"type":18,"value":1510}," handle",{"type":13,"tag":475,"props":1512,"children":1514},{"name":1513},"VUID-vkBindImageMemory-image-parameter",[1515],{"type":13,"tag":14,"props":1516,"children":1517},{},[1518,1523,1524,1527,1528,1533],{"type":13,"tag":21,"props":1519,"children":1521},{"className":1520},[],[1522],{"type":18,"value":108},{"type":18,"value":488},{"type":13,"tag":490,"props":1525,"children":1526},{"type":492},[],{"type":18,"value":1502},{"type":13,"tag":389,"props":1529,"children":1531},{"href":1530},"/man/VkImage",[1532],{"type":18,"value":26},{"type":18,"value":1510},{"type":13,"tag":475,"props":1535,"children":1537},{"name":1536},"VUID-vkBindImageMemory-memory-parameter",[1538],{"type":13,"tag":14,"props":1539,"children":1540},{},[1541,1546,1547,1550,1551,1555],{"type":13,"tag":21,"props":1542,"children":1544},{"className":1543},[],[1545],{"type":18,"value":126},{"type":18,"value":488},{"type":13,"tag":490,"props":1548,"children":1549},{"type":492},[],{"type":18,"value":1502},{"type":13,"tag":389,"props":1552,"children":1553},{"href":391},[1554],{"type":18,"value":394},{"type":18,"value":1510},{"type":13,"tag":475,"props":1557,"children":1559},{"name":1558},"VUID-vkBindImageMemory-image-parent",[1560],{"type":13,"tag":14,"props":1561,"children":1562},{},[1563,1568,1569,1572,1574],{"type":13,"tag":21,"props":1564,"children":1566},{"className":1565},[],[1567],{"type":18,"value":108},{"type":18,"value":488},{"type":13,"tag":490,"props":1570,"children":1571},{"type":492},[],{"type":18,"value":1573}," have been created, allocated, or retrieved from ",{"type":13,"tag":21,"props":1575,"children":1577},{"className":1576},[],[1578],{"type":18,"value":89},{"type":13,"tag":475,"props":1580,"children":1582},{"name":1581},"VUID-vkBindImageMemory-memory-parent",[1583],{"type":13,"tag":14,"props":1584,"children":1585},{},[1586,1591,1592,1595,1596],{"type":13,"tag":21,"props":1587,"children":1589},{"className":1588},[],[1590],{"type":18,"value":126},{"type":18,"value":488},{"type":13,"tag":490,"props":1593,"children":1594},{"type":492},[],{"type":18,"value":1573},{"type":13,"tag":21,"props":1597,"children":1599},{"className":1598},[],[1600],{"type":18,"value":89},{"type":13,"tag":1602,"props":1603,"children":1605},"validity-box",{"name":1604},"Host Synchronization",[1606],{"type":13,"tag":354,"props":1607,"children":1608},{},[1609],{"type":13,"tag":358,"props":1610,"children":1611},{},[1612,1614,1619,1620,1623],{"type":18,"value":1613},"Host access to ",{"type":13,"tag":21,"props":1615,"children":1617},{"className":1616},[],[1618],{"type":18,"value":108},{"type":18,"value":488},{"type":13,"tag":490,"props":1621,"children":1622},{"type":492},[],{"type":18,"value":1624}," be externally synchronized\n::",{"type":13,"tag":1626,"props":1627,"children":1628},"style",{},[1629],{"type":18,"value":1630},"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":77,"depth":77,"links":1632},[],"markdown",1729612490859]