[{"data":1,"prerenderedAt":826},["ShallowReactive",2],{"4aF3Rsy40v":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":825,"_id":4},"VkPhysicalDeviceImageDrmFormatModifierInfoEXT","Structure specifying a DRM format modifier as image creation parameter","VK_EXT_image_drm_format_modifier","structs",[],{"type":10,"children":11,"toc":823},"root",[12,75,86,407,550,605,763,817],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,35,37,44,46,52,54,59,61,67,69,73],{"type":18,"value":19},"text","To query the image capabilities that are compatible with a\n",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/404#glossary-drm-format-modifier",[25],{"type":18,"value":26},"Linux DRM format modifier",{"type":18,"value":28},", set\n",{"type":13,"tag":21,"props":30,"children":32},{"href":31},"/man/VkPhysicalDeviceImageFormatInfo2",[33],{"type":18,"value":34},"VkPhysicalDeviceImageFormatInfo2",{"type":18,"value":36},"::",{"type":13,"tag":38,"props":39,"children":41},"code",{"className":40},[],[42],{"type":18,"value":43},"tiling",{"type":18,"value":45}," to\n",{"type":13,"tag":38,"props":47,"children":49},{"className":48},[],[50],{"type":18,"value":51},"VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT",{"type":18,"value":53}," and add a\n",{"type":13,"tag":21,"props":55,"children":57},{"href":56},"/man/VkPhysicalDeviceImageDrmFormatModifierInfoEXT",[58],{"type":18,"value":4},{"type":18,"value":60}," structure to the\n",{"type":13,"tag":38,"props":62,"children":64},{"className":63},[],[65],{"type":18,"value":66},"pNext",{"type":18,"value":68}," chain of ",{"type":13,"tag":21,"props":70,"children":71},{"href":31},[72],{"type":18,"value":34},{"type":18,"value":74},".",{"type":13,"tag":14,"props":76,"children":77},{},[78,80,84],{"type":18,"value":79},"The ",{"type":13,"tag":21,"props":81,"children":82},{"href":56},[83],{"type":18,"value":4},{"type":18,"value":85}," structure is defined\nas:",{"type":13,"tag":87,"props":88,"children":89},"code-group",{},[90,217],{"type":13,"tag":91,"props":92,"children":98},"pre",{"className":93,"code":94,"filename":95,"language":96,"meta":97,"style":97},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPhysicalDeviceImageDrmFormatModifierInfoEXT {\n VkStructureType sType;\n const void* pNext;\n uint64_t drmFormatModifier;\n VkSharingMode sharingMode;\n uint32_t queueFamilyIndexCount;\n const uint32_t* pQueueFamilyIndices;\n} VkPhysicalDeviceImageDrmFormatModifierInfoEXT;\n","C","c","",[99],{"type":13,"tag":38,"props":100,"children":101},{"__ignoreMap":97},[102,125,134,153,167,176,190,208],{"type":13,"tag":103,"props":104,"children":107},"span",{"class":105,"line":106},"line",1,[108,114,119],{"type":13,"tag":103,"props":109,"children":111},{"style":110},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[112],{"type":18,"value":113},"typedef",{"type":13,"tag":103,"props":115,"children":116},{"style":110},[117],{"type":18,"value":118}," struct",{"type":13,"tag":103,"props":120,"children":122},{"style":121},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[123],{"type":18,"value":124}," VkPhysicalDeviceImageDrmFormatModifierInfoEXT {\n",{"type":13,"tag":103,"props":126,"children":128},{"class":105,"line":127},2,[129],{"type":13,"tag":103,"props":130,"children":131},{"style":121},[132],{"type":18,"value":133}," VkStructureType sType;\n",{"type":13,"tag":103,"props":135,"children":137},{"class":105,"line":136},3,[138,143,148],{"type":13,"tag":103,"props":139,"children":140},{"style":110},[141],{"type":18,"value":142}," const",{"type":13,"tag":103,"props":144,"children":145},{"style":110},[146],{"type":18,"value":147}," void*",{"type":13,"tag":103,"props":149,"children":150},{"style":121},[151],{"type":18,"value":152}," pNext;\n",{"type":13,"tag":103,"props":154,"children":156},{"class":105,"line":155},4,[157,162],{"type":13,"tag":103,"props":158,"children":159},{"style":110},[160],{"type":18,"value":161}," uint64_t",{"type":13,"tag":103,"props":163,"children":164},{"style":121},[165],{"type":18,"value":166}," drmFormatModifier;\n",{"type":13,"tag":103,"props":168,"children":170},{"class":105,"line":169},5,[171],{"type":13,"tag":103,"props":172,"children":173},{"style":121},[174],{"type":18,"value":175}," VkSharingMode sharingMode;\n",{"type":13,"tag":103,"props":177,"children":179},{"class":105,"line":178},6,[180,185],{"type":13,"tag":103,"props":181,"children":182},{"style":110},[183],{"type":18,"value":184}," uint32_t",{"type":13,"tag":103,"props":186,"children":187},{"style":121},[188],{"type":18,"value":189}," queueFamilyIndexCount;\n",{"type":13,"tag":103,"props":191,"children":193},{"class":105,"line":192},7,[194,198,203],{"type":13,"tag":103,"props":195,"children":196},{"style":110},[197],{"type":18,"value":142},{"type":13,"tag":103,"props":199,"children":200},{"style":110},[201],{"type":18,"value":202}," uint32_t*",{"type":13,"tag":103,"props":204,"children":205},{"style":121},[206],{"type":18,"value":207}," pQueueFamilyIndices;\n",{"type":13,"tag":103,"props":209,"children":211},{"class":105,"line":210},8,[212],{"type":13,"tag":103,"props":213,"children":214},{"style":121},[215],{"type":18,"value":216},"} VkPhysicalDeviceImageDrmFormatModifierInfoEXT;\n",{"type":13,"tag":91,"props":218,"children":223},{"className":219,"code":220,"filename":221,"language":222,"meta":97,"style":97},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceImageDrmFormatModifierInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n drm_format_modifier: u64,\n sharing_mode: vk::SharingMode,\n queue_family_index_count: u32,\n p_queue_family_indices: *const u32,\n}\n","Rust","rs",[224],{"type":13,"tag":38,"props":225,"children":226},{"__ignoreMap":97},[227,250,282,304,325,354,375,399],{"type":13,"tag":103,"props":228,"children":229},{"class":105,"line":106},[230,235,239,245],{"type":13,"tag":103,"props":231,"children":232},{"style":110},[233],{"type":18,"value":234},"pub",{"type":13,"tag":103,"props":236,"children":237},{"style":110},[238],{"type":18,"value":118},{"type":13,"tag":103,"props":240,"children":242},{"style":241},"--shiki-default:#953800;--shiki-dark:#FFA657",[243],{"type":18,"value":244}," PhysicalDeviceImageDrmFormatModifierInfoEXT",{"type":13,"tag":103,"props":246,"children":247},{"style":121},[248],{"type":18,"value":249}," {\n",{"type":13,"tag":103,"props":251,"children":252},{"class":105,"line":127},[253,258,263,268,272,277],{"type":13,"tag":103,"props":254,"children":255},{"style":121},[256],{"type":18,"value":257}," s_type",{"type":13,"tag":103,"props":259,"children":260},{"style":110},[261],{"type":18,"value":262},":",{"type":13,"tag":103,"props":264,"children":265},{"style":241},[266],{"type":18,"value":267}," vk",{"type":13,"tag":103,"props":269,"children":270},{"style":110},[271],{"type":18,"value":36},{"type":13,"tag":103,"props":273,"children":274},{"style":241},[275],{"type":18,"value":276},"StructureType",{"type":13,"tag":103,"props":278,"children":279},{"style":121},[280],{"type":18,"value":281},",\n",{"type":13,"tag":103,"props":283,"children":284},{"class":105,"line":136},[285,290,294,299],{"type":13,"tag":103,"props":286,"children":287},{"style":121},[288],{"type":18,"value":289}," p_next",{"type":13,"tag":103,"props":291,"children":292},{"style":110},[293],{"type":18,"value":262},{"type":13,"tag":103,"props":295,"children":296},{"style":110},[297],{"type":18,"value":298}," *const",{"type":13,"tag":103,"props":300,"children":301},{"style":121},[302],{"type":18,"value":303}," c_void,\n",{"type":13,"tag":103,"props":305,"children":306},{"class":105,"line":155},[307,312,316,321],{"type":13,"tag":103,"props":308,"children":309},{"style":121},[310],{"type":18,"value":311}," drm_format_modifier",{"type":13,"tag":103,"props":313,"children":314},{"style":110},[315],{"type":18,"value":262},{"type":13,"tag":103,"props":317,"children":318},{"style":241},[319],{"type":18,"value":320}," u64",{"type":13,"tag":103,"props":322,"children":323},{"style":121},[324],{"type":18,"value":281},{"type":13,"tag":103,"props":326,"children":327},{"class":105,"line":169},[328,333,337,341,345,350],{"type":13,"tag":103,"props":329,"children":330},{"style":121},[331],{"type":18,"value":332}," sharing_mode",{"type":13,"tag":103,"props":334,"children":335},{"style":110},[336],{"type":18,"value":262},{"type":13,"tag":103,"props":338,"children":339},{"style":241},[340],{"type":18,"value":267},{"type":13,"tag":103,"props":342,"children":343},{"style":110},[344],{"type":18,"value":36},{"type":13,"tag":103,"props":346,"children":347},{"style":241},[348],{"type":18,"value":349},"SharingMode",{"type":13,"tag":103,"props":351,"children":352},{"style":121},[353],{"type":18,"value":281},{"type":13,"tag":103,"props":355,"children":356},{"class":105,"line":178},[357,362,366,371],{"type":13,"tag":103,"props":358,"children":359},{"style":121},[360],{"type":18,"value":361}," queue_family_index_count",{"type":13,"tag":103,"props":363,"children":364},{"style":110},[365],{"type":18,"value":262},{"type":13,"tag":103,"props":367,"children":368},{"style":241},[369],{"type":18,"value":370}," u32",{"type":13,"tag":103,"props":372,"children":373},{"style":121},[374],{"type":18,"value":281},{"type":13,"tag":103,"props":376,"children":377},{"class":105,"line":192},[378,383,387,391,395],{"type":13,"tag":103,"props":379,"children":380},{"style":121},[381],{"type":18,"value":382}," p_queue_family_indices",{"type":13,"tag":103,"props":384,"children":385},{"style":110},[386],{"type":18,"value":262},{"type":13,"tag":103,"props":388,"children":389},{"style":110},[390],{"type":18,"value":298},{"type":13,"tag":103,"props":392,"children":393},{"style":241},[394],{"type":18,"value":370},{"type":13,"tag":103,"props":396,"children":397},{"style":121},[398],{"type":18,"value":281},{"type":13,"tag":103,"props":400,"children":401},{"class":105,"line":210},[402],{"type":13,"tag":103,"props":403,"children":404},{"style":121},[405],{"type":18,"value":406},"}\n",{"type":13,"tag":408,"props":409,"children":410},"ul",{},[411,431,449,496,507,526],{"type":13,"tag":412,"props":413,"children":414},"li",{},[415,421,423,429],{"type":13,"tag":38,"props":416,"children":418},{"className":417},[],[419],{"type":18,"value":420},"sType",{"type":18,"value":422}," is a ",{"type":13,"tag":21,"props":424,"children":426},{"href":425},"/man/VkStructureType",[427],{"type":18,"value":428},"VkStructureType",{"type":18,"value":430}," value identifying this structure.",{"type":13,"tag":412,"props":432,"children":433},{},[434,439,441,447],{"type":13,"tag":38,"props":435,"children":437},{"className":436},[],[438],{"type":18,"value":66},{"type":18,"value":440}," is ",{"type":13,"tag":38,"props":442,"children":444},{"className":443},[],[445],{"type":18,"value":446},"NULL",{"type":18,"value":448}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":412,"props":450,"children":451},{},[452,458,460,465,467,473,474,480,482,488,489,495],{"type":13,"tag":38,"props":453,"children":455},{"className":454},[],[456],{"type":18,"value":457},"drmFormatModifier",{"type":18,"value":459}," is the image’s ",{"type":13,"tag":461,"props":462,"children":463},"em",{},[464],{"type":18,"value":26},{"type":18,"value":466},",\ncorresponding to\n",{"type":13,"tag":21,"props":468,"children":470},{"href":469},"/man/VkImageDrmFormatModifierExplicitCreateInfoEXT",[471],{"type":18,"value":472},"VkImageDrmFormatModifierExplicitCreateInfoEXT",{"type":18,"value":36},{"type":13,"tag":38,"props":475,"children":477},{"className":476},[],[478],{"type":18,"value":479},"modifier",{"type":18,"value":481}," or\nto ",{"type":13,"tag":21,"props":483,"children":485},{"href":484},"/man/VkImageDrmFormatModifierListCreateInfoEXT",[486],{"type":18,"value":487},"VkImageDrmFormatModifierListCreateInfoEXT",{"type":18,"value":36},{"type":13,"tag":38,"props":490,"children":492},{"className":491},[],[493],{"type":18,"value":494},"pModifiers",{"type":18,"value":74},{"type":13,"tag":412,"props":497,"children":498},{},[499,505],{"type":13,"tag":38,"props":500,"children":502},{"className":501},[],[503],{"type":18,"value":504},"sharingMode",{"type":18,"value":506}," specifies how the image will be accessed by multiple\nqueue families.",{"type":13,"tag":412,"props":508,"children":509},{},[510,516,518,524],{"type":13,"tag":38,"props":511,"children":513},{"className":512},[],[514],{"type":18,"value":515},"queueFamilyIndexCount",{"type":18,"value":517}," is the number of entries in the\n",{"type":13,"tag":38,"props":519,"children":521},{"className":520},[],[522],{"type":18,"value":523},"pQueueFamilyIndices",{"type":18,"value":525}," array.",{"type":13,"tag":412,"props":527,"children":528},{},[529,534,536,541,543,549],{"type":13,"tag":38,"props":530,"children":532},{"className":531},[],[533],{"type":18,"value":523},{"type":18,"value":535}," is a pointer to an array of queue families\nthat will access the image.\nIt is ignored if ",{"type":13,"tag":38,"props":537,"children":539},{"className":538},[],[540],{"type":18,"value":504},{"type":18,"value":542}," is not\n",{"type":13,"tag":38,"props":544,"children":546},{"className":545},[],[547],{"type":18,"value":548},"VK_SHARING_MODE_CONCURRENT",{"type":18,"value":74},{"type":13,"tag":14,"props":551,"children":552},{},[553,555,560,562,566,568,573,575,581,583,589,591,596,598,603],{"type":18,"value":554},"If the ",{"type":13,"tag":38,"props":556,"children":558},{"className":557},[],[559],{"type":18,"value":457},{"type":18,"value":561}," is incompatible with the parameters specified\nin ",{"type":13,"tag":21,"props":563,"children":564},{"href":31},[565],{"type":18,"value":34},{"type":18,"value":567}," and its ",{"type":13,"tag":38,"props":569,"children":571},{"className":570},[],[572],{"type":18,"value":66},{"type":18,"value":574}," chain, then\n",{"type":13,"tag":21,"props":576,"children":578},{"href":577},"/man/vkGetPhysicalDeviceImageFormatProperties2",[579],{"type":18,"value":580},"vkGetPhysicalDeviceImageFormatProperties2",{"type":18,"value":582}," returns\n",{"type":13,"tag":38,"props":584,"children":586},{"className":585},[],[587],{"type":18,"value":588},"VK_ERROR_FORMAT_NOT_SUPPORTED",{"type":18,"value":590},".\nThe implementation ",{"type":13,"tag":592,"props":593,"children":595},"normative",{"type":594},"must",[],{"type":18,"value":597}," support the query of any ",{"type":13,"tag":38,"props":599,"children":601},{"className":600},[],[602],{"type":18,"value":457},{"type":18,"value":604},",\nincluding unknown and invalid modifier values.",{"type":13,"tag":606,"props":607,"children":609},"validity-group",{"name":608},"Valid Usage",[610,659,696],{"type":13,"tag":611,"props":612,"children":614},"validity-field",{"name":613},"VUID-VkPhysicalDeviceImageDrmFormatModifierInfoEXT-sharingMode-02314",[615],{"type":13,"tag":14,"props":616,"children":617},{},[618,620,625,626,631,633,638,640,643,645,650,651,657],{"type":18,"value":619},"If ",{"type":13,"tag":38,"props":621,"children":623},{"className":622},[],[624],{"type":18,"value":504},{"type":18,"value":440},{"type":13,"tag":38,"props":627,"children":629},{"className":628},[],[630],{"type":18,"value":548},{"type":18,"value":632},", then\n",{"type":13,"tag":38,"props":634,"children":636},{"className":635},[],[637],{"type":18,"value":523},{"type":18,"value":639}," ",{"type":13,"tag":592,"props":641,"children":642},{"type":594},[],{"type":18,"value":644}," be a valid pointer to an array of\n",{"type":13,"tag":38,"props":646,"children":648},{"className":647},[],[649],{"type":18,"value":515},{"type":18,"value":639},{"type":13,"tag":38,"props":652,"children":654},{"className":653},[],[655],{"type":18,"value":656},"uint32_t",{"type":18,"value":658}," values",{"type":13,"tag":611,"props":660,"children":662},{"name":661},"VUID-VkPhysicalDeviceImageDrmFormatModifierInfoEXT-sharingMode-02315",[663],{"type":13,"tag":14,"props":664,"children":665},{},[666,667,672,673,678,679,684,685,688,690],{"type":18,"value":619},{"type":13,"tag":38,"props":668,"children":670},{"className":669},[],[671],{"type":18,"value":504},{"type":18,"value":440},{"type":13,"tag":38,"props":674,"children":676},{"className":675},[],[677],{"type":18,"value":548},{"type":18,"value":632},{"type":13,"tag":38,"props":680,"children":682},{"className":681},[],[683],{"type":18,"value":515},{"type":18,"value":639},{"type":13,"tag":592,"props":686,"children":687},{"type":594},[],{"type":18,"value":689}," be greater than ",{"type":13,"tag":38,"props":691,"children":693},{"className":692},[],[694],{"type":18,"value":695},"1",{"type":13,"tag":611,"props":697,"children":699},{"name":698},"VUID-VkPhysicalDeviceImageDrmFormatModifierInfoEXT-sharingMode-02316",[700],{"type":13,"tag":14,"props":701,"children":702},{},[703,704,709,710,715,717,722,723,726,728,731,733,739,741,747,749,755,757],{"type":18,"value":619},{"type":13,"tag":38,"props":705,"children":707},{"className":706},[],[708],{"type":18,"value":504},{"type":18,"value":440},{"type":13,"tag":38,"props":711,"children":713},{"className":712},[],[714],{"type":18,"value":548},{"type":18,"value":716},", each element\nof ",{"type":13,"tag":38,"props":718,"children":720},{"className":719},[],[721],{"type":18,"value":523},{"type":18,"value":639},{"type":13,"tag":592,"props":724,"children":725},{"type":594},[],{"type":18,"value":727}," be unique and ",{"type":13,"tag":592,"props":729,"children":730},{"type":594},[],{"type":18,"value":732}," be less than the\n",{"type":13,"tag":38,"props":734,"children":736},{"className":735},[],[737],{"type":18,"value":738},"pQueueFamilyPropertyCount",{"type":18,"value":740}," returned by\n",{"type":13,"tag":21,"props":742,"children":744},{"href":743},"/man/vkGetPhysicalDeviceQueueFamilyProperties2",[745],{"type":18,"value":746},"vkGetPhysicalDeviceQueueFamilyProperties2",{"type":18,"value":748}," for the\n",{"type":13,"tag":38,"props":750,"children":752},{"className":751},[],[753],{"type":18,"value":754},"physicalDevice",{"type":18,"value":756}," that was used to create ",{"type":13,"tag":38,"props":758,"children":760},{"className":759},[],[761],{"type":18,"value":762},"device",{"type":13,"tag":606,"props":764,"children":766},{"name":765},"Valid Usage (Implicit)",[767,791],{"type":13,"tag":611,"props":768,"children":770},{"name":769},"VUID-VkPhysicalDeviceImageDrmFormatModifierInfoEXT-sType-sType",[771],{"type":13,"tag":14,"props":772,"children":773},{},[774,779,780,783,785],{"type":13,"tag":38,"props":775,"children":777},{"className":776},[],[778],{"type":18,"value":420},{"type":18,"value":639},{"type":13,"tag":592,"props":781,"children":782},{"type":594},[],{"type":18,"value":784}," be ",{"type":13,"tag":38,"props":786,"children":788},{"className":787},[],[789],{"type":18,"value":790},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT",{"type":13,"tag":611,"props":792,"children":794},{"name":793},"VUID-VkPhysicalDeviceImageDrmFormatModifierInfoEXT-sharingMode-parameter",[795],{"type":13,"tag":14,"props":796,"children":797},{},[798,803,804,807,809,815],{"type":13,"tag":38,"props":799,"children":801},{"className":800},[],[802],{"type":18,"value":504},{"type":18,"value":639},{"type":13,"tag":592,"props":805,"children":806},{"type":594},[],{"type":18,"value":808}," be a valid ",{"type":13,"tag":21,"props":810,"children":812},{"href":811},"/man/VkSharingMode",[813],{"type":18,"value":814},"VkSharingMode",{"type":18,"value":816}," value",{"type":13,"tag":818,"props":819,"children":820},"style",{},[821],{"type":18,"value":822},"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":97,"searchDepth":127,"depth":127,"links":824},[],"markdown",1725732569413]