[{"data":1,"prerenderedAt":1431},["ShallowReactive",2],{"uBFUODNvvA":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":1430,"_id":4},"vkGetImageSubresourceLayout2KHR","Retrieve information about an image subresource","VK_KHR_maintenance5","protos",[],{"type":10,"children":11,"toc":1428},"root",[12,20,338,343,607,670,688,736,772,1298,1422],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query the memory layout of an image subresource, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,150],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","void vkGetImageSubresourceLayout2KHR(\n VkDevice device,\n VkImage image,\n const VkImageSubresource2KHR* pSubresource,\n VkSubresourceLayout2KHR* pLayout);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81,99,127],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,55],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"void",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkGetImageSubresourceLayout2KHR",{"type":13,"tag":38,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"(\n",{"type":13,"tag":38,"props":62,"children":64},{"class":40,"line":63},2,[65,70,76],{"type":13,"tag":38,"props":66,"children":67},{"style":57},[68],{"type":18,"value":69}," VkDevice ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"device",{"type":13,"tag":38,"props":77,"children":78},{"style":57},[79],{"type":18,"value":80},",\n",{"type":13,"tag":38,"props":82,"children":84},{"class":40,"line":83},3,[85,90,95],{"type":13,"tag":38,"props":86,"children":87},{"style":57},[88],{"type":18,"value":89}," VkImage ",{"type":13,"tag":38,"props":91,"children":92},{"style":72},[93],{"type":18,"value":94},"image",{"type":13,"tag":38,"props":96,"children":97},{"style":57},[98],{"type":18,"value":80},{"type":13,"tag":38,"props":100,"children":102},{"class":40,"line":101},4,[103,108,113,118,123],{"type":13,"tag":38,"props":104,"children":105},{"style":45},[106],{"type":18,"value":107}," const",{"type":13,"tag":38,"props":109,"children":110},{"style":57},[111],{"type":18,"value":112}," VkImageSubresource2KHR",{"type":13,"tag":38,"props":114,"children":115},{"style":45},[116],{"type":18,"value":117},"*",{"type":13,"tag":38,"props":119,"children":120},{"style":72},[121],{"type":18,"value":122}," pSubresource",{"type":13,"tag":38,"props":124,"children":125},{"style":57},[126],{"type":18,"value":80},{"type":13,"tag":38,"props":128,"children":130},{"class":40,"line":129},5,[131,136,140,145],{"type":13,"tag":38,"props":132,"children":133},{"style":57},[134],{"type":18,"value":135}," VkSubresourceLayout2KHR",{"type":13,"tag":38,"props":137,"children":138},{"style":45},[139],{"type":18,"value":117},{"type":13,"tag":38,"props":141,"children":142},{"style":72},[143],{"type":18,"value":144}," pLayout",{"type":13,"tag":38,"props":146,"children":147},{"style":57},[148],{"type":18,"value":149},");\n",{"type":13,"tag":25,"props":151,"children":156},{"className":152,"code":153,"filename":154,"language":155,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_image_subresource_layout2_khr(\n device: crate :: vk :: vk::Device,\n image: vk::Image,\n p_subresource: *const vk::ImageSubresource2KHR,\n p_layout: *mut vk::SubresourceLayout2KHR,\n);\n","Rust","rs",[157],{"type":13,"tag":34,"props":158,"children":159},{"__ignoreMap":31},[160,182,233,262,296,330],{"type":13,"tag":38,"props":161,"children":162},{"class":40,"line":41},[163,168,173,178],{"type":13,"tag":38,"props":164,"children":165},{"style":45},[166],{"type":18,"value":167},"pub",{"type":13,"tag":38,"props":169,"children":170},{"style":45},[171],{"type":18,"value":172}," fn",{"type":13,"tag":38,"props":174,"children":175},{"style":51},[176],{"type":18,"value":177}," get_image_subresource_layout2_khr",{"type":13,"tag":38,"props":179,"children":180},{"style":57},[181],{"type":18,"value":60},{"type":13,"tag":38,"props":183,"children":184},{"class":40,"line":63},[185,190,195,200,205,210,215,220,224,229],{"type":13,"tag":38,"props":186,"children":187},{"style":57},[188],{"type":18,"value":189}," device",{"type":13,"tag":38,"props":191,"children":192},{"style":45},[193],{"type":18,"value":194},":",{"type":13,"tag":38,"props":196,"children":197},{"style":45},[198],{"type":18,"value":199}," crate",{"type":13,"tag":38,"props":201,"children":202},{"style":45},[203],{"type":18,"value":204}," ::",{"type":13,"tag":38,"props":206,"children":207},{"style":57},[208],{"type":18,"value":209}," vk ",{"type":13,"tag":38,"props":211,"children":212},{"style":45},[213],{"type":18,"value":214},"::",{"type":13,"tag":38,"props":216,"children":217},{"style":72},[218],{"type":18,"value":219}," vk",{"type":13,"tag":38,"props":221,"children":222},{"style":45},[223],{"type":18,"value":214},{"type":13,"tag":38,"props":225,"children":226},{"style":72},[227],{"type":18,"value":228},"Device",{"type":13,"tag":38,"props":230,"children":231},{"style":57},[232],{"type":18,"value":80},{"type":13,"tag":38,"props":234,"children":235},{"class":40,"line":83},[236,241,245,249,253,258],{"type":13,"tag":38,"props":237,"children":238},{"style":57},[239],{"type":18,"value":240}," image",{"type":13,"tag":38,"props":242,"children":243},{"style":45},[244],{"type":18,"value":194},{"type":13,"tag":38,"props":246,"children":247},{"style":72},[248],{"type":18,"value":219},{"type":13,"tag":38,"props":250,"children":251},{"style":45},[252],{"type":18,"value":214},{"type":13,"tag":38,"props":254,"children":255},{"style":72},[256],{"type":18,"value":257},"Image",{"type":13,"tag":38,"props":259,"children":260},{"style":57},[261],{"type":18,"value":80},{"type":13,"tag":38,"props":263,"children":264},{"class":40,"line":101},[265,270,274,279,283,287,292],{"type":13,"tag":38,"props":266,"children":267},{"style":57},[268],{"type":18,"value":269}," p_subresource",{"type":13,"tag":38,"props":271,"children":272},{"style":45},[273],{"type":18,"value":194},{"type":13,"tag":38,"props":275,"children":276},{"style":45},[277],{"type":18,"value":278}," *const",{"type":13,"tag":38,"props":280,"children":281},{"style":72},[282],{"type":18,"value":219},{"type":13,"tag":38,"props":284,"children":285},{"style":45},[286],{"type":18,"value":214},{"type":13,"tag":38,"props":288,"children":289},{"style":72},[290],{"type":18,"value":291},"ImageSubresource2KHR",{"type":13,"tag":38,"props":293,"children":294},{"style":57},[295],{"type":18,"value":80},{"type":13,"tag":38,"props":297,"children":298},{"class":40,"line":129},[299,304,308,313,317,321,326],{"type":13,"tag":38,"props":300,"children":301},{"style":57},[302],{"type":18,"value":303}," p_layout",{"type":13,"tag":38,"props":305,"children":306},{"style":45},[307],{"type":18,"value":194},{"type":13,"tag":38,"props":309,"children":310},{"style":45},[311],{"type":18,"value":312}," *mut",{"type":13,"tag":38,"props":314,"children":315},{"style":72},[316],{"type":18,"value":219},{"type":13,"tag":38,"props":318,"children":319},{"style":45},[320],{"type":18,"value":214},{"type":13,"tag":38,"props":322,"children":323},{"style":72},[324],{"type":18,"value":325},"SubresourceLayout2KHR",{"type":13,"tag":38,"props":327,"children":328},{"style":57},[329],{"type":18,"value":80},{"type":13,"tag":38,"props":331,"children":333},{"class":40,"line":332},6,[334],{"type":13,"tag":38,"props":335,"children":336},{"style":57},[337],{"type":18,"value":149},{"type":13,"tag":14,"props":339,"children":340},{},[341],{"type":18,"value":342},"or the equivalent command",{"type":13,"tag":21,"props":344,"children":345},{},[346,441],{"type":13,"tag":25,"props":347,"children":349},{"className":27,"code":348,"filename":29,"language":30,"meta":31,"style":31},"void vkGetImageSubresourceLayout2EXT(\n VkDevice device,\n VkImage image,\n const VkImageSubresource2KHR* pSubresource,\n VkSubresourceLayout2KHR* pLayout);\n",[350],{"type":13,"tag":34,"props":351,"children":352},{"__ignoreMap":31},[353,369,384,399,422],{"type":13,"tag":38,"props":354,"children":355},{"class":40,"line":41},[356,360,365],{"type":13,"tag":38,"props":357,"children":358},{"style":45},[359],{"type":18,"value":48},{"type":13,"tag":38,"props":361,"children":362},{"style":51},[363],{"type":18,"value":364}," vkGetImageSubresourceLayout2EXT",{"type":13,"tag":38,"props":366,"children":367},{"style":57},[368],{"type":18,"value":60},{"type":13,"tag":38,"props":370,"children":371},{"class":40,"line":63},[372,376,380],{"type":13,"tag":38,"props":373,"children":374},{"style":57},[375],{"type":18,"value":69},{"type":13,"tag":38,"props":377,"children":378},{"style":72},[379],{"type":18,"value":75},{"type":13,"tag":38,"props":381,"children":382},{"style":57},[383],{"type":18,"value":80},{"type":13,"tag":38,"props":385,"children":386},{"class":40,"line":83},[387,391,395],{"type":13,"tag":38,"props":388,"children":389},{"style":57},[390],{"type":18,"value":89},{"type":13,"tag":38,"props":392,"children":393},{"style":72},[394],{"type":18,"value":94},{"type":13,"tag":38,"props":396,"children":397},{"style":57},[398],{"type":18,"value":80},{"type":13,"tag":38,"props":400,"children":401},{"class":40,"line":101},[402,406,410,414,418],{"type":13,"tag":38,"props":403,"children":404},{"style":45},[405],{"type":18,"value":107},{"type":13,"tag":38,"props":407,"children":408},{"style":57},[409],{"type":18,"value":112},{"type":13,"tag":38,"props":411,"children":412},{"style":45},[413],{"type":18,"value":117},{"type":13,"tag":38,"props":415,"children":416},{"style":72},[417],{"type":18,"value":122},{"type":13,"tag":38,"props":419,"children":420},{"style":57},[421],{"type":18,"value":80},{"type":13,"tag":38,"props":423,"children":424},{"class":40,"line":129},[425,429,433,437],{"type":13,"tag":38,"props":426,"children":427},{"style":57},[428],{"type":18,"value":135},{"type":13,"tag":38,"props":430,"children":431},{"style":45},[432],{"type":18,"value":117},{"type":13,"tag":38,"props":434,"children":435},{"style":72},[436],{"type":18,"value":144},{"type":13,"tag":38,"props":438,"children":439},{"style":57},[440],{"type":18,"value":149},{"type":13,"tag":25,"props":442,"children":444},{"className":152,"code":443,"filename":154,"language":155,"meta":31,"style":31},"pub fn get_image_subresource_layout2_ext(\n device: crate :: vk :: vk::Device,\n image: vk::Image,\n p_subresource: *const vk::ImageSubresource2KHR,\n p_layout: *mut vk::SubresourceLayout2KHR,\n);\n",[445],{"type":13,"tag":34,"props":446,"children":447},{"__ignoreMap":31},[448,468,511,538,569,600],{"type":13,"tag":38,"props":449,"children":450},{"class":40,"line":41},[451,455,459,464],{"type":13,"tag":38,"props":452,"children":453},{"style":45},[454],{"type":18,"value":167},{"type":13,"tag":38,"props":456,"children":457},{"style":45},[458],{"type":18,"value":172},{"type":13,"tag":38,"props":460,"children":461},{"style":51},[462],{"type":18,"value":463}," get_image_subresource_layout2_ext",{"type":13,"tag":38,"props":465,"children":466},{"style":57},[467],{"type":18,"value":60},{"type":13,"tag":38,"props":469,"children":470},{"class":40,"line":63},[471,475,479,483,487,491,495,499,503,507],{"type":13,"tag":38,"props":472,"children":473},{"style":57},[474],{"type":18,"value":189},{"type":13,"tag":38,"props":476,"children":477},{"style":45},[478],{"type":18,"value":194},{"type":13,"tag":38,"props":480,"children":481},{"style":45},[482],{"type":18,"value":199},{"type":13,"tag":38,"props":484,"children":485},{"style":45},[486],{"type":18,"value":204},{"type":13,"tag":38,"props":488,"children":489},{"style":57},[490],{"type":18,"value":209},{"type":13,"tag":38,"props":492,"children":493},{"style":45},[494],{"type":18,"value":214},{"type":13,"tag":38,"props":496,"children":497},{"style":72},[498],{"type":18,"value":219},{"type":13,"tag":38,"props":500,"children":501},{"style":45},[502],{"type":18,"value":214},{"type":13,"tag":38,"props":504,"children":505},{"style":72},[506],{"type":18,"value":228},{"type":13,"tag":38,"props":508,"children":509},{"style":57},[510],{"type":18,"value":80},{"type":13,"tag":38,"props":512,"children":513},{"class":40,"line":83},[514,518,522,526,530,534],{"type":13,"tag":38,"props":515,"children":516},{"style":57},[517],{"type":18,"value":240},{"type":13,"tag":38,"props":519,"children":520},{"style":45},[521],{"type":18,"value":194},{"type":13,"tag":38,"props":523,"children":524},{"style":72},[525],{"type":18,"value":219},{"type":13,"tag":38,"props":527,"children":528},{"style":45},[529],{"type":18,"value":214},{"type":13,"tag":38,"props":531,"children":532},{"style":72},[533],{"type":18,"value":257},{"type":13,"tag":38,"props":535,"children":536},{"style":57},[537],{"type":18,"value":80},{"type":13,"tag":38,"props":539,"children":540},{"class":40,"line":101},[541,545,549,553,557,561,565],{"type":13,"tag":38,"props":542,"children":543},{"style":57},[544],{"type":18,"value":269},{"type":13,"tag":38,"props":546,"children":547},{"style":45},[548],{"type":18,"value":194},{"type":13,"tag":38,"props":550,"children":551},{"style":45},[552],{"type":18,"value":278},{"type":13,"tag":38,"props":554,"children":555},{"style":72},[556],{"type":18,"value":219},{"type":13,"tag":38,"props":558,"children":559},{"style":45},[560],{"type":18,"value":214},{"type":13,"tag":38,"props":562,"children":563},{"style":72},[564],{"type":18,"value":291},{"type":13,"tag":38,"props":566,"children":567},{"style":57},[568],{"type":18,"value":80},{"type":13,"tag":38,"props":570,"children":571},{"class":40,"line":129},[572,576,580,584,588,592,596],{"type":13,"tag":38,"props":573,"children":574},{"style":57},[575],{"type":18,"value":303},{"type":13,"tag":38,"props":577,"children":578},{"style":45},[579],{"type":18,"value":194},{"type":13,"tag":38,"props":581,"children":582},{"style":45},[583],{"type":18,"value":312},{"type":13,"tag":38,"props":585,"children":586},{"style":72},[587],{"type":18,"value":219},{"type":13,"tag":38,"props":589,"children":590},{"style":45},[591],{"type":18,"value":214},{"type":13,"tag":38,"props":593,"children":594},{"style":72},[595],{"type":18,"value":325},{"type":13,"tag":38,"props":597,"children":598},{"style":57},[599],{"type":18,"value":80},{"type":13,"tag":38,"props":601,"children":602},{"class":40,"line":332},[603],{"type":13,"tag":38,"props":604,"children":605},{"style":57},[606],{"type":18,"value":149},{"type":13,"tag":608,"props":609,"children":610},"ul",{},[611,622,632,652],{"type":13,"tag":612,"props":613,"children":614},"li",{},[615,620],{"type":13,"tag":34,"props":616,"children":618},{"className":617},[],[619],{"type":18,"value":75},{"type":18,"value":621}," is the logical device that owns the image.",{"type":13,"tag":612,"props":623,"children":624},{},[625,630],{"type":13,"tag":34,"props":626,"children":628},{"className":627},[],[629],{"type":18,"value":94},{"type":18,"value":631}," is the image whose layout is being queried.",{"type":13,"tag":612,"props":633,"children":634},{},[635,641,643,650],{"type":13,"tag":34,"props":636,"children":638},{"className":637},[],[639],{"type":18,"value":640},"pSubresource",{"type":18,"value":642}," is a pointer to a ",{"type":13,"tag":644,"props":645,"children":647},"a",{"href":646},"/man/VkImageSubresource2KHR",[648],{"type":18,"value":649},"VkImageSubresource2KHR",{"type":18,"value":651},"\nstructure selecting a specific image for the image subresource.",{"type":13,"tag":612,"props":653,"children":654},{},[655,661,662,668],{"type":13,"tag":34,"props":656,"children":658},{"className":657},[],[659],{"type":18,"value":660},"pLayout",{"type":18,"value":642},{"type":13,"tag":644,"props":663,"children":665},{"href":664},"/man/VkSubresourceLayout2KHR",[666],{"type":18,"value":667},"VkSubresourceLayout2KHR",{"type":18,"value":669}," structure\nin which the layout is returned.",{"type":13,"tag":14,"props":671,"children":672},{},[673,678,680,686],{"type":13,"tag":34,"props":674,"children":676},{"className":675},[],[677],{"type":18,"value":4},{"type":18,"value":679}," behaves similarly to\n",{"type":13,"tag":644,"props":681,"children":683},{"href":682},"/man/vkGetImageSubresourceLayout",[684],{"type":18,"value":685},"vkGetImageSubresourceLayout",{"type":18,"value":687},", with the ability to specify extended\ninputs via chained input structures, and to return extended information via\nchained output structures.",{"type":13,"tag":14,"props":689,"children":690},{},[691,693,698,700,705,707,713,715,721,723,727,728,734],{"type":18,"value":692},"It is legal to call ",{"type":13,"tag":34,"props":694,"children":696},{"className":695},[],[697],{"type":18,"value":4},{"type":18,"value":699}," with an\n",{"type":13,"tag":34,"props":701,"children":703},{"className":702},[],[704],{"type":18,"value":94},{"type":18,"value":706}," created with ",{"type":13,"tag":34,"props":708,"children":710},{"className":709},[],[711],{"type":18,"value":712},"tiling",{"type":18,"value":714}," equal to\n",{"type":13,"tag":34,"props":716,"children":718},{"className":717},[],[719],{"type":18,"value":720},"VK_IMAGE_TILING_OPTIMAL",{"type":18,"value":722},", but the members of\n",{"type":13,"tag":644,"props":724,"children":725},{"href":664},[726],{"type":18,"value":667},{"type":18,"value":214},{"type":13,"tag":34,"props":729,"children":731},{"className":730},[],[732],{"type":18,"value":733},"subresourceLayout",{"type":18,"value":735}," will have undefined:\nvalues in this case.",{"type":13,"tag":737,"props":738,"children":739},"note",{},[740],{"type":13,"tag":14,"props":741,"children":742},{},[743,745,749,750,756,758,763,765,770],{"type":18,"value":744},"Structures chained from ",{"type":13,"tag":644,"props":746,"children":747},{"href":646},[748],{"type":18,"value":649},{"type":18,"value":214},{"type":13,"tag":34,"props":751,"children":753},{"className":752},[],[754],{"type":18,"value":755},"pNext",{"type":18,"value":757}," will also\nbe updated when ",{"type":13,"tag":34,"props":759,"children":761},{"className":760},[],[762],{"type":18,"value":712},{"type":18,"value":764}," is equal to ",{"type":13,"tag":34,"props":766,"children":768},{"className":767},[],[769],{"type":18,"value":720},{"type":18,"value":771},".",{"type":13,"tag":773,"props":774,"children":776},"validity-group",{"name":775},"Valid Usage",[777,809,848,885,968,1012,1055,1105,1165,1199],{"type":13,"tag":778,"props":779,"children":781},"validity-field",{"name":780},"VUID-vkGetImageSubresourceLayout2KHR-aspectMask-00997",[782],{"type":13,"tag":14,"props":783,"children":784},{},[785,787,793,795,800,802,807],{"type":18,"value":786},"The ",{"type":13,"tag":34,"props":788,"children":790},{"className":789},[],[791],{"type":18,"value":792},"aspectMask",{"type":18,"value":794}," member of ",{"type":13,"tag":34,"props":796,"children":798},{"className":797},[],[799],{"type":18,"value":640},{"type":18,"value":801}," ",{"type":13,"tag":803,"props":804,"children":806},"normative",{"type":805},"must",[],{"type":18,"value":808}," only have a\nsingle bit set",{"type":13,"tag":778,"props":810,"children":812},{"name":811},"VUID-vkGetImageSubresourceLayout2KHR-mipLevel-01716",[813],{"type":13,"tag":14,"props":814,"children":815},{},[816,817,823,824,829,830,833,835,841,843],{"type":18,"value":786},{"type":13,"tag":34,"props":818,"children":820},{"className":819},[],[821],{"type":18,"value":822},"mipLevel",{"type":18,"value":794},{"type":13,"tag":34,"props":825,"children":827},{"className":826},[],[828],{"type":18,"value":640},{"type":18,"value":801},{"type":13,"tag":803,"props":831,"children":832},{"type":805},[],{"type":18,"value":834}," be less than the\n",{"type":13,"tag":34,"props":836,"children":838},{"className":837},[],[839],{"type":18,"value":840},"mipLevels",{"type":18,"value":842}," specified in ",{"type":13,"tag":34,"props":844,"children":846},{"className":845},[],[847],{"type":18,"value":94},{"type":13,"tag":778,"props":849,"children":851},{"name":850},"VUID-vkGetImageSubresourceLayout2KHR-arrayLayer-01717",[852],{"type":13,"tag":14,"props":853,"children":854},{},[855,856,862,863,868,869,872,873,879,880],{"type":18,"value":786},{"type":13,"tag":34,"props":857,"children":859},{"className":858},[],[860],{"type":18,"value":861},"arrayLayer",{"type":18,"value":794},{"type":13,"tag":34,"props":864,"children":866},{"className":865},[],[867],{"type":18,"value":640},{"type":18,"value":801},{"type":13,"tag":803,"props":870,"children":871},{"type":805},[],{"type":18,"value":834},{"type":13,"tag":34,"props":874,"children":876},{"className":875},[],[877],{"type":18,"value":878},"arrayLayers",{"type":18,"value":842},{"type":13,"tag":34,"props":881,"children":883},{"className":882},[],[884],{"type":18,"value":94},{"type":13,"tag":778,"props":886,"children":888},{"name":887},"VUID-vkGetImageSubresourceLayout2KHR-format-08886",[889],{"type":13,"tag":14,"props":890,"children":891},{},[892,894,900,902,907,909,915,917,922,923,928,930,936,938,943,945,950,951,956,957,960,962],{"type":18,"value":893},"If ",{"type":13,"tag":34,"props":895,"children":897},{"className":896},[],[898],{"type":18,"value":899},"format",{"type":18,"value":901}," of the ",{"type":13,"tag":34,"props":903,"children":905},{"className":904},[],[906],{"type":18,"value":94},{"type":18,"value":908}," is a color format\nthat is not a ",{"type":13,"tag":644,"props":910,"children":912},{"href":911},"/chapters/formats#formats-requiring-sampler-ycbcr-conversion",[913],{"type":18,"value":914},"multi-planar\nimage format",{"type":18,"value":916},",\nand ",{"type":13,"tag":34,"props":918,"children":920},{"className":919},[],[921],{"type":18,"value":712},{"type":18,"value":901},{"type":13,"tag":34,"props":924,"children":926},{"className":925},[],[927],{"type":18,"value":94},{"type":18,"value":929}," is\n",{"type":13,"tag":34,"props":931,"children":933},{"className":932},[],[934],{"type":18,"value":935},"VK_IMAGE_TILING_LINEAR",{"type":18,"value":937}," or ",{"type":13,"tag":34,"props":939,"children":941},{"className":940},[],[942],{"type":18,"value":720},{"type":18,"value":944},", the\n",{"type":13,"tag":34,"props":946,"children":948},{"className":947},[],[949],{"type":18,"value":792},{"type":18,"value":794},{"type":13,"tag":34,"props":952,"children":954},{"className":953},[],[955],{"type":18,"value":640},{"type":18,"value":801},{"type":13,"tag":803,"props":958,"children":959},{"type":805},[],{"type":18,"value":961}," be\n",{"type":13,"tag":34,"props":963,"children":965},{"className":964},[],[966],{"type":18,"value":967},"VK_IMAGE_ASPECT_COLOR_BIT",{"type":13,"tag":778,"props":969,"children":971},{"name":970},"VUID-vkGetImageSubresourceLayout2KHR-format-04462",[972],{"type":13,"tag":14,"props":973,"children":974},{},[975,976,981,982,987,989,994,995,1000,1001,1004,1006],{"type":18,"value":893},{"type":13,"tag":34,"props":977,"children":979},{"className":978},[],[980],{"type":18,"value":899},{"type":18,"value":901},{"type":13,"tag":34,"props":983,"children":985},{"className":984},[],[986],{"type":18,"value":94},{"type":18,"value":988}," has a depth component, the\n",{"type":13,"tag":34,"props":990,"children":992},{"className":991},[],[993],{"type":18,"value":792},{"type":18,"value":794},{"type":13,"tag":34,"props":996,"children":998},{"className":997},[],[999],{"type":18,"value":640},{"type":18,"value":801},{"type":13,"tag":803,"props":1002,"children":1003},{"type":805},[],{"type":18,"value":1005}," contain\n",{"type":13,"tag":34,"props":1007,"children":1009},{"className":1008},[],[1010],{"type":18,"value":1011},"VK_IMAGE_ASPECT_DEPTH_BIT",{"type":13,"tag":778,"props":1013,"children":1015},{"name":1014},"VUID-vkGetImageSubresourceLayout2KHR-format-04463",[1016],{"type":13,"tag":14,"props":1017,"children":1018},{},[1019,1020,1025,1026,1031,1033,1038,1039,1044,1045,1048,1049],{"type":18,"value":893},{"type":13,"tag":34,"props":1021,"children":1023},{"className":1022},[],[1024],{"type":18,"value":899},{"type":18,"value":901},{"type":13,"tag":34,"props":1027,"children":1029},{"className":1028},[],[1030],{"type":18,"value":94},{"type":18,"value":1032}," has a stencil component, the\n",{"type":13,"tag":34,"props":1034,"children":1036},{"className":1035},[],[1037],{"type":18,"value":792},{"type":18,"value":794},{"type":13,"tag":34,"props":1040,"children":1042},{"className":1041},[],[1043],{"type":18,"value":640},{"type":18,"value":801},{"type":13,"tag":803,"props":1046,"children":1047},{"type":805},[],{"type":18,"value":1005},{"type":13,"tag":34,"props":1050,"children":1052},{"className":1051},[],[1053],{"type":18,"value":1054},"VK_IMAGE_ASPECT_STENCIL_BIT",{"type":13,"tag":778,"props":1056,"children":1058},{"name":1057},"VUID-vkGetImageSubresourceLayout2KHR-format-04464",[1059],{"type":13,"tag":14,"props":1060,"children":1061},{},[1062,1063,1068,1069,1074,1076,1081,1082,1087,1088,1091,1093,1098,1100],{"type":18,"value":893},{"type":13,"tag":34,"props":1064,"children":1066},{"className":1065},[],[1067],{"type":18,"value":899},{"type":18,"value":901},{"type":13,"tag":34,"props":1070,"children":1072},{"className":1071},[],[1073],{"type":18,"value":94},{"type":18,"value":1075}," does not contain a stencil or\ndepth component, the ",{"type":13,"tag":34,"props":1077,"children":1079},{"className":1078},[],[1080],{"type":18,"value":792},{"type":18,"value":794},{"type":13,"tag":34,"props":1083,"children":1085},{"className":1084},[],[1086],{"type":18,"value":640},{"type":18,"value":801},{"type":13,"tag":803,"props":1089,"children":1090},{"type":805},[],{"type":18,"value":1092},"\nnot contain ",{"type":13,"tag":34,"props":1094,"children":1096},{"className":1095},[],[1097],{"type":18,"value":1011},{"type":18,"value":1099}," or\n",{"type":13,"tag":34,"props":1101,"children":1103},{"className":1102},[],[1104],{"type":18,"value":1054},{"type":13,"tag":778,"props":1106,"children":1108},{"name":1107},"VUID-vkGetImageSubresourceLayout2KHR-tiling-08717",[1109],{"type":13,"tag":14,"props":1110,"children":1111},{},[1112,1114,1119,1120,1125,1126,1131,1133,1138,1140,1145,1146,1151,1152,1155,1157,1163],{"type":18,"value":1113},"If the ",{"type":13,"tag":34,"props":1115,"children":1117},{"className":1116},[],[1118],{"type":18,"value":712},{"type":18,"value":901},{"type":13,"tag":34,"props":1121,"children":1123},{"className":1122},[],[1124],{"type":18,"value":94},{"type":18,"value":929},{"type":13,"tag":34,"props":1127,"children":1129},{"className":1128},[],[1130],{"type":18,"value":935},{"type":18,"value":1132}," and has a\n",{"type":13,"tag":644,"props":1134,"children":1135},{"href":911},[1136],{"type":18,"value":1137},"multi-planar image\nformat",{"type":18,"value":1139},", then the ",{"type":13,"tag":34,"props":1141,"children":1143},{"className":1142},[],[1144],{"type":18,"value":792},{"type":18,"value":794},{"type":13,"tag":34,"props":1147,"children":1149},{"className":1148},[],[1150],{"type":18,"value":640},{"type":18,"value":801},{"type":13,"tag":803,"props":1153,"children":1154},{"type":805},[],{"type":18,"value":1156},"\nbe a single valid ",{"type":13,"tag":644,"props":1158,"children":1160},{"href":1159},"/chapters/formats#formats-planes-image-aspect",[1161],{"type":18,"value":1162},"multi-planar aspect\nmask",{"type":18,"value":1164}," bit",{"type":13,"tag":778,"props":1166,"children":1168},{"name":1167},"VUID-vkGetImageSubresourceLayout2KHR-image-09434",[1169],{"type":13,"tag":14,"props":1170,"children":1171},{},[1172,1173,1178,1180,1186,1188,1193,1194,1197],{"type":18,"value":893},{"type":13,"tag":34,"props":1174,"children":1176},{"className":1175},[],[1177],{"type":18,"value":94},{"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_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID",{"type":18,"value":1187},"\nexternal memory handle type, then ",{"type":13,"tag":34,"props":1189,"children":1191},{"className":1190},[],[1192],{"type":18,"value":94},{"type":18,"value":801},{"type":13,"tag":803,"props":1195,"children":1196},{"type":805},[],{"type":18,"value":1198}," be bound to memory",{"type":13,"tag":778,"props":1200,"children":1202},{"name":1201},"VUID-vkGetImageSubresourceLayout2KHR-tiling-09435",[1203],{"type":13,"tag":14,"props":1204,"children":1205},{},[1206,1207,1212,1213,1218,1219,1225,1226,1231,1233,1238,1239,1242,1244,1250,1252,1257,1258,1261,1263,1269,1270,1276,1278,1283,1285,1291,1292],{"type":18,"value":1113},{"type":13,"tag":34,"props":1208,"children":1210},{"className":1209},[],[1211],{"type":18,"value":712},{"type":18,"value":901},{"type":13,"tag":34,"props":1214,"children":1216},{"className":1215},[],[1217],{"type":18,"value":94},{"type":18,"value":929},{"type":13,"tag":34,"props":1220,"children":1222},{"className":1221},[],[1223],{"type":18,"value":1224},"VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT",{"type":18,"value":1139},{"type":13,"tag":34,"props":1227,"children":1229},{"className":1228},[],[1230],{"type":18,"value":792},{"type":18,"value":1232},"\nmember of ",{"type":13,"tag":34,"props":1234,"children":1236},{"className":1235},[],[1237],{"type":18,"value":640},{"type":18,"value":801},{"type":13,"tag":803,"props":1240,"children":1241},{"type":805},[],{"type":18,"value":1243}," be\nVK_IMAGE_ASPECT_MEMORY_PLANE",{"type":13,"tag":1245,"props":1246,"children":1247},"strong",{},[1248],{"type":18,"value":1249},"i",{"type":18,"value":1251},"BIT_EXT and the index ",{"type":13,"tag":1253,"props":1254,"children":1255},"em",{},[1256],{"type":18,"value":1249},{"type":18,"value":801},{"type":13,"tag":803,"props":1259,"children":1260},{"type":805},[],{"type":18,"value":1262},"\nbe less than the\n",{"type":13,"tag":644,"props":1264,"children":1266},{"href":1265},"/man/VkDrmFormatModifierPropertiesEXT",[1267],{"type":18,"value":1268},"VkDrmFormatModifierPropertiesEXT",{"type":18,"value":214},{"type":13,"tag":34,"props":1271,"children":1273},{"className":1272},[],[1274],{"type":18,"value":1275},"drmFormatModifierPlaneCount",{"type":18,"value":1277},"\nassociated with the image’s ",{"type":13,"tag":34,"props":1279,"children":1281},{"className":1280},[],[1282],{"type":18,"value":899},{"type":18,"value":1284}," and\n",{"type":13,"tag":644,"props":1286,"children":1288},{"href":1287},"/man/VkImageDrmFormatModifierPropertiesEXT",[1289],{"type":18,"value":1290},"VkImageDrmFormatModifierPropertiesEXT",{"type":18,"value":214},{"type":13,"tag":34,"props":1293,"children":1295},{"className":1294},[],[1296],{"type":18,"value":1297},"drmFormatModifier",{"type":13,"tag":773,"props":1299,"children":1301},{"name":1300},"Valid Usage (Implicit)",[1302,1328,1352,1376,1399],{"type":13,"tag":778,"props":1303,"children":1305},{"name":1304},"VUID-vkGetImageSubresourceLayout2KHR-device-parameter",[1306],{"type":13,"tag":14,"props":1307,"children":1308},{},[1309,1314,1315,1318,1320,1326],{"type":13,"tag":34,"props":1310,"children":1312},{"className":1311},[],[1313],{"type":18,"value":75},{"type":18,"value":801},{"type":13,"tag":803,"props":1316,"children":1317},{"type":805},[],{"type":18,"value":1319}," be a valid ",{"type":13,"tag":644,"props":1321,"children":1323},{"href":1322},"/man/VkDevice",[1324],{"type":18,"value":1325},"VkDevice",{"type":18,"value":1327}," handle",{"type":13,"tag":778,"props":1329,"children":1331},{"name":1330},"VUID-vkGetImageSubresourceLayout2KHR-image-parameter",[1332],{"type":13,"tag":14,"props":1333,"children":1334},{},[1335,1340,1341,1344,1345,1351],{"type":13,"tag":34,"props":1336,"children":1338},{"className":1337},[],[1339],{"type":18,"value":94},{"type":18,"value":801},{"type":13,"tag":803,"props":1342,"children":1343},{"type":805},[],{"type":18,"value":1319},{"type":13,"tag":644,"props":1346,"children":1348},{"href":1347},"/man/VkImage",[1349],{"type":18,"value":1350},"VkImage",{"type":18,"value":1327},{"type":13,"tag":778,"props":1353,"children":1355},{"name":1354},"VUID-vkGetImageSubresourceLayout2KHR-pSubresource-parameter",[1356],{"type":13,"tag":14,"props":1357,"children":1358},{},[1359,1364,1365,1368,1370,1374],{"type":13,"tag":34,"props":1360,"children":1362},{"className":1361},[],[1363],{"type":18,"value":640},{"type":18,"value":801},{"type":13,"tag":803,"props":1366,"children":1367},{"type":805},[],{"type":18,"value":1369}," be a valid pointer to a valid ",{"type":13,"tag":644,"props":1371,"children":1372},{"href":646},[1373],{"type":18,"value":649},{"type":18,"value":1375}," structure",{"type":13,"tag":778,"props":1377,"children":1379},{"name":1378},"VUID-vkGetImageSubresourceLayout2KHR-pLayout-parameter",[1380],{"type":13,"tag":14,"props":1381,"children":1382},{},[1383,1388,1389,1392,1394,1398],{"type":13,"tag":34,"props":1384,"children":1386},{"className":1385},[],[1387],{"type":18,"value":660},{"type":18,"value":801},{"type":13,"tag":803,"props":1390,"children":1391},{"type":805},[],{"type":18,"value":1393}," be a valid pointer to a ",{"type":13,"tag":644,"props":1395,"children":1396},{"href":664},[1397],{"type":18,"value":667},{"type":18,"value":1375},{"type":13,"tag":778,"props":1400,"children":1402},{"name":1401},"VUID-vkGetImageSubresourceLayout2KHR-image-parent",[1403],{"type":13,"tag":14,"props":1404,"children":1405},{},[1406,1411,1412,1415,1417],{"type":13,"tag":34,"props":1407,"children":1409},{"className":1408},[],[1410],{"type":18,"value":94},{"type":18,"value":801},{"type":13,"tag":803,"props":1413,"children":1414},{"type":805},[],{"type":18,"value":1416}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":1418,"children":1420},{"className":1419},[],[1421],{"type":18,"value":75},{"type":13,"tag":1423,"props":1424,"children":1425},"style",{},[1426],{"type":18,"value":1427},"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":31,"searchDepth":63,"depth":63,"links":1429},[],"markdown",1725732618782]