[{"data":1,"prerenderedAt":337},["ShallowReactive",2],{"$fKcRnxSgVTi8iGtdCydywZgDfAS4japX7zJi-l28_qTI":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":336,"_id":4},"VkRenderingAttachmentFlagBitsKHR","Bitmask specifying additional properties of a rendering attachment","VK_KHR_maintenance10","enums",[],{"type":10,"children":11,"toc":334},"root",[12,45,180,268,320,328],{"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\n",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkRenderingAttachmentFlagsInfoKHR",[32],{"type":18,"value":33},"VkRenderingAttachmentFlagsInfoKHR",{"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},", describing additional\nproperties of a rendering attachment, 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 VkRenderingAttachmentFlagBitsKHR {\n\n} VkRenderingAttachmentFlagBitsKHR;\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}," VkRenderingAttachmentFlagBitsKHR {\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},"} VkRenderingAttachmentFlagBitsKHR;\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 RenderingAttachmentFlagBitsKHR(u32);\nimpl RenderingAttachmentFlagBitsKHR {\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}," RenderingAttachmentFlagBitsKHR",{"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,237,253],{"type":13,"tag":185,"props":186,"children":187},"li",{},[188,194,196,199,201,207,209,214,216,222,224,228,230,235],{"type":13,"tag":37,"props":189,"children":191},{"className":190},[],[192],{"type":18,"value":193},"VK_RENDERING_ATTACHMENT_INPUT_ATTACHMENT_FEEDBACK_BIT_KHR",{"type":18,"value":195},"\nspecifies that the attachment ",{"type":13,"tag":21,"props":197,"children":198},{"type":23},[],{"type":18,"value":200}," be used concurrently as both an input\nattachment and a write-only attachment during the render pass, creating\na feedback loop while processing a fragment, and without a\n",{"type":13,"tag":37,"props":202,"children":204},{"className":203},[],[205],{"type":18,"value":206},"VK_DEPENDENCY_BY_REGION_BIT",{"type":18,"value":208}," barrier separating the write\nattachment and input attachment usage.\nUsing this flag does not remove the general requirement to use a\n",{"type":13,"tag":37,"props":210,"children":212},{"className":211},[],[213],{"type":18,"value":206},{"type":18,"value":215}," barrier to resolve hazards when two\ndifferent fragments accesses a particular attachment region, where one\nof them performs an attachment write, and a subsequent fragment performs\nan input attachment read.\nIf ",{"type":13,"tag":37,"props":217,"children":219},{"className":218},[],[220],{"type":18,"value":221},"VK_RENDERING_LOCAL_READ_CONCURRENT_ACCESS_CONTROL_BIT_KHR",{"type":18,"value":223}," is\nspecified in the rendering info, this flag ",{"type":13,"tag":21,"props":225,"children":227},{"type":226},"must",[],{"type":18,"value":229}," be set for an\nattachment to be used concurrently as an input attachment and a write\nattachment in this manner.\nIf ",{"type":13,"tag":37,"props":231,"children":233},{"className":232},[],[234],{"type":18,"value":221},{"type":18,"value":236}," is\nnot specified in the rendering info, this flag is implied to be set for\nany attachment which has a combination of image layouts and image view\nusage flags which support input attachment usage.",{"type":13,"tag":185,"props":238,"children":239},{},[240,246,248,251],{"type":13,"tag":37,"props":241,"children":243},{"className":242},[],[244],{"type":18,"value":245},"VK_RENDERING_ATTACHMENT_RESOLVE_SKIP_TRANSFER_FUNCTION_BIT_KHR",{"type":18,"value":247},"\nspecifies that resolve operations happening to an sRGB encoded\nattachment ",{"type":13,"tag":21,"props":249,"children":250},{"type":226},[],{"type":18,"value":252}," not convert samples from nonlinear to linear before\naveraging.",{"type":13,"tag":185,"props":254,"children":255},{},[256,262,263,266],{"type":13,"tag":37,"props":257,"children":259},{"className":258},[],[260],{"type":18,"value":261},"VK_RENDERING_ATTACHMENT_RESOLVE_ENABLE_TRANSFER_FUNCTION_BIT_KHR",{"type":18,"value":247},{"type":13,"tag":21,"props":264,"children":265},{"type":226},[],{"type":18,"value":267}," convert samples from nonlinear to linear before\naveraging.",{"type":13,"tag":269,"props":270,"children":271},"note",{},[272,282],{"type":13,"tag":14,"props":273,"children":274},{},[275,280],{"type":13,"tag":37,"props":276,"children":278},{"className":277},[],[279],{"type":18,"value":193},{"type":18,"value":281}," is intended\nto give implementations similar information as a subpass where an attachment\ncould be used as both a color attachment and input attachment.\nSome implementations require extra work to make this scenario work beyond\njust considering the image layouts.\nImplementations which have no such considerations may treat this flag as a\nnoop.\nThe primary use case for this flag is to enable feedback loops inside a\nsingle shader.",{"type":13,"tag":14,"props":283,"children":284},{},[285,287,292,294,304,306,312,314,318],{"type":18,"value":286},"Applications are encouraged to use\n",{"type":13,"tag":37,"props":288,"children":290},{"className":289},[],[291],{"type":18,"value":221},{"type":18,"value":293}," if\n",{"type":13,"tag":28,"props":295,"children":297},{"href":296},"/man/VkPhysicalDeviceMaintenance10FeaturesKHR#features-maintenance10",[298],{"type":13,"tag":37,"props":299,"children":301},{"className":300},[],[302],{"type":18,"value":303},"maintenance10",{"type":18,"value":305}," is available and they use\nfeedback loops with ",{"type":13,"tag":28,"props":307,"children":309},{"href":308},"/extensions/VK_KHR_dynamic_rendering_local_read",[310],{"type":18,"value":311},"VK_KHR_dynamic_rendering_local_read",{"type":18,"value":313},".\nFeedback loops are still allowed when not using the rendering flag, but the\nperformance implication was an oversight in the original definition of\n",{"type":13,"tag":28,"props":315,"children":316},{"href":308},[317],{"type":18,"value":311},{"type":18,"value":319},".",{"type":13,"tag":269,"props":321,"children":322},{},[323],{"type":13,"tag":14,"props":324,"children":325},{},[326],{"type":18,"value":327},"In some scenarios, resolving sRGB in nonlinear space instead of the expected\nlinear space can improve perceptual aliasing at the cost of inaccurate color\nblending.",{"type":13,"tag":329,"props":330,"children":331},"style",{},[332],{"type":18,"value":333},"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":335},[],"markdown",1773054775425]