[{"data":1,"prerenderedAt":601},["ShallowReactive",2],{"v9ohqgnRaB":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":600,"_id":4},"VkQueueFlagBits","Bitmask specifying capabilities of queues in a queue family","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":598},"root",[12,45,425,535,545,580,592],{"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},"may",[],{"type":18,"value":26}," be set in ",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkQueueFamilyProperties",[32],{"type":18,"value":33},"VkQueueFamilyProperties",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"queueFlags",{"type":18,"value":44},",\nindicating capabilities of queues in a queue family are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,201],{"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 VkQueueFlagBits {\n VK_QUEUE_GRAPHICS_BIT = 0x00000001,\n VK_QUEUE_COMPUTE_BIT = 0x00000002,\n VK_QUEUE_TRANSFER_BIT = 0x00000004,\n VK_QUEUE_SPARSE_BINDING_BIT = 0x00000008,\n} VkQueueFlagBits;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,114,140,166,192],{"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}," VkQueueFlagBits {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88,93,98,103,109],{"type":13,"tag":62,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VK_QUEUE_GRAPHICS_BIT ",{"type":13,"tag":62,"props":94,"children":95},{"style":69},[96],{"type":18,"value":97},"=",{"type":13,"tag":62,"props":99,"children":100},{"style":69},[101],{"type":18,"value":102}," 0x",{"type":13,"tag":62,"props":104,"children":106},{"style":105},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[107],{"type":18,"value":108},"00000001",{"type":13,"tag":62,"props":110,"children":111},{"style":80},[112],{"type":18,"value":113},",\n",{"type":13,"tag":62,"props":115,"children":117},{"class":64,"line":116},3,[118,123,127,131,136],{"type":13,"tag":62,"props":119,"children":120},{"style":80},[121],{"type":18,"value":122}," VK_QUEUE_COMPUTE_BIT ",{"type":13,"tag":62,"props":124,"children":125},{"style":69},[126],{"type":18,"value":97},{"type":13,"tag":62,"props":128,"children":129},{"style":69},[130],{"type":18,"value":102},{"type":13,"tag":62,"props":132,"children":133},{"style":105},[134],{"type":18,"value":135},"00000002",{"type":13,"tag":62,"props":137,"children":138},{"style":80},[139],{"type":18,"value":113},{"type":13,"tag":62,"props":141,"children":143},{"class":64,"line":142},4,[144,149,153,157,162],{"type":13,"tag":62,"props":145,"children":146},{"style":80},[147],{"type":18,"value":148}," VK_QUEUE_TRANSFER_BIT ",{"type":13,"tag":62,"props":150,"children":151},{"style":69},[152],{"type":18,"value":97},{"type":13,"tag":62,"props":154,"children":155},{"style":69},[156],{"type":18,"value":102},{"type":13,"tag":62,"props":158,"children":159},{"style":105},[160],{"type":18,"value":161},"00000004",{"type":13,"tag":62,"props":163,"children":164},{"style":80},[165],{"type":18,"value":113},{"type":13,"tag":62,"props":167,"children":169},{"class":64,"line":168},5,[170,175,179,183,188],{"type":13,"tag":62,"props":171,"children":172},{"style":80},[173],{"type":18,"value":174}," VK_QUEUE_SPARSE_BINDING_BIT ",{"type":13,"tag":62,"props":176,"children":177},{"style":69},[178],{"type":18,"value":97},{"type":13,"tag":62,"props":180,"children":181},{"style":69},[182],{"type":18,"value":102},{"type":13,"tag":62,"props":184,"children":185},{"style":105},[186],{"type":18,"value":187},"00000008",{"type":13,"tag":62,"props":189,"children":190},{"style":80},[191],{"type":18,"value":113},{"type":13,"tag":62,"props":193,"children":195},{"class":64,"line":194},6,[196],{"type":13,"tag":62,"props":197,"children":198},{"style":80},[199],{"type":18,"value":200},"} VkQueueFlagBits;\n",{"type":13,"tag":50,"props":202,"children":207},{"className":203,"code":204,"filename":205,"language":206,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct QueueFlagBits(u32);\nimpl QueueFlagBits {\n pub const GRAPHICS: Self = 0x00000001;\n pub const COMPUTE: Self = 0x00000002;\n pub const TRANSFER: Self = 0x00000004;\n pub const SPARSE_BINDING: Self = 0x00000008;\n}\n","Rust","rs",[208],{"type":13,"tag":37,"props":209,"children":210},{"__ignoreMap":56},[211,245,262,305,342,379,416],{"type":13,"tag":62,"props":212,"children":213},{"class":64,"line":65},[214,219,224,230,235,240],{"type":13,"tag":62,"props":215,"children":216},{"style":69},[217],{"type":18,"value":218},"pub",{"type":13,"tag":62,"props":220,"children":221},{"style":69},[222],{"type":18,"value":223}," struct",{"type":13,"tag":62,"props":225,"children":227},{"style":226},"--shiki-default:#953800;--shiki-dark:#FFA657",[228],{"type":18,"value":229}," QueueFlagBits",{"type":13,"tag":62,"props":231,"children":232},{"style":80},[233],{"type":18,"value":234},"(",{"type":13,"tag":62,"props":236,"children":237},{"style":226},[238],{"type":18,"value":239},"u32",{"type":13,"tag":62,"props":241,"children":242},{"style":80},[243],{"type":18,"value":244},");\n",{"type":13,"tag":62,"props":246,"children":247},{"class":64,"line":86},[248,253,257],{"type":13,"tag":62,"props":249,"children":250},{"style":69},[251],{"type":18,"value":252},"impl",{"type":13,"tag":62,"props":254,"children":255},{"style":226},[256],{"type":18,"value":229},{"type":13,"tag":62,"props":258,"children":259},{"style":80},[260],{"type":18,"value":261}," {\n",{"type":13,"tag":62,"props":263,"children":264},{"class":64,"line":116},[265,270,275,280,285,290,295,300],{"type":13,"tag":62,"props":266,"children":267},{"style":69},[268],{"type":18,"value":269}," pub",{"type":13,"tag":62,"props":271,"children":272},{"style":69},[273],{"type":18,"value":274}," const",{"type":13,"tag":62,"props":276,"children":277},{"style":105},[278],{"type":18,"value":279}," GRAPHICS",{"type":13,"tag":62,"props":281,"children":282},{"style":69},[283],{"type":18,"value":284},":",{"type":13,"tag":62,"props":286,"children":287},{"style":105},[288],{"type":18,"value":289}," Self",{"type":13,"tag":62,"props":291,"children":292},{"style":69},[293],{"type":18,"value":294}," =",{"type":13,"tag":62,"props":296,"children":297},{"style":105},[298],{"type":18,"value":299}," 0x00000001",{"type":13,"tag":62,"props":301,"children":302},{"style":80},[303],{"type":18,"value":304},";\n",{"type":13,"tag":62,"props":306,"children":307},{"class":64,"line":142},[308,312,316,321,325,329,333,338],{"type":13,"tag":62,"props":309,"children":310},{"style":69},[311],{"type":18,"value":269},{"type":13,"tag":62,"props":313,"children":314},{"style":69},[315],{"type":18,"value":274},{"type":13,"tag":62,"props":317,"children":318},{"style":105},[319],{"type":18,"value":320}," COMPUTE",{"type":13,"tag":62,"props":322,"children":323},{"style":69},[324],{"type":18,"value":284},{"type":13,"tag":62,"props":326,"children":327},{"style":105},[328],{"type":18,"value":289},{"type":13,"tag":62,"props":330,"children":331},{"style":69},[332],{"type":18,"value":294},{"type":13,"tag":62,"props":334,"children":335},{"style":105},[336],{"type":18,"value":337}," 0x00000002",{"type":13,"tag":62,"props":339,"children":340},{"style":80},[341],{"type":18,"value":304},{"type":13,"tag":62,"props":343,"children":344},{"class":64,"line":168},[345,349,353,358,362,366,370,375],{"type":13,"tag":62,"props":346,"children":347},{"style":69},[348],{"type":18,"value":269},{"type":13,"tag":62,"props":350,"children":351},{"style":69},[352],{"type":18,"value":274},{"type":13,"tag":62,"props":354,"children":355},{"style":105},[356],{"type":18,"value":357}," TRANSFER",{"type":13,"tag":62,"props":359,"children":360},{"style":69},[361],{"type":18,"value":284},{"type":13,"tag":62,"props":363,"children":364},{"style":105},[365],{"type":18,"value":289},{"type":13,"tag":62,"props":367,"children":368},{"style":69},[369],{"type":18,"value":294},{"type":13,"tag":62,"props":371,"children":372},{"style":105},[373],{"type":18,"value":374}," 0x00000004",{"type":13,"tag":62,"props":376,"children":377},{"style":80},[378],{"type":18,"value":304},{"type":13,"tag":62,"props":380,"children":381},{"class":64,"line":194},[382,386,390,395,399,403,407,412],{"type":13,"tag":62,"props":383,"children":384},{"style":69},[385],{"type":18,"value":269},{"type":13,"tag":62,"props":387,"children":388},{"style":69},[389],{"type":18,"value":274},{"type":13,"tag":62,"props":391,"children":392},{"style":105},[393],{"type":18,"value":394}," SPARSE_BINDING",{"type":13,"tag":62,"props":396,"children":397},{"style":69},[398],{"type":18,"value":284},{"type":13,"tag":62,"props":400,"children":401},{"style":105},[402],{"type":18,"value":289},{"type":13,"tag":62,"props":404,"children":405},{"style":69},[406],{"type":18,"value":294},{"type":13,"tag":62,"props":408,"children":409},{"style":105},[410],{"type":18,"value":411}," 0x00000008",{"type":13,"tag":62,"props":413,"children":414},{"style":80},[415],{"type":18,"value":304},{"type":13,"tag":62,"props":417,"children":419},{"class":64,"line":418},7,[420],{"type":13,"tag":62,"props":421,"children":422},{"style":80},[423],{"type":18,"value":424},"}\n",{"type":13,"tag":426,"props":427,"children":428},"ul",{},[429,441,452,463,488,507,524],{"type":13,"tag":430,"props":431,"children":432},"li",{},[433,439],{"type":13,"tag":37,"props":434,"children":436},{"className":435},[],[437],{"type":18,"value":438},"VK_QUEUE_GRAPHICS_BIT",{"type":18,"value":440}," specifies that queues in this queue family\nsupport graphics operations.",{"type":13,"tag":430,"props":442,"children":443},{},[444,450],{"type":13,"tag":37,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":449},"VK_QUEUE_COMPUTE_BIT",{"type":18,"value":451}," specifies that queues in this queue family\nsupport compute operations.",{"type":13,"tag":430,"props":453,"children":454},{},[455,461],{"type":13,"tag":37,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":460},"VK_QUEUE_TRANSFER_BIT",{"type":18,"value":462}," specifies that queues in this queue family\nsupport transfer operations.",{"type":13,"tag":430,"props":464,"children":465},{},[466,472,474,480,482,486],{"type":13,"tag":37,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":471},"VK_QUEUE_SPARSE_BINDING_BIT",{"type":18,"value":473}," specifies that queues in this queue\nfamily support sparse memory management operations (see\n",{"type":13,"tag":28,"props":475,"children":477},{"href":476},"/chapters/sparsememory#sparsememory",[478],{"type":18,"value":479},"Sparse Resources",{"type":18,"value":481},").\nIf any of the sparse resource features are enabled, then at least one\nqueue family ",{"type":13,"tag":21,"props":483,"children":485},{"type":484},"must",[],{"type":18,"value":487}," support this bit.",{"type":13,"tag":430,"props":489,"children":490},{},[491,497,499,505],{"type":13,"tag":37,"props":492,"children":494},{"className":493},[],[495],{"type":18,"value":496},"VK_QUEUE_VIDEO_DECODE_BIT_KHR",{"type":18,"value":498}," specifies that queues in this queue\nfamily support ",{"type":13,"tag":28,"props":500,"children":502},{"href":501},"/chapters/video-coding#video-decode-operations",[503],{"type":18,"value":504},"video decode operations",{"type":18,"value":506},".",{"type":13,"tag":430,"props":508,"children":509},{},[510,516,517,523],{"type":13,"tag":37,"props":511,"children":513},{"className":512},[],[514],{"type":18,"value":515},"VK_QUEUE_VIDEO_ENCODE_BIT_KHR",{"type":18,"value":498},{"type":13,"tag":28,"props":518,"children":520},{"href":519},"/chapters/video-coding#video-encode-operations",[521],{"type":18,"value":522},"video encode operations",{"type":18,"value":506},{"type":13,"tag":430,"props":525,"children":526},{},[527,533],{"type":13,"tag":37,"props":528,"children":530},{"className":529},[],[531],{"type":18,"value":532},"VK_QUEUE_OPTICAL_FLOW_BIT_NV",{"type":18,"value":534}," specifies that queues in this queue\nfamily support optical flow operations.",{"type":13,"tag":14,"props":536,"children":537},{},[538,540,543],{"type":18,"value":539},"If an implementation exposes any queue family that supports graphics\noperations, at least one queue family of at least one physical device\nexposed by the implementation ",{"type":13,"tag":21,"props":541,"children":542},{"type":484},[],{"type":18,"value":544}," support both graphics and compute\noperations.",{"type":13,"tag":546,"props":547,"children":548},"note",{},[549],{"type":13,"tag":14,"props":550,"children":551},{},[552,554,559,561,566,568,573,575,579],{"type":18,"value":553},"All commands that are allowed on a queue that supports transfer operations\nare also allowed on a queue that supports either graphics or compute\noperations.\nThus, if the capabilities of a queue family include\n",{"type":13,"tag":37,"props":555,"children":557},{"className":556},[],[558],{"type":18,"value":438},{"type":18,"value":560}," or ",{"type":13,"tag":37,"props":562,"children":564},{"className":563},[],[565],{"type":18,"value":449},{"type":18,"value":567},", then reporting\nthe ",{"type":13,"tag":37,"props":569,"children":571},{"className":570},[],[572],{"type":18,"value":460},{"type":18,"value":574}," capability separately for that queue family\nis ",{"type":13,"tag":21,"props":576,"children":578},{"type":577},"optional",[],{"type":18,"value":506},{"type":13,"tag":14,"props":581,"children":582},{},[583,585,591],{"type":18,"value":584},"For further details see ",{"type":13,"tag":28,"props":586,"children":588},{"href":587},"/chapters/devsandqueues#devsandqueues-queues",[589],{"type":18,"value":590},"Queues",{"type":18,"value":506},{"type":13,"tag":593,"props":594,"children":595},"style",{},[596],{"type":18,"value":597},"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":599},[],"markdown",1725732582016]