[{"data":1,"prerenderedAt":526},["ShallowReactive",2],{"zPG0E4fvo4":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":525,"_id":4},"VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures","Structure describing whether the implementation can do depth and stencil image barriers separately","VK_VERSION_1_2","structs",[],{"type":10,"children":11,"toc":523},"root",[12,28,233,238,303,308,422,486,517],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is\ndefined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,108],{"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 VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures {\n VkStructureType sType;\n void* pNext;\n VkBool32 separateDepthStencilLayouts;\n} VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99],{"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}," VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures {\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}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkBool32 separateDepthStencilLayouts;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103],{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107},"} VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures;\n",{"type":13,"tag":33,"props":109,"children":114},{"className":110,"code":111,"filename":112,"language":113,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceSeparateDepthStencilLayoutsFeatures {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n separate_depth_stencil_layouts: vk::Bool32,\n}\n","Rust","rs",[115],{"type":13,"tag":21,"props":116,"children":117},{"__ignoreMap":39},[118,141,174,196,225],{"type":13,"tag":45,"props":119,"children":120},{"class":47,"line":48},[121,126,130,136],{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":125},"pub",{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":60},{"type":13,"tag":45,"props":131,"children":133},{"style":132},"--shiki-default:#953800;--shiki-dark:#FFA657",[134],{"type":18,"value":135}," PhysicalDeviceSeparateDepthStencilLayoutsFeatures",{"type":13,"tag":45,"props":137,"children":138},{"style":63},[139],{"type":18,"value":140}," {\n",{"type":13,"tag":45,"props":142,"children":143},{"class":47,"line":69},[144,149,154,159,164,169],{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148}," s_type",{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":153},":",{"type":13,"tag":45,"props":155,"children":156},{"style":132},[157],{"type":18,"value":158}," vk",{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":163},"::",{"type":13,"tag":45,"props":165,"children":166},{"style":132},[167],{"type":18,"value":168},"StructureType",{"type":13,"tag":45,"props":170,"children":171},{"style":63},[172],{"type":18,"value":173},",\n",{"type":13,"tag":45,"props":175,"children":176},{"class":47,"line":78},[177,182,186,191],{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," p_next",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":153},{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":190}," *mut",{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," c_void,\n",{"type":13,"tag":45,"props":197,"children":198},{"class":47,"line":92},[199,204,208,212,216,221],{"type":13,"tag":45,"props":200,"children":201},{"style":63},[202],{"type":18,"value":203}," separate_depth_stencil_layouts",{"type":13,"tag":45,"props":205,"children":206},{"style":52},[207],{"type":18,"value":153},{"type":13,"tag":45,"props":209,"children":210},{"style":132},[211],{"type":18,"value":158},{"type":13,"tag":45,"props":213,"children":214},{"style":52},[215],{"type":18,"value":163},{"type":13,"tag":45,"props":217,"children":218},{"style":132},[219],{"type":18,"value":220},"Bool32",{"type":13,"tag":45,"props":222,"children":223},{"style":63},[224],{"type":18,"value":173},{"type":13,"tag":45,"props":226,"children":227},{"class":47,"line":101},[228],{"type":13,"tag":45,"props":229,"children":230},{"style":63},[231],{"type":18,"value":232},"}\n",{"type":13,"tag":14,"props":234,"children":235},{},[236],{"type":18,"value":237},"or the equivalent",{"type":13,"tag":29,"props":239,"children":240},{},[241,260],{"type":13,"tag":33,"props":242,"children":244},{"className":35,"code":243,"filename":37,"language":38,"meta":39,"style":39},"typedef VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR;\n",[245],{"type":13,"tag":21,"props":246,"children":247},{"__ignoreMap":39},[248],{"type":13,"tag":45,"props":249,"children":250},{"class":47,"line":48},[251,255],{"type":13,"tag":45,"props":252,"children":253},{"style":52},[254],{"type":18,"value":55},{"type":13,"tag":45,"props":256,"children":257},{"style":63},[258],{"type":18,"value":259}," VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR;\n",{"type":13,"tag":33,"props":261,"children":263},{"className":110,"code":262,"filename":112,"language":113,"meta":39,"style":39},"type PhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR = vk::PhysicalDeviceSeparateDepthStencilLayoutsFeatures;\n",[264],{"type":13,"tag":21,"props":265,"children":266},{"__ignoreMap":39},[267],{"type":13,"tag":45,"props":268,"children":269},{"class":47,"line":48},[270,275,280,285,289,293,298],{"type":13,"tag":45,"props":271,"children":272},{"style":52},[273],{"type":18,"value":274},"type",{"type":13,"tag":45,"props":276,"children":277},{"style":132},[278],{"type":18,"value":279}," PhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR",{"type":13,"tag":45,"props":281,"children":282},{"style":52},[283],{"type":18,"value":284}," =",{"type":13,"tag":45,"props":286,"children":287},{"style":132},[288],{"type":18,"value":158},{"type":13,"tag":45,"props":290,"children":291},{"style":52},[292],{"type":18,"value":163},{"type":13,"tag":45,"props":294,"children":295},{"style":132},[296],{"type":18,"value":297},"PhysicalDeviceSeparateDepthStencilLayoutsFeatures",{"type":13,"tag":45,"props":299,"children":300},{"style":63},[301],{"type":18,"value":302},";\n",{"type":13,"tag":14,"props":304,"children":305},{},[306],{"type":18,"value":307},"This structure describes the following feature:",{"type":13,"tag":309,"props":310,"children":311},"ul",{},[312,333,352],{"type":13,"tag":313,"props":314,"children":315},"li",{},[316,322,324,331],{"type":13,"tag":21,"props":317,"children":319},{"className":318},[],[320],{"type":18,"value":321},"sType",{"type":18,"value":323}," is a ",{"type":13,"tag":325,"props":326,"children":328},"a",{"href":327},"/man/VkStructureType",[329],{"type":18,"value":330},"VkStructureType",{"type":18,"value":332}," value identifying this structure.",{"type":13,"tag":313,"props":334,"children":335},{},[336,342,344,350],{"type":13,"tag":21,"props":337,"children":339},{"className":338},[],[340],{"type":18,"value":341},"pNext",{"type":18,"value":343}," is ",{"type":13,"tag":21,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":349},"NULL",{"type":18,"value":351}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":313,"props":353,"children":354},{},[355,360,366,368,374,376,382,384,390,392,398,399,405,406,412,414,420],{"type":13,"tag":356,"props":357,"children":359},"anchor",{"id":358},"features-separateDepthStencilLayouts",[],{"type":13,"tag":21,"props":361,"children":363},{"className":362},[],[364],{"type":18,"value":365},"separateDepthStencilLayouts",{"type":18,"value":367}," indicates whether the implementation\nsupports a ",{"type":13,"tag":21,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":373},"VkImageMemoryBarrier",{"type":18,"value":375}," for a depth/stencil image with\nonly one of ",{"type":13,"tag":21,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":381},"VK_IMAGE_ASPECT_DEPTH_BIT",{"type":18,"value":383}," or\n",{"type":13,"tag":21,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":389},"VK_IMAGE_ASPECT_STENCIL_BIT",{"type":18,"value":391}," set, and whether\n",{"type":13,"tag":21,"props":393,"children":395},{"className":394},[],[396],{"type":18,"value":397},"VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL",{"type":18,"value":173},{"type":13,"tag":21,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":404},"VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL",{"type":18,"value":173},{"type":13,"tag":21,"props":407,"children":409},{"className":408},[],[410],{"type":18,"value":411},"VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL",{"type":18,"value":413},", or\n",{"type":13,"tag":21,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":419},"VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL",{"type":18,"value":421}," can be used.",{"type":13,"tag":14,"props":423,"children":424},{},[425,427,432,434,439,441,447,449,455,457,462,464,469,471,476,478,484],{"type":18,"value":426},"If the ",{"type":13,"tag":21,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":4},{"type":18,"value":433}," structure is included in the ",{"type":13,"tag":21,"props":435,"children":437},{"className":436},[],[438],{"type":18,"value":341},{"type":18,"value":440}," chain of the\n",{"type":13,"tag":325,"props":442,"children":444},{"href":443},"/man/VkPhysicalDeviceFeatures2",[445],{"type":18,"value":446},"VkPhysicalDeviceFeatures2",{"type":18,"value":448}," structure passed to\n",{"type":13,"tag":325,"props":450,"children":452},{"href":451},"/man/vkGetPhysicalDeviceFeatures2",[453],{"type":18,"value":454},"vkGetPhysicalDeviceFeatures2",{"type":18,"value":456},", it is filled in to indicate whether each\ncorresponding feature is supported.\n",{"type":13,"tag":21,"props":458,"children":460},{"className":459},[],[461],{"type":18,"value":4},{"type":18,"value":463}," ",{"type":13,"tag":465,"props":466,"children":468},"normative",{"type":467},"can",[],{"type":18,"value":470}," also be used in the ",{"type":13,"tag":21,"props":472,"children":474},{"className":473},[],[475],{"type":18,"value":341},{"type":18,"value":477}," chain of\n",{"type":13,"tag":325,"props":479,"children":481},{"href":480},"/man/VkDeviceCreateInfo",[482],{"type":18,"value":483},"VkDeviceCreateInfo",{"type":18,"value":485}," to selectively enable these features.",{"type":13,"tag":487,"props":488,"children":490},"validity-group",{"name":489},"Valid Usage (Implicit)",[491],{"type":13,"tag":492,"props":493,"children":495},"validity-field",{"name":494},"VUID-VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures-sType-sType",[496],{"type":13,"tag":14,"props":497,"children":498},{},[499,504,505,509,511],{"type":13,"tag":21,"props":500,"children":502},{"className":501},[],[503],{"type":18,"value":321},{"type":18,"value":463},{"type":13,"tag":465,"props":506,"children":508},{"type":507},"must",[],{"type":18,"value":510}," be ",{"type":13,"tag":21,"props":512,"children":514},{"className":513},[],[515],{"type":18,"value":516},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES",{"type":13,"tag":518,"props":519,"children":520},"style",{},[521],{"type":18,"value":522},"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":524},[],"markdown",1725732573583]