[{"data":1,"prerenderedAt":365},["ShallowReactive",2],{"2F6emTH7tl":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":364,"_id":4},"VkSubpassDescriptionFlagBits","Bitmask specifying usage of a subpass","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":362},"root",[12,45,180,341,356],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43],{"type":18,"value":19},"text","Bits which ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be set in ",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkSubpassDescription",[32],{"type":18,"value":33},"VkSubpassDescription",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"flags",{"type":18,"value":44},",\nspecifying usage of the subpass, are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,103],{"type":13,"tag":50,"props":51,"children":57},"pre",{"className":52,"code":53,"filename":54,"language":55,"meta":56,"style":56},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkSubpassDescriptionFlagBits {\n\n} VkSubpassDescriptionFlagBits;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,94],{"type":13,"tag":62,"props":63,"children":66},"span",{"class":64,"line":65},"line",1,[67,73,78],{"type":13,"tag":62,"props":68,"children":70},{"style":69},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[71],{"type":18,"value":72},"typedef",{"type":13,"tag":62,"props":74,"children":75},{"style":69},[76],{"type":18,"value":77}," enum",{"type":13,"tag":62,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83}," VkSubpassDescriptionFlagBits {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88],{"type":13,"tag":62,"props":89,"children":91},{"emptyLinePlaceholder":90},true,[92],{"type":18,"value":93},"\n",{"type":13,"tag":62,"props":95,"children":97},{"class":64,"line":96},3,[98],{"type":13,"tag":62,"props":99,"children":100},{"style":80},[101],{"type":18,"value":102},"} VkSubpassDescriptionFlagBits;\n",{"type":13,"tag":50,"props":104,"children":109},{"className":105,"code":106,"filename":107,"language":108,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SubpassDescriptionFlagBits(u32);\nimpl SubpassDescriptionFlagBits {\n\n}\n","Rust","rs",[110],{"type":13,"tag":37,"props":111,"children":112},{"__ignoreMap":56},[113,147,164,171],{"type":13,"tag":62,"props":114,"children":115},{"class":64,"line":65},[116,121,126,132,137,142],{"type":13,"tag":62,"props":117,"children":118},{"style":69},[119],{"type":18,"value":120},"pub",{"type":13,"tag":62,"props":122,"children":123},{"style":69},[124],{"type":18,"value":125}," struct",{"type":13,"tag":62,"props":127,"children":129},{"style":128},"--shiki-default:#953800;--shiki-dark:#FFA657",[130],{"type":18,"value":131}," SubpassDescriptionFlagBits",{"type":13,"tag":62,"props":133,"children":134},{"style":80},[135],{"type":18,"value":136},"(",{"type":13,"tag":62,"props":138,"children":139},{"style":128},[140],{"type":18,"value":141},"u32",{"type":13,"tag":62,"props":143,"children":144},{"style":80},[145],{"type":18,"value":146},");\n",{"type":13,"tag":62,"props":148,"children":149},{"class":64,"line":86},[150,155,159],{"type":13,"tag":62,"props":151,"children":152},{"style":69},[153],{"type":18,"value":154},"impl",{"type":13,"tag":62,"props":156,"children":157},{"style":128},[158],{"type":18,"value":131},{"type":13,"tag":62,"props":160,"children":161},{"style":80},[162],{"type":18,"value":163}," {\n",{"type":13,"tag":62,"props":165,"children":166},{"class":64,"line":96},[167],{"type":13,"tag":62,"props":168,"children":169},{"emptyLinePlaceholder":90},[170],{"type":18,"value":93},{"type":13,"tag":62,"props":172,"children":174},{"class":64,"line":173},4,[175],{"type":13,"tag":62,"props":176,"children":177},{"style":80},[178],{"type":18,"value":179},"}\n",{"type":13,"tag":181,"props":182,"children":183},"ul",{},[184,226,242,258,269,288,305,322],{"type":13,"tag":185,"props":186,"children":187},"li",{},[188,194,196,202,204,208,210,216,218,224],{"type":13,"tag":37,"props":189,"children":191},{"className":190},[],[192],{"type":18,"value":193},"VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX",{"type":18,"value":195}," specifies that\nshaders compiled for this subpass write the attributes for all views in\na single invocation of each\n",{"type":13,"tag":28,"props":197,"children":199},{"href":198},"/man/VkGraphicsPipelineCreateInfo#pipelines-graphics-subsets-pre-rasterization",[200],{"type":18,"value":201},"pre-rasterization shader\nstage",{"type":18,"value":203},".\nAll pipelines compiled against a subpass that includes this bit ",{"type":13,"tag":21,"props":205,"children":207},{"type":206},"must",[],{"type":18,"value":209},"\nwrite per-view attributes to the ",{"type":13,"tag":37,"props":211,"children":213},{"className":212},[],[214],{"type":18,"value":215},"*PerViewNV[]",{"type":18,"value":217}," shader outputs, in\naddition to the non-per-view (e.g. ",{"type":13,"tag":37,"props":219,"children":221},{"className":220},[],[222],{"type":18,"value":223},"Position",{"type":18,"value":225},") outputs.",{"type":13,"tag":185,"props":227,"children":228},{},[229,235,237,240],{"type":13,"tag":37,"props":230,"children":232},{"className":231},[],[233],{"type":18,"value":234},"VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX",{"type":18,"value":236}," specifies\nthat shaders compiled for this subpass use per-view positions which only\ndiffer in value in the x component.\nPer-view viewport mask ",{"type":13,"tag":21,"props":238,"children":239},{"type":23},[],{"type":18,"value":241}," also be used.",{"type":13,"tag":185,"props":243,"children":244},{},[245,251,253,256],{"type":13,"tag":37,"props":246,"children":248},{"className":247},[],[249],{"type":18,"value":250},"VK_SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_QCOM",{"type":18,"value":252}," specifies that the\nframebuffer region is the fragment region, that is, the minimum region\ndependencies are by pixel rather than by sample, such that any fragment\nshader invocation ",{"type":13,"tag":21,"props":254,"children":255},{"type":23},[],{"type":18,"value":257}," access any sample associated with that fragment\nshader invocation.",{"type":13,"tag":185,"props":259,"children":260},{},[261,267],{"type":13,"tag":37,"props":262,"children":264},{"className":263},[],[265],{"type":18,"value":266},"VK_SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM",{"type":18,"value":268}," specifies that the\nsubpass performs shader resolve operations.",{"type":13,"tag":185,"props":270,"children":271},{},[272,278,280,286],{"type":13,"tag":37,"props":273,"children":275},{"className":274},[],[276],{"type":18,"value":277},"VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_EXT",{"type":18,"value":279},"\nspecifies that this subpass supports pipelines created with\n",{"type":13,"tag":37,"props":281,"children":283},{"className":282},[],[284],{"type":18,"value":285},"VK_PIPELINE_COLOR_BLEND_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_BIT_EXT",{"type":18,"value":287},".",{"type":13,"tag":185,"props":289,"children":290},{},[291,297,298,304],{"type":13,"tag":37,"props":292,"children":294},{"className":293},[],[295],{"type":18,"value":296},"VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT",{"type":18,"value":279},{"type":13,"tag":37,"props":299,"children":301},{"className":300},[],[302],{"type":18,"value":303},"VK_PIPELINE_DEPTH_STENCIL_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT",{"type":18,"value":287},{"type":13,"tag":185,"props":306,"children":307},{},[308,314,315,321],{"type":13,"tag":37,"props":309,"children":311},{"className":310},[],[312],{"type":18,"value":313},"VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT",{"type":18,"value":279},{"type":13,"tag":37,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":320},"VK_PIPELINE_DEPTH_STENCIL_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT",{"type":18,"value":287},{"type":13,"tag":185,"props":323,"children":324},{},[325,331,333,339],{"type":13,"tag":37,"props":326,"children":328},{"className":327},[],[329],{"type":18,"value":330},"VK_SUBPASS_DESCRIPTION_ENABLE_LEGACY_DITHERING_BIT_EXT",{"type":18,"value":332}," specifies\nthat ",{"type":13,"tag":28,"props":334,"children":336},{"href":335},"/chapters/interfaces#interfaces-legacy-dithering",[337],{"type":18,"value":338},"Legacy Dithering",{"type":18,"value":340}," is enabled for\nthis subpass.",{"type":13,"tag":342,"props":343,"children":344},"note",{},[345],{"type":13,"tag":14,"props":346,"children":347},{},[348,350,354],{"type":18,"value":349},"Shader resolve operations allow for custom resolve operations, but\noverdrawing pixels ",{"type":13,"tag":21,"props":351,"children":353},{"type":352},"may",[],{"type":18,"value":355}," have a performance and/or power cost.\nFurthermore, since the content of any depth stencil attachment or color\nattachment is undefined: at the beginning of a shader resolve subpass, any\ndepth testing, stencil testing, or blending operation which sources these\nundefined: values also has undefined: result value.",{"type":13,"tag":357,"props":358,"children":359},"style",{},[360],{"type":18,"value":361},"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":56,"searchDepth":86,"depth":86,"links":363},[],"markdown",1725732588438]