[{"data":1,"prerenderedAt":376},["ShallowReactive",2],{"V3l6faV9JS":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":375,"_id":4},"VkSubpassSampleLocationsEXT","Structure specifying the sample locations state to use for layout transitions of attachments performed after a given subpass","VK_EXT_sample_locations","structs",[],{"type":10,"children":11,"toc":373},"root",[12,28,194,228,279,337,367],{"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 defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,99],{"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 VkSubpassSampleLocationsEXT {\n uint32_t subpassIndex;\n VkSampleLocationsInfoEXT sampleLocationsInfo;\n} VkSubpassSampleLocationsEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,81,90],{"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}," VkSubpassSampleLocationsEXT {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71,76],{"type":13,"tag":45,"props":72,"children":73},{"style":52},[74],{"type":18,"value":75}," uint32_t",{"type":13,"tag":45,"props":77,"children":78},{"style":63},[79],{"type":18,"value":80}," subpassIndex;\n",{"type":13,"tag":45,"props":82,"children":84},{"class":47,"line":83},3,[85],{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," VkSampleLocationsInfoEXT sampleLocationsInfo;\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},"} VkSubpassSampleLocationsEXT;\n",{"type":13,"tag":33,"props":100,"children":105},{"className":101,"code":102,"filename":103,"language":104,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SubpassSampleLocationsEXT {\n subpass_index: u32,\n sample_locations_info: vk::SampleLocationsInfoEXT,\n}\n","Rust","rs",[106],{"type":13,"tag":21,"props":107,"children":108},{"__ignoreMap":39},[109,132,155,186],{"type":13,"tag":45,"props":110,"children":111},{"class":47,"line":48},[112,117,121,127],{"type":13,"tag":45,"props":113,"children":114},{"style":52},[115],{"type":18,"value":116},"pub",{"type":13,"tag":45,"props":118,"children":119},{"style":52},[120],{"type":18,"value":60},{"type":13,"tag":45,"props":122,"children":124},{"style":123},"--shiki-default:#953800;--shiki-dark:#FFA657",[125],{"type":18,"value":126}," SubpassSampleLocationsEXT",{"type":13,"tag":45,"props":128,"children":129},{"style":63},[130],{"type":18,"value":131}," {\n",{"type":13,"tag":45,"props":133,"children":134},{"class":47,"line":69},[135,140,145,150],{"type":13,"tag":45,"props":136,"children":137},{"style":63},[138],{"type":18,"value":139}," subpass_index",{"type":13,"tag":45,"props":141,"children":142},{"style":52},[143],{"type":18,"value":144},":",{"type":13,"tag":45,"props":146,"children":147},{"style":123},[148],{"type":18,"value":149}," u32",{"type":13,"tag":45,"props":151,"children":152},{"style":63},[153],{"type":18,"value":154},",\n",{"type":13,"tag":45,"props":156,"children":157},{"class":47,"line":83},[158,163,167,172,177,182],{"type":13,"tag":45,"props":159,"children":160},{"style":63},[161],{"type":18,"value":162}," sample_locations_info",{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":144},{"type":13,"tag":45,"props":168,"children":169},{"style":123},[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":123},[180],{"type":18,"value":181},"SampleLocationsInfoEXT",{"type":13,"tag":45,"props":183,"children":184},{"style":63},[185],{"type":18,"value":154},{"type":13,"tag":45,"props":187,"children":188},{"class":47,"line":92},[189],{"type":13,"tag":45,"props":190,"children":191},{"style":63},[192],{"type":18,"value":193},"}\n",{"type":13,"tag":195,"props":196,"children":197},"ul",{},[198,210],{"type":13,"tag":199,"props":200,"children":201},"li",{},[202,208],{"type":13,"tag":21,"props":203,"children":205},{"className":204},[],[206],{"type":18,"value":207},"subpassIndex",{"type":18,"value":209}," is the index of the subpass for which the sample\nlocations state is provided.",{"type":13,"tag":199,"props":211,"children":212},{},[213,219,221,226],{"type":13,"tag":21,"props":214,"children":216},{"className":215},[],[217],{"type":18,"value":218},"sampleLocationsInfo",{"type":18,"value":220}," is the sample locations state to use for the\nlayout transition of the depth/stencil attachment away from the image\nlayout the attachment is used with in the subpass specified in\n",{"type":13,"tag":21,"props":222,"children":224},{"className":223},[],[225],{"type":18,"value":207},{"type":18,"value":227},".",{"type":13,"tag":14,"props":229,"children":230},{},[231,233,238,240,246,248,255,256,262,264,270,272,277],{"type":18,"value":232},"If the image referenced by the depth/stencil attachment used in the subpass\nidentified by ",{"type":13,"tag":21,"props":234,"children":236},{"className":235},[],[237],{"type":18,"value":207},{"type":18,"value":239}," was not created with\n",{"type":13,"tag":21,"props":241,"children":243},{"className":242},[],[244],{"type":18,"value":245},"VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT",{"type":18,"value":247}," or if the\nsubpass does not use a depth/stencil attachment, and\n",{"type":13,"tag":249,"props":250,"children":252},"a",{"href":251},"/man/VkPhysicalDeviceSampleLocationsPropertiesEXT",[253],{"type":18,"value":254},"VkPhysicalDeviceSampleLocationsPropertiesEXT",{"type":18,"value":176},{"type":13,"tag":21,"props":257,"children":259},{"className":258},[],[260],{"type":18,"value":261},"variableSampleLocations",{"type":18,"value":263},"\nis ",{"type":13,"tag":21,"props":265,"children":267},{"className":266},[],[268],{"type":18,"value":269},"VK_TRUE",{"type":18,"value":271}," then the values specified in ",{"type":13,"tag":21,"props":273,"children":275},{"className":274},[],[276],{"type":18,"value":218},{"type":18,"value":278}," are\nignored.",{"type":13,"tag":280,"props":281,"children":283},"validity-group",{"name":282},"Valid Usage",[284],{"type":13,"tag":285,"props":286,"children":288},"validity-field",{"name":287},"VUID-VkSubpassSampleLocationsEXT-subpassIndex-01532",[289],{"type":13,"tag":14,"props":290,"children":291},{},[292,297,299,304,306,312,314,320,322,328,329,335],{"type":13,"tag":21,"props":293,"children":295},{"className":294},[],[296],{"type":18,"value":207},{"type":18,"value":298}," ",{"type":13,"tag":300,"props":301,"children":303},"normative",{"type":302},"must",[],{"type":18,"value":305}," be less than the ",{"type":13,"tag":21,"props":307,"children":309},{"className":308},[],[310],{"type":18,"value":311},"subpassCount",{"type":18,"value":313}," specified\nin ",{"type":13,"tag":249,"props":315,"children":317},{"href":316},"/man/VkRenderPassCreateInfo",[318],{"type":18,"value":319},"VkRenderPassCreateInfo",{"type":18,"value":321}," the render pass specified by\n",{"type":13,"tag":249,"props":323,"children":325},{"href":324},"/man/VkRenderPassBeginInfo",[326],{"type":18,"value":327},"VkRenderPassBeginInfo",{"type":18,"value":176},{"type":13,"tag":21,"props":330,"children":332},{"className":331},[],[333],{"type":18,"value":334},"renderPass",{"type":18,"value":336}," was created with",{"type":13,"tag":280,"props":338,"children":340},{"name":339},"Valid Usage (Implicit)",[341],{"type":13,"tag":285,"props":342,"children":344},{"name":343},"VUID-VkSubpassSampleLocationsEXT-sampleLocationsInfo-parameter",[345],{"type":13,"tag":14,"props":346,"children":347},{},[348,353,354,357,359,365],{"type":13,"tag":21,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":218},{"type":18,"value":298},{"type":13,"tag":300,"props":355,"children":356},{"type":302},[],{"type":18,"value":358}," be a valid ",{"type":13,"tag":249,"props":360,"children":362},{"href":361},"/man/VkSampleLocationsInfoEXT",[363],{"type":18,"value":364},"VkSampleLocationsInfoEXT",{"type":18,"value":366}," structure",{"type":13,"tag":368,"props":369,"children":370},"style",{},[371],{"type":18,"value":372},"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":374},[],"markdown",1729612482927]