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