[{"data":1,"prerenderedAt":552},["ShallowReactive",2],{"2wLCb0JSiX":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":551,"_id":4},"VkDeviceGroupBindSparseInfo","Structure indicating which instances are bound","VK_VERSION_1_1","structs",[],{"type":10,"children":11,"toc":549},"root",[12,45,57,297,302,367,431,443,462,515,543],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,43],{"type":18,"value":19},"text","If the ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"pNext",{"type":18,"value":28}," chain of ",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkBindSparseInfo",[34],{"type":18,"value":35},"VkBindSparseInfo",{"type":18,"value":37}," includes a\n",{"type":13,"tag":21,"props":39,"children":41},{"className":40},[],[42],{"type":18,"value":4},{"type":18,"value":44}," structure, then that structure includes\ndevice indices specifying which instance of the resources and memory are\nbound.",{"type":13,"tag":14,"props":46,"children":47},{},[48,50,55],{"type":18,"value":49},"The ",{"type":13,"tag":21,"props":51,"children":53},{"className":52},[],[54],{"type":18,"value":4},{"type":18,"value":56}," structure is defined as:",{"type":13,"tag":58,"props":59,"children":60},"code-group",{},[61,160],{"type":13,"tag":62,"props":63,"children":69},"pre",{"className":64,"code":65,"filename":66,"language":67,"meta":68,"style":68},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkDeviceGroupBindSparseInfo {\n VkStructureType sType;\n const void* pNext;\n uint32_t resourceDeviceIndex;\n uint32_t memoryDeviceIndex;\n} VkDeviceGroupBindSparseInfo;\n","C","c","",[70],{"type":13,"tag":21,"props":71,"children":72},{"__ignoreMap":68},[73,96,105,124,138,151],{"type":13,"tag":74,"props":75,"children":78},"span",{"class":76,"line":77},"line",1,[79,85,90],{"type":13,"tag":74,"props":80,"children":82},{"style":81},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[83],{"type":18,"value":84},"typedef",{"type":13,"tag":74,"props":86,"children":87},{"style":81},[88],{"type":18,"value":89}," struct",{"type":13,"tag":74,"props":91,"children":93},{"style":92},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[94],{"type":18,"value":95}," VkDeviceGroupBindSparseInfo {\n",{"type":13,"tag":74,"props":97,"children":99},{"class":76,"line":98},2,[100],{"type":13,"tag":74,"props":101,"children":102},{"style":92},[103],{"type":18,"value":104}," VkStructureType sType;\n",{"type":13,"tag":74,"props":106,"children":108},{"class":76,"line":107},3,[109,114,119],{"type":13,"tag":74,"props":110,"children":111},{"style":81},[112],{"type":18,"value":113}," const",{"type":13,"tag":74,"props":115,"children":116},{"style":81},[117],{"type":18,"value":118}," void*",{"type":13,"tag":74,"props":120,"children":121},{"style":92},[122],{"type":18,"value":123}," pNext;\n",{"type":13,"tag":74,"props":125,"children":127},{"class":76,"line":126},4,[128,133],{"type":13,"tag":74,"props":129,"children":130},{"style":81},[131],{"type":18,"value":132}," uint32_t",{"type":13,"tag":74,"props":134,"children":135},{"style":92},[136],{"type":18,"value":137}," resourceDeviceIndex;\n",{"type":13,"tag":74,"props":139,"children":141},{"class":76,"line":140},5,[142,146],{"type":13,"tag":74,"props":143,"children":144},{"style":81},[145],{"type":18,"value":132},{"type":13,"tag":74,"props":147,"children":148},{"style":92},[149],{"type":18,"value":150}," memoryDeviceIndex;\n",{"type":13,"tag":74,"props":152,"children":154},{"class":76,"line":153},6,[155],{"type":13,"tag":74,"props":156,"children":157},{"style":92},[158],{"type":18,"value":159},"} VkDeviceGroupBindSparseInfo;\n",{"type":13,"tag":62,"props":161,"children":166},{"className":162,"code":163,"filename":164,"language":165,"meta":68,"style":68},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DeviceGroupBindSparseInfo {\n s_type: vk::StructureType,\n p_next: *const c_void,\n resource_device_index: u32,\n memory_device_index: u32,\n}\n","Rust","rs",[167],{"type":13,"tag":21,"props":168,"children":169},{"__ignoreMap":68},[170,193,226,248,269,289],{"type":13,"tag":74,"props":171,"children":172},{"class":76,"line":77},[173,178,182,188],{"type":13,"tag":74,"props":174,"children":175},{"style":81},[176],{"type":18,"value":177},"pub",{"type":13,"tag":74,"props":179,"children":180},{"style":81},[181],{"type":18,"value":89},{"type":13,"tag":74,"props":183,"children":185},{"style":184},"--shiki-default:#953800;--shiki-dark:#FFA657",[186],{"type":18,"value":187}," DeviceGroupBindSparseInfo",{"type":13,"tag":74,"props":189,"children":190},{"style":92},[191],{"type":18,"value":192}," {\n",{"type":13,"tag":74,"props":194,"children":195},{"class":76,"line":98},[196,201,206,211,216,221],{"type":13,"tag":74,"props":197,"children":198},{"style":92},[199],{"type":18,"value":200}," s_type",{"type":13,"tag":74,"props":202,"children":203},{"style":81},[204],{"type":18,"value":205},":",{"type":13,"tag":74,"props":207,"children":208},{"style":184},[209],{"type":18,"value":210}," vk",{"type":13,"tag":74,"props":212,"children":213},{"style":81},[214],{"type":18,"value":215},"::",{"type":13,"tag":74,"props":217,"children":218},{"style":184},[219],{"type":18,"value":220},"StructureType",{"type":13,"tag":74,"props":222,"children":223},{"style":92},[224],{"type":18,"value":225},",\n",{"type":13,"tag":74,"props":227,"children":228},{"class":76,"line":107},[229,234,238,243],{"type":13,"tag":74,"props":230,"children":231},{"style":92},[232],{"type":18,"value":233}," p_next",{"type":13,"tag":74,"props":235,"children":236},{"style":81},[237],{"type":18,"value":205},{"type":13,"tag":74,"props":239,"children":240},{"style":81},[241],{"type":18,"value":242}," *const",{"type":13,"tag":74,"props":244,"children":245},{"style":92},[246],{"type":18,"value":247}," c_void,\n",{"type":13,"tag":74,"props":249,"children":250},{"class":76,"line":126},[251,256,260,265],{"type":13,"tag":74,"props":252,"children":253},{"style":92},[254],{"type":18,"value":255}," resource_device_index",{"type":13,"tag":74,"props":257,"children":258},{"style":81},[259],{"type":18,"value":205},{"type":13,"tag":74,"props":261,"children":262},{"style":184},[263],{"type":18,"value":264}," u32",{"type":13,"tag":74,"props":266,"children":267},{"style":92},[268],{"type":18,"value":225},{"type":13,"tag":74,"props":270,"children":271},{"class":76,"line":140},[272,277,281,285],{"type":13,"tag":74,"props":273,"children":274},{"style":92},[275],{"type":18,"value":276}," memory_device_index",{"type":13,"tag":74,"props":278,"children":279},{"style":81},[280],{"type":18,"value":205},{"type":13,"tag":74,"props":282,"children":283},{"style":184},[284],{"type":18,"value":264},{"type":13,"tag":74,"props":286,"children":287},{"style":92},[288],{"type":18,"value":225},{"type":13,"tag":74,"props":290,"children":291},{"class":76,"line":153},[292],{"type":13,"tag":74,"props":293,"children":294},{"style":92},[295],{"type":18,"value":296},"}\n",{"type":13,"tag":14,"props":298,"children":299},{},[300],{"type":18,"value":301},"or the equivalent",{"type":13,"tag":58,"props":303,"children":304},{},[305,324],{"type":13,"tag":62,"props":306,"children":308},{"className":64,"code":307,"filename":66,"language":67,"meta":68,"style":68},"typedef VkDeviceGroupBindSparseInfo VkDeviceGroupBindSparseInfoKHR;\n",[309],{"type":13,"tag":21,"props":310,"children":311},{"__ignoreMap":68},[312],{"type":13,"tag":74,"props":313,"children":314},{"class":76,"line":77},[315,319],{"type":13,"tag":74,"props":316,"children":317},{"style":81},[318],{"type":18,"value":84},{"type":13,"tag":74,"props":320,"children":321},{"style":92},[322],{"type":18,"value":323}," VkDeviceGroupBindSparseInfo VkDeviceGroupBindSparseInfoKHR;\n",{"type":13,"tag":62,"props":325,"children":327},{"className":162,"code":326,"filename":164,"language":165,"meta":68,"style":68},"type DeviceGroupBindSparseInfoKHR = vk::DeviceGroupBindSparseInfo;\n",[328],{"type":13,"tag":21,"props":329,"children":330},{"__ignoreMap":68},[331],{"type":13,"tag":74,"props":332,"children":333},{"class":76,"line":77},[334,339,344,349,353,357,362],{"type":13,"tag":74,"props":335,"children":336},{"style":81},[337],{"type":18,"value":338},"type",{"type":13,"tag":74,"props":340,"children":341},{"style":184},[342],{"type":18,"value":343}," DeviceGroupBindSparseInfoKHR",{"type":13,"tag":74,"props":345,"children":346},{"style":81},[347],{"type":18,"value":348}," =",{"type":13,"tag":74,"props":350,"children":351},{"style":184},[352],{"type":18,"value":210},{"type":13,"tag":74,"props":354,"children":355},{"style":81},[356],{"type":18,"value":215},{"type":13,"tag":74,"props":358,"children":359},{"style":184},[360],{"type":18,"value":361},"DeviceGroupBindSparseInfo",{"type":13,"tag":74,"props":363,"children":364},{"style":92},[365],{"type":18,"value":366},";\n",{"type":13,"tag":368,"props":369,"children":370},"ul",{},[371,391,409,420],{"type":13,"tag":372,"props":373,"children":374},"li",{},[375,381,383,389],{"type":13,"tag":21,"props":376,"children":378},{"className":377},[],[379],{"type":18,"value":380},"sType",{"type":18,"value":382}," is a ",{"type":13,"tag":30,"props":384,"children":386},{"href":385},"/man/VkStructureType",[387],{"type":18,"value":388},"VkStructureType",{"type":18,"value":390}," value identifying this structure.",{"type":13,"tag":372,"props":392,"children":393},{},[394,399,401,407],{"type":13,"tag":21,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":26},{"type":18,"value":400}," is ",{"type":13,"tag":21,"props":402,"children":404},{"className":403},[],[405],{"type":18,"value":406},"NULL",{"type":18,"value":408}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":372,"props":410,"children":411},{},[412,418],{"type":13,"tag":21,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":417},"resourceDeviceIndex",{"type":18,"value":419}," is a device index indicating which instance of\nthe resource is bound.",{"type":13,"tag":372,"props":421,"children":422},{},[423,429],{"type":13,"tag":21,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":428},"memoryDeviceIndex",{"type":18,"value":430}," is a device index indicating which instance of\nthe memory the resource instance is bound to.",{"type":13,"tag":14,"props":432,"children":433},{},[434,436,441],{"type":18,"value":435},"These device indices apply to all buffer and image memory binds included in\nthe batch pointing to this structure.\nThe semaphore waits and signals for the batch are executed only by the\nphysical device specified by the ",{"type":13,"tag":21,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":417},{"type":18,"value":442},".",{"type":13,"tag":14,"props":444,"children":445},{},[446,448,453,455,460],{"type":18,"value":447},"If this structure is not present, ",{"type":13,"tag":21,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":417},{"type":18,"value":454}," and\n",{"type":13,"tag":21,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":428},{"type":18,"value":461}," are assumed to be zero.",{"type":13,"tag":463,"props":464,"children":466},"validity-group",{"name":465},"Valid Usage",[467,496],{"type":13,"tag":468,"props":469,"children":471},"validity-field",{"name":470},"VUID-VkDeviceGroupBindSparseInfo-resourceDeviceIndex-01118",[472],{"type":13,"tag":14,"props":473,"children":474},{},[475,480,482,487,489,494],{"type":13,"tag":21,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":417},{"type":18,"value":481}," and ",{"type":13,"tag":21,"props":483,"children":485},{"className":484},[],[486],{"type":18,"value":428},{"type":18,"value":488}," ",{"type":13,"tag":490,"props":491,"children":493},"normative",{"type":492},"must",[],{"type":18,"value":495}," both be\nvalid device indices",{"type":13,"tag":468,"props":497,"children":499},{"name":498},"VUID-VkDeviceGroupBindSparseInfo-memoryDeviceIndex-01119",[500],{"type":13,"tag":14,"props":501,"children":502},{},[503,505,508,510],{"type":18,"value":504},"Each memory allocation bound in this batch ",{"type":13,"tag":490,"props":506,"children":507},{"type":492},[],{"type":18,"value":509}," have allocated an\ninstance for ",{"type":13,"tag":21,"props":511,"children":513},{"className":512},[],[514],{"type":18,"value":428},{"type":13,"tag":463,"props":516,"children":518},{"name":517},"Valid Usage (Implicit)",[519],{"type":13,"tag":468,"props":520,"children":522},{"name":521},"VUID-VkDeviceGroupBindSparseInfo-sType-sType",[523],{"type":13,"tag":14,"props":524,"children":525},{},[526,531,532,535,537],{"type":13,"tag":21,"props":527,"children":529},{"className":528},[],[530],{"type":18,"value":380},{"type":18,"value":488},{"type":13,"tag":490,"props":533,"children":534},{"type":492},[],{"type":18,"value":536}," be ",{"type":13,"tag":21,"props":538,"children":540},{"className":539},[],[541],{"type":18,"value":542},"VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO",{"type":13,"tag":544,"props":545,"children":546},"style",{},[547],{"type":18,"value":548},"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":68,"searchDepth":98,"depth":98,"links":550},[],"markdown",1725732548508]