[{"data":1,"prerenderedAt":573},["ShallowReactive",2],{"$fzLPRwdc84z18h6mcjHfN1S3VVTrKIaRylMOdKvEjBOY":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":10,"xrefs":11,"body":12,"_type":572,"_id":4},"VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR","Structure describing whether the implementation provides unified image layouts","VK_KHR_unified_image_layouts",[8,9],"VkPhysicalDeviceFeatures2","VkDeviceCreateInfo","structs",[],{"type":13,"children":14,"toc":570},"root",[15,31,273,278,452,534,564],{"type":16,"tag":17,"props":18,"children":19},"element","p",{},[20,23,29],{"type":21,"value":22},"text","The ",{"type":16,"tag":24,"props":25,"children":27},"code",{"className":26},[],[28],{"type":21,"value":4},{"type":21,"value":30}," structure is\ndefined as:",{"type":16,"tag":32,"props":33,"children":34},"code-group",{},[35,120],{"type":16,"tag":36,"props":37,"children":43},"pre",{"className":38,"code":39,"filename":40,"language":41,"meta":42,"style":42},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR {\n VkStructureType sType;\n void* pNext;\n VkBool32 unifiedImageLayouts;\n VkBool32 unifiedImageLayoutsVideo;\n} VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR;\n","C","c","",[44],{"type":16,"tag":24,"props":45,"children":46},{"__ignoreMap":42},[47,70,79,93,102,111],{"type":16,"tag":48,"props":49,"children":52},"span",{"class":50,"line":51},"line",1,[53,59,64],{"type":16,"tag":48,"props":54,"children":56},{"style":55},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[57],{"type":21,"value":58},"typedef",{"type":16,"tag":48,"props":60,"children":61},{"style":55},[62],{"type":21,"value":63}," struct",{"type":16,"tag":48,"props":65,"children":67},{"style":66},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[68],{"type":21,"value":69}," VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR {\n",{"type":16,"tag":48,"props":71,"children":73},{"class":50,"line":72},2,[74],{"type":16,"tag":48,"props":75,"children":76},{"style":66},[77],{"type":21,"value":78}," VkStructureType sType;\n",{"type":16,"tag":48,"props":80,"children":82},{"class":50,"line":81},3,[83,88],{"type":16,"tag":48,"props":84,"children":85},{"style":55},[86],{"type":21,"value":87}," void*",{"type":16,"tag":48,"props":89,"children":90},{"style":66},[91],{"type":21,"value":92}," pNext;\n",{"type":16,"tag":48,"props":94,"children":96},{"class":50,"line":95},4,[97],{"type":16,"tag":48,"props":98,"children":99},{"style":66},[100],{"type":21,"value":101}," VkBool32 unifiedImageLayouts;\n",{"type":16,"tag":48,"props":103,"children":105},{"class":50,"line":104},5,[106],{"type":16,"tag":48,"props":107,"children":108},{"style":66},[109],{"type":21,"value":110}," VkBool32 unifiedImageLayoutsVideo;\n",{"type":16,"tag":48,"props":112,"children":114},{"class":50,"line":113},6,[115],{"type":16,"tag":48,"props":116,"children":117},{"style":66},[118],{"type":21,"value":119},"} VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR;\n",{"type":16,"tag":36,"props":121,"children":126},{"className":122,"code":123,"filename":124,"language":125,"meta":42,"style":42},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceUnifiedImageLayoutsFeaturesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n unified_image_layouts: vk::Bool32,\n unified_image_layouts_video: vk::Bool32,\n}\n","Rust","rs",[127],{"type":16,"tag":24,"props":128,"children":129},{"__ignoreMap":42},[130,153,186,208,237,265],{"type":16,"tag":48,"props":131,"children":132},{"class":50,"line":51},[133,138,142,148],{"type":16,"tag":48,"props":134,"children":135},{"style":55},[136],{"type":21,"value":137},"pub",{"type":16,"tag":48,"props":139,"children":140},{"style":55},[141],{"type":21,"value":63},{"type":16,"tag":48,"props":143,"children":145},{"style":144},"--shiki-default:#953800;--shiki-dark:#FFA657",[146],{"type":21,"value":147}," PhysicalDeviceUnifiedImageLayoutsFeaturesKHR",{"type":16,"tag":48,"props":149,"children":150},{"style":66},[151],{"type":21,"value":152}," {\n",{"type":16,"tag":48,"props":154,"children":155},{"class":50,"line":72},[156,161,166,171,176,181],{"type":16,"tag":48,"props":157,"children":158},{"style":66},[159],{"type":21,"value":160}," s_type",{"type":16,"tag":48,"props":162,"children":163},{"style":55},[164],{"type":21,"value":165},":",{"type":16,"tag":48,"props":167,"children":168},{"style":144},[169],{"type":21,"value":170}," vk",{"type":16,"tag":48,"props":172,"children":173},{"style":55},[174],{"type":21,"value":175},"::",{"type":16,"tag":48,"props":177,"children":178},{"style":144},[179],{"type":21,"value":180},"StructureType",{"type":16,"tag":48,"props":182,"children":183},{"style":66},[184],{"type":21,"value":185},",\n",{"type":16,"tag":48,"props":187,"children":188},{"class":50,"line":81},[189,194,198,203],{"type":16,"tag":48,"props":190,"children":191},{"style":66},[192],{"type":21,"value":193}," p_next",{"type":16,"tag":48,"props":195,"children":196},{"style":55},[197],{"type":21,"value":165},{"type":16,"tag":48,"props":199,"children":200},{"style":55},[201],{"type":21,"value":202}," *mut",{"type":16,"tag":48,"props":204,"children":205},{"style":66},[206],{"type":21,"value":207}," c_void,\n",{"type":16,"tag":48,"props":209,"children":210},{"class":50,"line":95},[211,216,220,224,228,233],{"type":16,"tag":48,"props":212,"children":213},{"style":66},[214],{"type":21,"value":215}," unified_image_layouts",{"type":16,"tag":48,"props":217,"children":218},{"style":55},[219],{"type":21,"value":165},{"type":16,"tag":48,"props":221,"children":222},{"style":144},[223],{"type":21,"value":170},{"type":16,"tag":48,"props":225,"children":226},{"style":55},[227],{"type":21,"value":175},{"type":16,"tag":48,"props":229,"children":230},{"style":144},[231],{"type":21,"value":232},"Bool32",{"type":16,"tag":48,"props":234,"children":235},{"style":66},[236],{"type":21,"value":185},{"type":16,"tag":48,"props":238,"children":239},{"class":50,"line":104},[240,245,249,253,257,261],{"type":16,"tag":48,"props":241,"children":242},{"style":66},[243],{"type":21,"value":244}," unified_image_layouts_video",{"type":16,"tag":48,"props":246,"children":247},{"style":55},[248],{"type":21,"value":165},{"type":16,"tag":48,"props":250,"children":251},{"style":144},[252],{"type":21,"value":170},{"type":16,"tag":48,"props":254,"children":255},{"style":55},[256],{"type":21,"value":175},{"type":16,"tag":48,"props":258,"children":259},{"style":144},[260],{"type":21,"value":232},{"type":16,"tag":48,"props":262,"children":263},{"style":66},[264],{"type":21,"value":185},{"type":16,"tag":48,"props":266,"children":267},{"class":50,"line":113},[268],{"type":16,"tag":48,"props":269,"children":270},{"style":66},[271],{"type":21,"value":272},"}\n",{"type":16,"tag":17,"props":274,"children":275},{},[276],{"type":21,"value":277},"This structure describes the following feature:",{"type":16,"tag":279,"props":280,"children":281},"ul",{},[282,303,322,363],{"type":16,"tag":283,"props":284,"children":285},"li",{},[286,292,294,301],{"type":16,"tag":24,"props":287,"children":289},{"className":288},[],[290],{"type":21,"value":291},"sType",{"type":21,"value":293}," is a ",{"type":16,"tag":295,"props":296,"children":298},"a",{"href":297},"/man/VkStructureType",[299],{"type":21,"value":300},"VkStructureType",{"type":21,"value":302}," value identifying this structure.",{"type":16,"tag":283,"props":304,"children":305},{},[306,312,314,320],{"type":16,"tag":24,"props":307,"children":309},{"className":308},[],[310],{"type":21,"value":311},"pNext",{"type":21,"value":313}," is ",{"type":16,"tag":24,"props":315,"children":317},{"className":316},[],[318],{"type":21,"value":319},"NULL",{"type":21,"value":321}," or a pointer to a structure extending this\nstructure.",{"type":16,"tag":283,"props":323,"children":324},{},[325,330,332,338,340,346,348,353,355,361],{"type":16,"tag":326,"props":327,"children":329},"anchor",{"id":328},"features-unifiedImageLayouts",[],{"type":21,"value":331}," ",{"type":16,"tag":24,"props":333,"children":335},{"className":334},[],[336],{"type":21,"value":337},"unifiedImageLayouts",{"type":21,"value":339}," specifies\nwhether usage of ",{"type":16,"tag":24,"props":341,"children":343},{"className":342},[],[344],{"type":21,"value":345},"VK_IMAGE_LAYOUT_GENERAL",{"type":21,"value":347},", where valid, incurs no\nloss in efficiency.\nAdditionally, it indicates whether it ",{"type":16,"tag":349,"props":350,"children":352},"normative",{"type":351},"can",[],{"type":21,"value":354}," be used in place of\n",{"type":16,"tag":24,"props":356,"children":358},{"className":357},[],[359],{"type":21,"value":360},"VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT",{"type":21,"value":362},".",{"type":16,"tag":283,"props":364,"children":365},{},[366,370,371,377,379,384,386],{"type":16,"tag":326,"props":367,"children":369},{"id":368},"features-unifiedImageLayoutsVideo",[],{"type":21,"value":331},{"type":16,"tag":24,"props":372,"children":374},{"className":373},[],[375],{"type":21,"value":376},"unifiedImageLayoutsVideo",{"type":21,"value":378},"\nspecifies whether ",{"type":16,"tag":24,"props":380,"children":382},{"className":381},[],[383],{"type":21,"value":345},{"type":21,"value":385}," can be used in place of\nany of the following image layouts with no loss in efficiency.",{"type":16,"tag":279,"props":387,"children":388},{},[389,398,407,416,425,434,443],{"type":16,"tag":283,"props":390,"children":391},{},[392],{"type":16,"tag":24,"props":393,"children":395},{"className":394},[],[396],{"type":21,"value":397},"VK_IMAGE_LAYOUT_VIDEO_DECODE_DST_KHR",{"type":16,"tag":283,"props":399,"children":400},{},[401],{"type":16,"tag":24,"props":402,"children":404},{"className":403},[],[405],{"type":21,"value":406},"VK_IMAGE_LAYOUT_VIDEO_DECODE_SRC_KHR",{"type":16,"tag":283,"props":408,"children":409},{},[410],{"type":16,"tag":24,"props":411,"children":413},{"className":412},[],[414],{"type":21,"value":415},"VK_IMAGE_LAYOUT_VIDEO_DECODE_DPB_KHR",{"type":16,"tag":283,"props":417,"children":418},{},[419],{"type":16,"tag":24,"props":420,"children":422},{"className":421},[],[423],{"type":21,"value":424},"VK_IMAGE_LAYOUT_VIDEO_ENCODE_DST_KHR",{"type":16,"tag":283,"props":426,"children":427},{},[428],{"type":16,"tag":24,"props":429,"children":431},{"className":430},[],[432],{"type":21,"value":433},"VK_IMAGE_LAYOUT_VIDEO_ENCODE_SRC_KHR",{"type":16,"tag":283,"props":435,"children":436},{},[437],{"type":16,"tag":24,"props":438,"children":440},{"className":439},[],[441],{"type":21,"value":442},"VK_IMAGE_LAYOUT_VIDEO_ENCODE_DPB_KHR",{"type":16,"tag":283,"props":444,"children":445},{},[446],{"type":16,"tag":24,"props":447,"children":449},{"className":448},[],[450],{"type":21,"value":451},"VK_IMAGE_LAYOUT_VIDEO_ENCODE_QUANTIZATION_MAP_KHR",{"type":16,"tag":17,"props":453,"children":454},{},[455,457,462,464,469,471,476,478,484,486,492,494,499,501,505,507,513,515,520,522,527,529,533],{"type":21,"value":456},"If the ",{"type":16,"tag":24,"props":458,"children":460},{"className":459},[],[461],{"type":21,"value":4},{"type":21,"value":463}," structure is included in the ",{"type":16,"tag":24,"props":465,"children":467},{"className":466},[],[468],{"type":21,"value":311},{"type":21,"value":470}," chain of the\n",{"type":16,"tag":295,"props":472,"children":474},{"href":473},"/man/VkPhysicalDeviceFeatures2",[475],{"type":21,"value":8},{"type":21,"value":477}," structure passed to\n",{"type":16,"tag":295,"props":479,"children":481},{"href":480},"/man/vkGetPhysicalDeviceFeatures2",[482],{"type":21,"value":483},"vkGetPhysicalDeviceFeatures2",{"type":21,"value":485},", it is filled in to indicate whether each\ncorresponding feature is supported.\nIf the application wishes to use a ",{"type":16,"tag":295,"props":487,"children":489},{"href":488},"/man/VkDevice",[490],{"type":21,"value":491},"VkDevice",{"type":21,"value":493}," with any features\ndescribed by ",{"type":16,"tag":24,"props":495,"children":497},{"className":496},[],[498],{"type":21,"value":4},{"type":21,"value":500},", it ",{"type":16,"tag":349,"props":502,"children":504},{"type":503},"must",[],{"type":21,"value":506}," add an instance of the structure,\nwith the desired feature members set to ",{"type":16,"tag":24,"props":508,"children":510},{"className":509},[],[511],{"type":21,"value":512},"VK_TRUE",{"type":21,"value":514},", to the ",{"type":16,"tag":24,"props":516,"children":518},{"className":517},[],[519],{"type":21,"value":311},{"type":21,"value":521},"\nchain of ",{"type":16,"tag":295,"props":523,"children":525},{"href":524},"/man/VkDeviceCreateInfo",[526],{"type":21,"value":9},{"type":21,"value":528}," when creating the ",{"type":16,"tag":295,"props":530,"children":531},{"href":488},[532],{"type":21,"value":491},{"type":21,"value":362},{"type":16,"tag":535,"props":536,"children":538},"validity-group",{"name":537},"Valid Usage (Implicit)",[539],{"type":16,"tag":540,"props":541,"children":543},"validity-field",{"name":542},"VUID-VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR-sType-sType",[544],{"type":16,"tag":17,"props":545,"children":546},{},[547,552,553,556,558],{"type":16,"tag":24,"props":548,"children":550},{"className":549},[],[551],{"type":21,"value":291},{"type":21,"value":331},{"type":16,"tag":349,"props":554,"children":555},{"type":503},[],{"type":21,"value":557}," be ",{"type":16,"tag":24,"props":559,"children":561},{"className":560},[],[562],{"type":21,"value":563},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFIED_IMAGE_LAYOUTS_FEATURES_KHR",{"type":16,"tag":565,"props":566,"children":567},"style",{},[568],{"type":21,"value":569},"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":42,"searchDepth":72,"depth":72,"links":571},[],"markdown",1773054769207]