[{"data":1,"prerenderedAt":1086},["ShallowReactive",2],{"nZcEazMoTK":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":1085,"_id":4},"VkSubresourceLayout","Structure specifying subresource layout","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":1083},"root",[12,28,329,403,459,572,598,698,717,768,834,932,1077],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","Information about the layout of the image subresource is returned in a\n",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,121],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkSubresourceLayout {\n VkDeviceSize offset;\n VkDeviceSize size;\n VkDeviceSize rowPitch;\n VkDeviceSize arrayPitch;\n VkDeviceSize depthPitch;\n} VkSubresourceLayout;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,85,94,103,112],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkSubresourceLayout {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkDeviceSize offset;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80],{"type":13,"tag":45,"props":81,"children":82},{"style":63},[83],{"type":18,"value":84}," VkDeviceSize size;\n",{"type":13,"tag":45,"props":86,"children":88},{"class":47,"line":87},4,[89],{"type":13,"tag":45,"props":90,"children":91},{"style":63},[92],{"type":18,"value":93}," VkDeviceSize rowPitch;\n",{"type":13,"tag":45,"props":95,"children":97},{"class":47,"line":96},5,[98],{"type":13,"tag":45,"props":99,"children":100},{"style":63},[101],{"type":18,"value":102}," VkDeviceSize arrayPitch;\n",{"type":13,"tag":45,"props":104,"children":106},{"class":47,"line":105},6,[107],{"type":13,"tag":45,"props":108,"children":109},{"style":63},[110],{"type":18,"value":111}," VkDeviceSize depthPitch;\n",{"type":13,"tag":45,"props":113,"children":115},{"class":47,"line":114},7,[116],{"type":13,"tag":45,"props":117,"children":118},{"style":63},[119],{"type":18,"value":120},"} VkSubresourceLayout;\n",{"type":13,"tag":33,"props":122,"children":127},{"className":123,"code":124,"filename":125,"language":126,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SubresourceLayout {\n offset: vk::DeviceSize, // Specified in bytes\n size: vk::DeviceSize, // Specified in bytes\n row_pitch: vk::DeviceSize, // Specified in bytes\n array_pitch: vk::DeviceSize, // Specified in bytes\n depth_pitch: vk::DeviceSize, // Specified in bytes\n}\n","Rust","rs",[128],{"type":13,"tag":21,"props":129,"children":130},{"__ignoreMap":39},[131,154,193,225,257,289,321],{"type":13,"tag":45,"props":132,"children":133},{"class":47,"line":48},[134,139,143,149],{"type":13,"tag":45,"props":135,"children":136},{"style":52},[137],{"type":18,"value":138},"pub",{"type":13,"tag":45,"props":140,"children":141},{"style":52},[142],{"type":18,"value":60},{"type":13,"tag":45,"props":144,"children":146},{"style":145},"--shiki-default:#953800;--shiki-dark:#FFA657",[147],{"type":18,"value":148}," SubresourceLayout",{"type":13,"tag":45,"props":150,"children":151},{"style":63},[152],{"type":18,"value":153}," {\n",{"type":13,"tag":45,"props":155,"children":156},{"class":47,"line":69},[157,162,167,172,177,182,187],{"type":13,"tag":45,"props":158,"children":159},{"style":63},[160],{"type":18,"value":161}," offset",{"type":13,"tag":45,"props":163,"children":164},{"style":52},[165],{"type":18,"value":166},":",{"type":13,"tag":45,"props":168,"children":169},{"style":145},[170],{"type":18,"value":171}," vk",{"type":13,"tag":45,"props":173,"children":174},{"style":52},[175],{"type":18,"value":176},"::",{"type":13,"tag":45,"props":178,"children":179},{"style":145},[180],{"type":18,"value":181},"DeviceSize",{"type":13,"tag":45,"props":183,"children":184},{"style":63},[185],{"type":18,"value":186},", ",{"type":13,"tag":45,"props":188,"children":190},{"style":189},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[191],{"type":18,"value":192},"// Specified in bytes\n",{"type":13,"tag":45,"props":194,"children":195},{"class":47,"line":78},[196,201,205,209,213,217,221],{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200}," size",{"type":13,"tag":45,"props":202,"children":203},{"style":52},[204],{"type":18,"value":166},{"type":13,"tag":45,"props":206,"children":207},{"style":145},[208],{"type":18,"value":171},{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":176},{"type":13,"tag":45,"props":214,"children":215},{"style":145},[216],{"type":18,"value":181},{"type":13,"tag":45,"props":218,"children":219},{"style":63},[220],{"type":18,"value":186},{"type":13,"tag":45,"props":222,"children":223},{"style":189},[224],{"type":18,"value":192},{"type":13,"tag":45,"props":226,"children":227},{"class":47,"line":87},[228,233,237,241,245,249,253],{"type":13,"tag":45,"props":229,"children":230},{"style":63},[231],{"type":18,"value":232}," row_pitch",{"type":13,"tag":45,"props":234,"children":235},{"style":52},[236],{"type":18,"value":166},{"type":13,"tag":45,"props":238,"children":239},{"style":145},[240],{"type":18,"value":171},{"type":13,"tag":45,"props":242,"children":243},{"style":52},[244],{"type":18,"value":176},{"type":13,"tag":45,"props":246,"children":247},{"style":145},[248],{"type":18,"value":181},{"type":13,"tag":45,"props":250,"children":251},{"style":63},[252],{"type":18,"value":186},{"type":13,"tag":45,"props":254,"children":255},{"style":189},[256],{"type":18,"value":192},{"type":13,"tag":45,"props":258,"children":259},{"class":47,"line":96},[260,265,269,273,277,281,285],{"type":13,"tag":45,"props":261,"children":262},{"style":63},[263],{"type":18,"value":264}," array_pitch",{"type":13,"tag":45,"props":266,"children":267},{"style":52},[268],{"type":18,"value":166},{"type":13,"tag":45,"props":270,"children":271},{"style":145},[272],{"type":18,"value":171},{"type":13,"tag":45,"props":274,"children":275},{"style":52},[276],{"type":18,"value":176},{"type":13,"tag":45,"props":278,"children":279},{"style":145},[280],{"type":18,"value":181},{"type":13,"tag":45,"props":282,"children":283},{"style":63},[284],{"type":18,"value":186},{"type":13,"tag":45,"props":286,"children":287},{"style":189},[288],{"type":18,"value":192},{"type":13,"tag":45,"props":290,"children":291},{"class":47,"line":105},[292,297,301,305,309,313,317],{"type":13,"tag":45,"props":293,"children":294},{"style":63},[295],{"type":18,"value":296}," depth_pitch",{"type":13,"tag":45,"props":298,"children":299},{"style":52},[300],{"type":18,"value":166},{"type":13,"tag":45,"props":302,"children":303},{"style":145},[304],{"type":18,"value":171},{"type":13,"tag":45,"props":306,"children":307},{"style":52},[308],{"type":18,"value":176},{"type":13,"tag":45,"props":310,"children":311},{"style":145},[312],{"type":18,"value":181},{"type":13,"tag":45,"props":314,"children":315},{"style":63},[316],{"type":18,"value":186},{"type":13,"tag":45,"props":318,"children":319},{"style":189},[320],{"type":18,"value":192},{"type":13,"tag":45,"props":322,"children":323},{"class":47,"line":114},[324],{"type":13,"tag":45,"props":325,"children":326},{"style":63},[327],{"type":18,"value":328},"}\n",{"type":13,"tag":330,"props":331,"children":332},"ul",{},[333,345,371,381,392],{"type":13,"tag":334,"props":335,"children":336},"li",{},[337,343],{"type":13,"tag":21,"props":338,"children":340},{"className":339},[],[341],{"type":18,"value":342},"offset",{"type":18,"value":344}," is the byte offset from the start of the image\nor the plane\nwhere the image subresource begins.",{"type":13,"tag":334,"props":346,"children":347},{},[348,354,356,361,363,369],{"type":13,"tag":21,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":353},"size",{"type":18,"value":355}," is the size in bytes of the image subresource.\n",{"type":13,"tag":21,"props":357,"children":359},{"className":358},[],[360],{"type":18,"value":353},{"type":18,"value":362}," includes any extra memory that is required based on\n",{"type":13,"tag":21,"props":364,"children":366},{"className":365},[],[367],{"type":18,"value":368},"rowPitch",{"type":18,"value":370},".",{"type":13,"tag":334,"props":372,"children":373},{},[374,379],{"type":13,"tag":21,"props":375,"children":377},{"className":376},[],[378],{"type":18,"value":368},{"type":18,"value":380}," describes the number of bytes between each row of texels\nin an image.",{"type":13,"tag":334,"props":382,"children":383},{},[384,390],{"type":13,"tag":21,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":389},"arrayPitch",{"type":18,"value":391}," describes the number of bytes between each array layer\nof an image.",{"type":13,"tag":334,"props":393,"children":394},{},[395,401],{"type":13,"tag":21,"props":396,"children":398},{"className":397},[],[399],{"type":18,"value":400},"depthPitch",{"type":18,"value":402}," describes the number of bytes between each slice of 3D\nimage.",{"type":13,"tag":14,"props":404,"children":405},{},[406,408,415,417,422,424,429,431,436,438,443,445,450,452,457],{"type":18,"value":407},"If the image is ",{"type":13,"tag":409,"props":410,"children":412},"a",{"href":411},"/404#glossary-linear-resource",[413],{"type":18,"value":414},"linear",{"type":18,"value":416},", then ",{"type":13,"tag":21,"props":418,"children":420},{"className":419},[],[421],{"type":18,"value":368},{"type":18,"value":423},",\n",{"type":13,"tag":21,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":389},{"type":18,"value":430}," and ",{"type":13,"tag":21,"props":432,"children":434},{"className":433},[],[435],{"type":18,"value":400},{"type":18,"value":437}," describe the layout of the image\nsubresource in linear memory.\nFor uncompressed formats, ",{"type":13,"tag":21,"props":439,"children":441},{"className":440},[],[442],{"type":18,"value":368},{"type":18,"value":444}," is the number of bytes between\ntexels with the same x coordinate in adjacent rows (y coordinates differ by\none).\n",{"type":13,"tag":21,"props":446,"children":448},{"className":447},[],[449],{"type":18,"value":389},{"type":18,"value":451}," is the number of bytes between texels with the same x and y\ncoordinate in adjacent array layers of the image (array layer values differ\nby one).\n",{"type":13,"tag":21,"props":453,"children":455},{"className":454},[],[456],{"type":18,"value":400},{"type":18,"value":458}," is the number of bytes between texels with the same x and y\ncoordinate in adjacent slices of a 3D image (z coordinates differ by one).\nExpressed as an addressing formula, the starting byte of a texel in the\nimage subresource has address:",{"type":13,"tag":33,"props":460,"children":462},{"className":35,"code":461,"language":38,"meta":39,"style":39},"// (x,y,z,layer) are in texel coordinates\naddress(x,y,z,layer) = layer*arrayPitch + z*depthPitch + y*rowPitch + x*elementSize + offset\n",[463],{"type":13,"tag":21,"props":464,"children":465},{"__ignoreMap":39},[466,474],{"type":13,"tag":45,"props":467,"children":468},{"class":47,"line":48},[469],{"type":13,"tag":45,"props":470,"children":471},{"style":189},[472],{"type":18,"value":473},"// (x,y,z,layer) are in texel coordinates\n",{"type":13,"tag":45,"props":475,"children":476},{"class":47,"line":69},[477,483,488,493,498,503,508,513,518,522,527,531,536,540,545,549,554,558,563,567],{"type":13,"tag":45,"props":478,"children":480},{"style":479},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[481],{"type":18,"value":482},"address",{"type":13,"tag":45,"props":484,"children":485},{"style":63},[486],{"type":18,"value":487},"(x,y,z,layer) ",{"type":13,"tag":45,"props":489,"children":490},{"style":52},[491],{"type":18,"value":492},"=",{"type":13,"tag":45,"props":494,"children":495},{"style":63},[496],{"type":18,"value":497}," layer",{"type":13,"tag":45,"props":499,"children":500},{"style":52},[501],{"type":18,"value":502},"*",{"type":13,"tag":45,"props":504,"children":505},{"style":63},[506],{"type":18,"value":507},"arrayPitch ",{"type":13,"tag":45,"props":509,"children":510},{"style":52},[511],{"type":18,"value":512},"+",{"type":13,"tag":45,"props":514,"children":515},{"style":63},[516],{"type":18,"value":517}," z",{"type":13,"tag":45,"props":519,"children":520},{"style":52},[521],{"type":18,"value":502},{"type":13,"tag":45,"props":523,"children":524},{"style":63},[525],{"type":18,"value":526},"depthPitch ",{"type":13,"tag":45,"props":528,"children":529},{"style":52},[530],{"type":18,"value":512},{"type":13,"tag":45,"props":532,"children":533},{"style":63},[534],{"type":18,"value":535}," y",{"type":13,"tag":45,"props":537,"children":538},{"style":52},[539],{"type":18,"value":502},{"type":13,"tag":45,"props":541,"children":542},{"style":63},[543],{"type":18,"value":544},"rowPitch ",{"type":13,"tag":45,"props":546,"children":547},{"style":52},[548],{"type":18,"value":512},{"type":13,"tag":45,"props":550,"children":551},{"style":63},[552],{"type":18,"value":553}," x",{"type":13,"tag":45,"props":555,"children":556},{"style":52},[557],{"type":18,"value":502},{"type":13,"tag":45,"props":559,"children":560},{"style":63},[561],{"type":18,"value":562},"elementSize ",{"type":13,"tag":45,"props":564,"children":565},{"style":52},[566],{"type":18,"value":512},{"type":13,"tag":45,"props":568,"children":569},{"style":63},[570],{"type":18,"value":571}," offset\n",{"type":13,"tag":14,"props":573,"children":574},{},[575,577,582,584,589,591,596],{"type":18,"value":576},"For compressed formats, the ",{"type":13,"tag":21,"props":578,"children":580},{"className":579},[],[581],{"type":18,"value":368},{"type":18,"value":583}," is the number of bytes between\ncompressed texel blocks in adjacent rows.\n",{"type":13,"tag":21,"props":585,"children":587},{"className":586},[],[588],{"type":18,"value":389},{"type":18,"value":590}," is the number of bytes between compressed texel blocks in\nadjacent array layers.\n",{"type":13,"tag":21,"props":592,"children":594},{"className":593},[],[595],{"type":18,"value":400},{"type":18,"value":597}," is the number of bytes between compressed texel blocks in\nadjacent slices of a 3D image.",{"type":13,"tag":33,"props":599,"children":601},{"className":35,"code":600,"language":38,"meta":39,"style":39},"// (x,y,z,layer) are in compressed texel block coordinates\naddress(x,y,z,layer) = layer*arrayPitch + z*depthPitch + y*rowPitch + x*compressedTexelBlockByteSize + offset;\n",[602],{"type":13,"tag":21,"props":603,"children":604},{"__ignoreMap":39},[605,613],{"type":13,"tag":45,"props":606,"children":607},{"class":47,"line":48},[608],{"type":13,"tag":45,"props":609,"children":610},{"style":189},[611],{"type":18,"value":612},"// (x,y,z,layer) are in compressed texel block coordinates\n",{"type":13,"tag":45,"props":614,"children":615},{"class":47,"line":69},[616,620,624,628,632,636,640,644,648,652,656,660,664,668,672,676,680,684,689,693],{"type":13,"tag":45,"props":617,"children":618},{"style":479},[619],{"type":18,"value":482},{"type":13,"tag":45,"props":621,"children":622},{"style":63},[623],{"type":18,"value":487},{"type":13,"tag":45,"props":625,"children":626},{"style":52},[627],{"type":18,"value":492},{"type":13,"tag":45,"props":629,"children":630},{"style":63},[631],{"type":18,"value":497},{"type":13,"tag":45,"props":633,"children":634},{"style":52},[635],{"type":18,"value":502},{"type":13,"tag":45,"props":637,"children":638},{"style":63},[639],{"type":18,"value":507},{"type":13,"tag":45,"props":641,"children":642},{"style":52},[643],{"type":18,"value":512},{"type":13,"tag":45,"props":645,"children":646},{"style":63},[647],{"type":18,"value":517},{"type":13,"tag":45,"props":649,"children":650},{"style":52},[651],{"type":18,"value":502},{"type":13,"tag":45,"props":653,"children":654},{"style":63},[655],{"type":18,"value":526},{"type":13,"tag":45,"props":657,"children":658},{"style":52},[659],{"type":18,"value":512},{"type":13,"tag":45,"props":661,"children":662},{"style":63},[663],{"type":18,"value":535},{"type":13,"tag":45,"props":665,"children":666},{"style":52},[667],{"type":18,"value":502},{"type":13,"tag":45,"props":669,"children":670},{"style":63},[671],{"type":18,"value":544},{"type":13,"tag":45,"props":673,"children":674},{"style":52},[675],{"type":18,"value":512},{"type":13,"tag":45,"props":677,"children":678},{"style":63},[679],{"type":18,"value":553},{"type":13,"tag":45,"props":681,"children":682},{"style":52},[683],{"type":18,"value":502},{"type":13,"tag":45,"props":685,"children":686},{"style":63},[687],{"type":18,"value":688},"compressedTexelBlockByteSize ",{"type":13,"tag":45,"props":690,"children":691},{"style":52},[692],{"type":18,"value":512},{"type":13,"tag":45,"props":694,"children":695},{"style":63},[696],{"type":18,"value":697}," offset;\n",{"type":13,"tag":14,"props":699,"children":700},{},[701,703,708,710,715],{"type":18,"value":702},"The value of ",{"type":13,"tag":21,"props":704,"children":706},{"className":705},[],[707],{"type":18,"value":389},{"type":18,"value":709}," is undefined: for images that were not created\nas arrays.\n",{"type":13,"tag":21,"props":711,"children":713},{"className":712},[],[714],{"type":18,"value":400},{"type":18,"value":716}," is defined only for 3D images.",{"type":13,"tag":14,"props":718,"children":719},{},[720,722,728,730,736,738,744,746,752,754,759,761,767],{"type":18,"value":721},"If the image has a\n",{"type":13,"tag":723,"props":724,"children":725},"em",{},[726],{"type":18,"value":727},"single-plane",{"type":18,"value":729},"\ncolor format\nand its tiling is ",{"type":13,"tag":21,"props":731,"children":733},{"className":732},[],[734],{"type":18,"value":735},"VK_IMAGE_TILING_LINEAR",{"type":18,"value":737},"\n, then the ",{"type":13,"tag":21,"props":739,"children":741},{"className":740},[],[742],{"type":18,"value":743},"aspectMask",{"type":18,"value":745}," member of ",{"type":13,"tag":21,"props":747,"children":749},{"className":748},[],[750],{"type":18,"value":751},"VkImageSubresource",{"type":18,"value":753}," ",{"type":13,"tag":755,"props":756,"children":758},"normative",{"type":757},"must",[],{"type":18,"value":760}," be\n",{"type":13,"tag":21,"props":762,"children":764},{"className":763},[],[765],{"type":18,"value":766},"VK_IMAGE_ASPECT_COLOR_BIT",{"type":18,"value":370},{"type":13,"tag":14,"props":769,"children":770},{},[771,773,778,780,785,786,789,791,797,799,805,807,812,814,819,821,826,827,832],{"type":18,"value":772},"If the image has a depth/stencil format\nand its tiling is ",{"type":13,"tag":21,"props":774,"children":776},{"className":775},[],[777],{"type":18,"value":735},{"type":18,"value":779},"\n, then ",{"type":13,"tag":21,"props":781,"children":783},{"className":782},[],[784],{"type":18,"value":743},{"type":18,"value":753},{"type":13,"tag":755,"props":787,"children":788},{"type":757},[],{"type":18,"value":790}," be either ",{"type":13,"tag":21,"props":792,"children":794},{"className":793},[],[795],{"type":18,"value":796},"VK_IMAGE_ASPECT_DEPTH_BIT",{"type":18,"value":798}," or\n",{"type":13,"tag":21,"props":800,"children":802},{"className":801},[],[803],{"type":18,"value":804},"VK_IMAGE_ASPECT_STENCIL_BIT",{"type":18,"value":806},".\nOn implementations that store depth and stencil aspects separately, querying\neach of these image subresource layouts will return a different ",{"type":13,"tag":21,"props":808,"children":810},{"className":809},[],[811],{"type":18,"value":342},{"type":18,"value":813},"\nand ",{"type":13,"tag":21,"props":815,"children":817},{"className":816},[],[818],{"type":18,"value":353},{"type":18,"value":820}," representing the region of memory used for that aspect.\nOn implementations that store depth and stencil aspects interleaved, the\nsame ",{"type":13,"tag":21,"props":822,"children":824},{"className":823},[],[825],{"type":18,"value":342},{"type":18,"value":430},{"type":13,"tag":21,"props":828,"children":830},{"className":829},[],[831],{"type":18,"value":353},{"type":18,"value":833}," are returned and represent the interleaved\nmemory allocation.",{"type":13,"tag":14,"props":835,"children":836},{},[837,839,845,847,852,853,858,859,864,865,868,869,875,876,882,884,890,892,897,898,903,905,910,912,917,919,924,925,930],{"type":18,"value":838},"If the image has a ",{"type":13,"tag":409,"props":840,"children":842},{"href":841},"/chapters/formats#formats-requiring-sampler-ycbcr-conversion",[843],{"type":18,"value":844},"multi-planar\nformat",{"type":18,"value":846},"\nand its tiling is ",{"type":13,"tag":21,"props":848,"children":850},{"className":849},[],[851],{"type":18,"value":735},{"type":18,"value":737},{"type":13,"tag":21,"props":854,"children":856},{"className":855},[],[857],{"type":18,"value":743},{"type":18,"value":745},{"type":13,"tag":21,"props":860,"children":862},{"className":861},[],[863],{"type":18,"value":751},{"type":18,"value":753},{"type":13,"tag":755,"props":866,"children":867},{"type":757},[],{"type":18,"value":760},{"type":13,"tag":21,"props":870,"children":872},{"className":871},[],[873],{"type":18,"value":874},"VK_IMAGE_ASPECT_PLANE_0_BIT",{"type":18,"value":186},{"type":13,"tag":21,"props":877,"children":879},{"className":878},[],[880],{"type":18,"value":881},"VK_IMAGE_ASPECT_PLANE_1_BIT",{"type":18,"value":883},", or\n(for 3-plane formats only) ",{"type":13,"tag":21,"props":885,"children":887},{"className":886},[],[888],{"type":18,"value":889},"VK_IMAGE_ASPECT_PLANE_2_BIT",{"type":18,"value":891},".\nQuerying each of these image subresource layouts will return a different\n",{"type":13,"tag":21,"props":893,"children":895},{"className":894},[],[896],{"type":18,"value":342},{"type":18,"value":430},{"type":13,"tag":21,"props":899,"children":901},{"className":900},[],[902],{"type":18,"value":353},{"type":18,"value":904}," representing the region of memory used for that\nplane.\nIf the image is ",{"type":13,"tag":723,"props":906,"children":907},{},[908],{"type":18,"value":909},"disjoint",{"type":18,"value":911},", then the ",{"type":13,"tag":21,"props":913,"children":915},{"className":914},[],[916],{"type":18,"value":342},{"type":18,"value":918}," is relative to the base\naddress of the plane.\nIf the image is ",{"type":13,"tag":723,"props":920,"children":921},{},[922],{"type":18,"value":923},"non-disjoint",{"type":18,"value":911},{"type":13,"tag":21,"props":926,"children":928},{"className":927},[],[929],{"type":18,"value":342},{"type":18,"value":931}," is relative to the\nbase address of the image.",{"type":13,"tag":14,"props":933,"children":934},{},[935,937,943,945,950,951,956,957,960,962,967,969,975,976,982,984,990,991,997,999,1005,1007,1012,1013,1018,1020,1024,1025,1030,1032,1037,1038,1042,1043,1048,1050,1055,1057,1062,1063,1068,1070,1075],{"type":18,"value":936},"If the image’s tiling is ",{"type":13,"tag":21,"props":938,"children":940},{"className":939},[],[941],{"type":18,"value":942},"VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT",{"type":18,"value":944},", then\nthe ",{"type":13,"tag":21,"props":946,"children":948},{"className":947},[],[949],{"type":18,"value":743},{"type":18,"value":745},{"type":13,"tag":21,"props":952,"children":954},{"className":953},[],[955],{"type":18,"value":751},{"type":18,"value":753},{"type":13,"tag":755,"props":958,"children":959},{"type":757},[],{"type":18,"value":961}," be one of\nVK_IMAGE_ASPECT_MEMORY_PLANE*_i_*BIT_EXT, where the maximum allowed\nplane index ",{"type":13,"tag":723,"props":963,"children":964},{},[965],{"type":18,"value":966},"i",{"type":18,"value":968}," is defined by the\n",{"type":13,"tag":409,"props":970,"children":972},{"href":971},"/man/VkDrmFormatModifierPropertiesEXT",[973],{"type":18,"value":974},"VkDrmFormatModifierPropertiesEXT",{"type":18,"value":176},{"type":13,"tag":21,"props":977,"children":979},{"className":978},[],[980],{"type":18,"value":981},"drmFormatModifierPlaneCount",{"type":18,"value":983},"\nassociated with the image’s ",{"type":13,"tag":409,"props":985,"children":987},{"href":986},"/man/VkImageCreateInfo",[988],{"type":18,"value":989},"VkImageCreateInfo",{"type":18,"value":176},{"type":13,"tag":21,"props":992,"children":994},{"className":993},[],[995],{"type":18,"value":996},"format",{"type":18,"value":998}," and\n",{"type":13,"tag":409,"props":1000,"children":1002},{"href":1001},"/404#glossary-drm-format-modifier",[1003],{"type":18,"value":1004},"modifier",{"type":18,"value":1006},".\nThe memory range used by the subresource is described by ",{"type":13,"tag":21,"props":1008,"children":1010},{"className":1009},[],[1011],{"type":18,"value":342},{"type":18,"value":998},{"type":13,"tag":21,"props":1014,"children":1016},{"className":1015},[],[1017],{"type":18,"value":353},{"type":18,"value":1019},".\nIf the image is ",{"type":13,"tag":723,"props":1021,"children":1022},{},[1023],{"type":18,"value":909},{"type":18,"value":911},{"type":13,"tag":21,"props":1026,"children":1028},{"className":1027},[],[1029],{"type":18,"value":342},{"type":18,"value":1031}," is relative to the base\naddress of the ",{"type":13,"tag":723,"props":1033,"children":1034},{},[1035],{"type":18,"value":1036},"memory plane",{"type":18,"value":1019},{"type":13,"tag":723,"props":1039,"children":1040},{},[1041],{"type":18,"value":923},{"type":18,"value":911},{"type":13,"tag":21,"props":1044,"children":1046},{"className":1045},[],[1047],{"type":18,"value":342},{"type":18,"value":1049}," is relative to the\nbase address of the image.\nIf the image is ",{"type":13,"tag":409,"props":1051,"children":1052},{"href":411},[1053],{"type":18,"value":1054},"non-linear",{"type":18,"value":1056},", then\n",{"type":13,"tag":21,"props":1058,"children":1060},{"className":1059},[],[1061],{"type":18,"value":368},{"type":18,"value":186},{"type":13,"tag":21,"props":1064,"children":1066},{"className":1065},[],[1067],{"type":18,"value":389},{"type":18,"value":1069},", and ",{"type":13,"tag":21,"props":1071,"children":1073},{"className":1072},[],[1074],{"type":18,"value":400},{"type":18,"value":1076}," have an\nimplementation-dependent meaning.",{"type":13,"tag":1078,"props":1079,"children":1080},"style",{},[1081],{"type":18,"value":1082},"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":39,"searchDepth":69,"depth":69,"links":1084},[],"markdown",1725732588884]