[{"data":1,"prerenderedAt":576},["ShallowReactive",2],{"yFn4brE4yS":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"supported_queue_types":11,"tasks":13,"type":15,"xrefs":16,"body":17,"_type":575,"_id":4},"vkCmdSetAttachmentFeedbackLoopEnableEXT","Specify whether attachment feedback loops are enabled dynamically on a command buffer","VK_EXT_attachment_feedback_loop_dynamic_state",[8,9],"primary","secondary","both",[12],"graphics",[14],"state","protos",[],{"type":18,"children":19,"toc":573},"root",[20,44,225,257,282,399,521,567],{"type":21,"tag":22,"props":23,"children":24},"element","p",{},[25,28,35,37,42],{"type":26,"value":27},"text","To ",{"type":21,"tag":29,"props":30,"children":32},"a",{"href":31},"/chapters/pipelines#pipelines-dynamic-state",[33],{"type":26,"value":34},"dynamically set",{"type":26,"value":36}," whether a pipeline ",{"type":21,"tag":38,"props":39,"children":41},"normative",{"type":40},"can",[],{"type":26,"value":43},"\naccess a resource as a non-attachment while it is also used as an attachment\nthat is written to, call:",{"type":21,"tag":45,"props":46,"children":47},"code-group",{},[48,124],{"type":21,"tag":49,"props":50,"children":56},"pre",{"className":51,"code":52,"filename":53,"language":54,"meta":55,"style":55},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdSetAttachmentFeedbackLoopEnableEXT(\n VkCommandBuffer commandBuffer,\n VkImageAspectFlags aspectMask);\n","C","c","",[57],{"type":21,"tag":58,"props":59,"children":60},"code",{"__ignoreMap":55},[61,85,105],{"type":21,"tag":62,"props":63,"children":66},"span",{"class":64,"line":65},"line",1,[67,73,79],{"type":21,"tag":62,"props":68,"children":70},{"style":69},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[71],{"type":26,"value":72},"void",{"type":21,"tag":62,"props":74,"children":76},{"style":75},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[77],{"type":26,"value":78}," vkCmdSetAttachmentFeedbackLoopEnableEXT",{"type":21,"tag":62,"props":80,"children":82},{"style":81},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[83],{"type":26,"value":84},"(\n",{"type":21,"tag":62,"props":86,"children":88},{"class":64,"line":87},2,[89,94,100],{"type":21,"tag":62,"props":90,"children":91},{"style":81},[92],{"type":26,"value":93}," VkCommandBuffer ",{"type":21,"tag":62,"props":95,"children":97},{"style":96},"--shiki-default:#953800;--shiki-dark:#FFA657",[98],{"type":26,"value":99},"commandBuffer",{"type":21,"tag":62,"props":101,"children":102},{"style":81},[103],{"type":26,"value":104},",\n",{"type":21,"tag":62,"props":106,"children":108},{"class":64,"line":107},3,[109,114,119],{"type":21,"tag":62,"props":110,"children":111},{"style":81},[112],{"type":26,"value":113}," VkImageAspectFlags ",{"type":21,"tag":62,"props":115,"children":116},{"style":96},[117],{"type":26,"value":118},"aspectMask",{"type":21,"tag":62,"props":120,"children":121},{"style":81},[122],{"type":26,"value":123},");\n",{"type":21,"tag":49,"props":125,"children":130},{"className":126,"code":127,"filename":128,"language":129,"meta":55,"style":55},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_set_attachment_feedback_loop_enable_ext(\n command_buffer: vk::CommandBuffer,\n aspect_mask: vk::ImageAspectFlags,\n);\n","Rust","rs",[131],{"type":21,"tag":58,"props":132,"children":133},{"__ignoreMap":55},[134,156,188,217],{"type":21,"tag":62,"props":135,"children":136},{"class":64,"line":65},[137,142,147,152],{"type":21,"tag":62,"props":138,"children":139},{"style":69},[140],{"type":26,"value":141},"pub",{"type":21,"tag":62,"props":143,"children":144},{"style":69},[145],{"type":26,"value":146}," fn",{"type":21,"tag":62,"props":148,"children":149},{"style":75},[150],{"type":26,"value":151}," cmd_set_attachment_feedback_loop_enable_ext",{"type":21,"tag":62,"props":153,"children":154},{"style":81},[155],{"type":26,"value":84},{"type":21,"tag":62,"props":157,"children":158},{"class":64,"line":87},[159,164,169,174,179,184],{"type":21,"tag":62,"props":160,"children":161},{"style":81},[162],{"type":26,"value":163}," command_buffer",{"type":21,"tag":62,"props":165,"children":166},{"style":69},[167],{"type":26,"value":168},":",{"type":21,"tag":62,"props":170,"children":171},{"style":96},[172],{"type":26,"value":173}," vk",{"type":21,"tag":62,"props":175,"children":176},{"style":69},[177],{"type":26,"value":178},"::",{"type":21,"tag":62,"props":180,"children":181},{"style":96},[182],{"type":26,"value":183},"CommandBuffer",{"type":21,"tag":62,"props":185,"children":186},{"style":81},[187],{"type":26,"value":104},{"type":21,"tag":62,"props":189,"children":190},{"class":64,"line":107},[191,196,200,204,208,213],{"type":21,"tag":62,"props":192,"children":193},{"style":81},[194],{"type":26,"value":195}," aspect_mask",{"type":21,"tag":62,"props":197,"children":198},{"style":69},[199],{"type":26,"value":168},{"type":21,"tag":62,"props":201,"children":202},{"style":96},[203],{"type":26,"value":173},{"type":21,"tag":62,"props":205,"children":206},{"style":69},[207],{"type":26,"value":178},{"type":21,"tag":62,"props":209,"children":210},{"style":96},[211],{"type":26,"value":212},"ImageAspectFlags",{"type":21,"tag":62,"props":214,"children":215},{"style":81},[216],{"type":26,"value":104},{"type":21,"tag":62,"props":218,"children":220},{"class":64,"line":219},4,[221],{"type":21,"tag":62,"props":222,"children":223},{"style":81},[224],{"type":26,"value":123},{"type":21,"tag":226,"props":227,"children":228},"ul",{},[229,240],{"type":21,"tag":230,"props":231,"children":232},"li",{},[233,238],{"type":21,"tag":58,"props":234,"children":236},{"className":235},[],[237],{"type":26,"value":99},{"type":26,"value":239}," is the command buffer into which the command will be\nrecorded.",{"type":21,"tag":230,"props":241,"children":242},{},[243,248,250,255],{"type":21,"tag":58,"props":244,"children":246},{"className":245},[],[247],{"type":26,"value":118},{"type":26,"value":249}," specifies the types of attachments for which feedback\nloops will be enabled.\nAttachment types whose aspects are not included in ",{"type":21,"tag":58,"props":251,"children":253},{"className":252},[],[254],{"type":26,"value":118},{"type":26,"value":256}," will\nhave feedback loops disabled.",{"type":21,"tag":22,"props":258,"children":259},{},[260,262,267,269,272,274,280],{"type":26,"value":261},"For attachments that are written to in a render pass, only attachments with\nthe aspects specified in ",{"type":21,"tag":58,"props":263,"children":265},{"className":264},[],[266],{"type":26,"value":118},{"type":26,"value":268}," ",{"type":21,"tag":38,"props":270,"children":271},{"type":40},[],{"type":26,"value":273}," be accessed as\nnon-attachments by subsequent ",{"type":21,"tag":29,"props":275,"children":277},{"href":276},"/chapters/drawing#drawing",[278],{"type":26,"value":279},"drawing commands",{"type":26,"value":281},".",{"type":21,"tag":283,"props":284,"children":286},"validity-group",{"name":285},"Valid Usage",[287,315,362],{"type":21,"tag":288,"props":289,"children":291},"validity-field",{"name":290},"VUID-vkCmdSetAttachmentFeedbackLoopEnableEXT-attachmentFeedbackLoopDynamicState-08862",[292],{"type":21,"tag":22,"props":293,"children":294},{},[295,297,307,309,313],{"type":26,"value":296},"The ",{"type":21,"tag":29,"props":298,"children":300},{"href":299},"/man/VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT#features-attachmentFeedbackLoopDynamicState",[301],{"type":21,"tag":58,"props":302,"children":304},{"className":303},[],[305],{"type":26,"value":306},"attachmentFeedbackLoopDynamicState",{"type":26,"value":308}," feature ",{"type":21,"tag":38,"props":310,"children":312},{"type":311},"must",[],{"type":26,"value":314}," be enabled",{"type":21,"tag":288,"props":316,"children":318},{"name":317},"VUID-vkCmdSetAttachmentFeedbackLoopEnableEXT-aspectMask-08863",[319],{"type":21,"tag":22,"props":320,"children":321},{},[322,327,328,331,333,339,340,346,348,354,356],{"type":21,"tag":58,"props":323,"children":325},{"className":324},[],[326],{"type":26,"value":118},{"type":26,"value":268},{"type":21,"tag":38,"props":329,"children":330},{"type":311},[],{"type":26,"value":332}," only include ",{"type":21,"tag":58,"props":334,"children":336},{"className":335},[],[337],{"type":26,"value":338},"VK_IMAGE_ASPECT_NONE",{"type":26,"value":104},{"type":21,"tag":58,"props":341,"children":343},{"className":342},[],[344],{"type":26,"value":345},"VK_IMAGE_ASPECT_COLOR_BIT",{"type":26,"value":347},", ",{"type":21,"tag":58,"props":349,"children":351},{"className":350},[],[352],{"type":26,"value":353},"VK_IMAGE_ASPECT_DEPTH_BIT",{"type":26,"value":355},", and\n",{"type":21,"tag":58,"props":357,"children":359},{"className":358},[],[360],{"type":26,"value":361},"VK_IMAGE_ASPECT_STENCIL_BIT",{"type":21,"tag":288,"props":363,"children":365},{"name":364},"VUID-vkCmdSetAttachmentFeedbackLoopEnableEXT-attachmentFeedbackLoopLayout-08864",[366],{"type":21,"tag":22,"props":367,"children":368},{},[369,371,381,383,388,389,392,394],{"type":26,"value":370},"If the ",{"type":21,"tag":29,"props":372,"children":374},{"href":373},"/man/VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT#features-attachmentFeedbackLoopLayout",[375],{"type":21,"tag":58,"props":376,"children":378},{"className":377},[],[379],{"type":26,"value":380},"attachmentFeedbackLoopLayout",{"type":26,"value":382}," feature is not enabled,\n",{"type":21,"tag":58,"props":384,"children":386},{"className":385},[],[387],{"type":26,"value":118},{"type":26,"value":268},{"type":21,"tag":38,"props":390,"children":391},{"type":311},[],{"type":26,"value":393}," be ",{"type":21,"tag":58,"props":395,"children":397},{"className":396},[],[398],{"type":26,"value":338},{"type":21,"tag":283,"props":400,"children":402},{"name":401},"Valid Usage (Implicit)",[403,429,455,479,507],{"type":21,"tag":288,"props":404,"children":406},{"name":405},"VUID-vkCmdSetAttachmentFeedbackLoopEnableEXT-commandBuffer-parameter",[407],{"type":21,"tag":22,"props":408,"children":409},{},[410,415,416,419,421,427],{"type":21,"tag":58,"props":411,"children":413},{"className":412},[],[414],{"type":26,"value":99},{"type":26,"value":268},{"type":21,"tag":38,"props":417,"children":418},{"type":311},[],{"type":26,"value":420}," be a valid ",{"type":21,"tag":29,"props":422,"children":424},{"href":423},"/man/VkCommandBuffer",[425],{"type":26,"value":426},"VkCommandBuffer",{"type":26,"value":428}," handle",{"type":21,"tag":288,"props":430,"children":432},{"name":431},"VUID-vkCmdSetAttachmentFeedbackLoopEnableEXT-aspectMask-parameter",[433],{"type":21,"tag":22,"props":434,"children":435},{},[436,441,442,445,447,453],{"type":21,"tag":58,"props":437,"children":439},{"className":438},[],[440],{"type":26,"value":118},{"type":26,"value":268},{"type":21,"tag":38,"props":443,"children":444},{"type":311},[],{"type":26,"value":446}," be a valid combination of ",{"type":21,"tag":29,"props":448,"children":450},{"href":449},"/man/VkImageAspectFlagBits",[451],{"type":26,"value":452},"VkImageAspectFlagBits",{"type":26,"value":454}," values",{"type":21,"tag":288,"props":456,"children":458},{"name":457},"VUID-vkCmdSetAttachmentFeedbackLoopEnableEXT-commandBuffer-recording",[459],{"type":21,"tag":22,"props":460,"children":461},{},[462,467,468,471,473],{"type":21,"tag":58,"props":463,"children":465},{"className":464},[],[466],{"type":26,"value":99},{"type":26,"value":268},{"type":21,"tag":38,"props":469,"children":470},{"type":311},[],{"type":26,"value":472}," be in the ",{"type":21,"tag":29,"props":474,"children":476},{"href":475},"/chapters/commandbuffers#commandbuffers-lifecycle",[477],{"type":26,"value":478},"recording state",{"type":21,"tag":288,"props":480,"children":482},{"name":481},"VUID-vkCmdSetAttachmentFeedbackLoopEnableEXT-commandBuffer-cmdpool",[483],{"type":21,"tag":22,"props":484,"children":485},{},[486,487,493,495,500,502,505],{"type":26,"value":296},{"type":21,"tag":58,"props":488,"children":490},{"className":489},[],[491],{"type":26,"value":492},"VkCommandPool",{"type":26,"value":494}," that ",{"type":21,"tag":58,"props":496,"children":498},{"className":497},[],[499],{"type":26,"value":99},{"type":26,"value":501}," was allocated from ",{"type":21,"tag":38,"props":503,"children":504},{"type":311},[],{"type":26,"value":506}," support graphics operations",{"type":21,"tag":288,"props":508,"children":510},{"name":509},"VUID-vkCmdSetAttachmentFeedbackLoopEnableEXT-videocoding",[511],{"type":21,"tag":22,"props":512,"children":513},{},[514,516,519],{"type":26,"value":515},"This command ",{"type":21,"tag":38,"props":517,"children":518},{"type":311},[],{"type":26,"value":520}," only be called outside of a video coding scope",{"type":21,"tag":522,"props":523,"children":525},"validity-box",{"name":524},"Host Synchronization",[526],{"type":21,"tag":226,"props":527,"children":528},{},[529,545],{"type":21,"tag":230,"props":530,"children":531},{},[532,534,539,540,543],{"type":26,"value":533},"Host access to ",{"type":21,"tag":58,"props":535,"children":537},{"className":536},[],[538],{"type":26,"value":99},{"type":26,"value":268},{"type":21,"tag":38,"props":541,"children":542},{"type":311},[],{"type":26,"value":544}," be externally synchronized",{"type":21,"tag":230,"props":546,"children":547},{},[548,550,555,556,561,562,565],{"type":26,"value":549},"Host access to the ",{"type":21,"tag":58,"props":551,"children":553},{"className":552},[],[554],{"type":26,"value":492},{"type":26,"value":494},{"type":21,"tag":58,"props":557,"children":559},{"className":558},[],[560],{"type":26,"value":99},{"type":26,"value":501},{"type":21,"tag":38,"props":563,"children":564},{"type":311},[],{"type":26,"value":566}," be externally synchronized\n::",{"type":21,"tag":568,"props":569,"children":570},"style",{},[571],{"type":26,"value":572},"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":55,"searchDepth":87,"depth":87,"links":574},[],"markdown",1729612503935]