[{"data":1,"prerenderedAt":843},["ShallowReactive",2],{"FxKvN89kEU":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":842,"_id":4},"VkDeviceQueueCreateInfo","Structure specifying parameters of a newly created device queue","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":840},"root",[12,28,349,481,652,834],{"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,158],{"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 VkDeviceQueueCreateInfo {\n VkStructureType sType;\n const void* pNext;\n VkDeviceQueueCreateFlags flags;\n uint32_t queueFamilyIndex;\n uint32_t queueCount;\n const float* pQueuePriorities;\n} VkDeviceQueueCreateInfo;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,118,131,149],{"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}," VkDeviceQueueCreateInfo {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkDeviceQueueCreateFlags flags;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108,113],{"type":13,"tag":45,"props":109,"children":110},{"style":52},[111],{"type":18,"value":112}," uint32_t",{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117}," queueFamilyIndex;\n",{"type":13,"tag":45,"props":119,"children":121},{"class":47,"line":120},6,[122,126],{"type":13,"tag":45,"props":123,"children":124},{"style":52},[125],{"type":18,"value":112},{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130}," queueCount;\n",{"type":13,"tag":45,"props":132,"children":134},{"class":47,"line":133},7,[135,139,144],{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":84},{"type":13,"tag":45,"props":140,"children":141},{"style":52},[142],{"type":18,"value":143}," float*",{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148}," pQueuePriorities;\n",{"type":13,"tag":45,"props":150,"children":152},{"class":47,"line":151},8,[153],{"type":13,"tag":45,"props":154,"children":155},{"style":63},[156],{"type":18,"value":157},"} VkDeviceQueueCreateInfo;\n",{"type":13,"tag":33,"props":159,"children":164},{"className":160,"code":161,"filename":162,"language":163,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DeviceQueueCreateInfo {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::DeviceQueueCreateFlags,\n queue_family_index: u32,\n queue_count: u32,\n p_queue_priorities: *const f32,\n}\n","Rust","rs",[165],{"type":13,"tag":21,"props":166,"children":167},{"__ignoreMap":39},[168,191,224,246,275,296,316,341],{"type":13,"tag":45,"props":169,"children":170},{"class":47,"line":48},[171,176,180,186],{"type":13,"tag":45,"props":172,"children":173},{"style":52},[174],{"type":18,"value":175},"pub",{"type":13,"tag":45,"props":177,"children":178},{"style":52},[179],{"type":18,"value":60},{"type":13,"tag":45,"props":181,"children":183},{"style":182},"--shiki-default:#953800;--shiki-dark:#FFA657",[184],{"type":18,"value":185}," DeviceQueueCreateInfo",{"type":13,"tag":45,"props":187,"children":188},{"style":63},[189],{"type":18,"value":190}," {\n",{"type":13,"tag":45,"props":192,"children":193},{"class":47,"line":69},[194,199,204,209,214,219],{"type":13,"tag":45,"props":195,"children":196},{"style":63},[197],{"type":18,"value":198}," s_type",{"type":13,"tag":45,"props":200,"children":201},{"style":52},[202],{"type":18,"value":203},":",{"type":13,"tag":45,"props":205,"children":206},{"style":182},[207],{"type":18,"value":208}," vk",{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":213},"::",{"type":13,"tag":45,"props":215,"children":216},{"style":182},[217],{"type":18,"value":218},"StructureType",{"type":13,"tag":45,"props":220,"children":221},{"style":63},[222],{"type":18,"value":223},",\n",{"type":13,"tag":45,"props":225,"children":226},{"class":47,"line":78},[227,232,236,241],{"type":13,"tag":45,"props":228,"children":229},{"style":63},[230],{"type":18,"value":231}," p_next",{"type":13,"tag":45,"props":233,"children":234},{"style":52},[235],{"type":18,"value":203},{"type":13,"tag":45,"props":237,"children":238},{"style":52},[239],{"type":18,"value":240}," *const",{"type":13,"tag":45,"props":242,"children":243},{"style":63},[244],{"type":18,"value":245}," c_void,\n",{"type":13,"tag":45,"props":247,"children":248},{"class":47,"line":97},[249,254,258,262,266,271],{"type":13,"tag":45,"props":250,"children":251},{"style":63},[252],{"type":18,"value":253}," flags",{"type":13,"tag":45,"props":255,"children":256},{"style":52},[257],{"type":18,"value":203},{"type":13,"tag":45,"props":259,"children":260},{"style":182},[261],{"type":18,"value":208},{"type":13,"tag":45,"props":263,"children":264},{"style":52},[265],{"type":18,"value":213},{"type":13,"tag":45,"props":267,"children":268},{"style":182},[269],{"type":18,"value":270},"DeviceQueueCreateFlags",{"type":13,"tag":45,"props":272,"children":273},{"style":63},[274],{"type":18,"value":223},{"type":13,"tag":45,"props":276,"children":277},{"class":47,"line":106},[278,283,287,292],{"type":13,"tag":45,"props":279,"children":280},{"style":63},[281],{"type":18,"value":282}," queue_family_index",{"type":13,"tag":45,"props":284,"children":285},{"style":52},[286],{"type":18,"value":203},{"type":13,"tag":45,"props":288,"children":289},{"style":182},[290],{"type":18,"value":291}," u32",{"type":13,"tag":45,"props":293,"children":294},{"style":63},[295],{"type":18,"value":223},{"type":13,"tag":45,"props":297,"children":298},{"class":47,"line":120},[299,304,308,312],{"type":13,"tag":45,"props":300,"children":301},{"style":63},[302],{"type":18,"value":303}," queue_count",{"type":13,"tag":45,"props":305,"children":306},{"style":52},[307],{"type":18,"value":203},{"type":13,"tag":45,"props":309,"children":310},{"style":182},[311],{"type":18,"value":291},{"type":13,"tag":45,"props":313,"children":314},{"style":63},[315],{"type":18,"value":223},{"type":13,"tag":45,"props":317,"children":318},{"class":47,"line":133},[319,324,328,332,337],{"type":13,"tag":45,"props":320,"children":321},{"style":63},[322],{"type":18,"value":323}," p_queue_priorities",{"type":13,"tag":45,"props":325,"children":326},{"style":52},[327],{"type":18,"value":203},{"type":13,"tag":45,"props":329,"children":330},{"style":52},[331],{"type":18,"value":240},{"type":13,"tag":45,"props":333,"children":334},{"style":182},[335],{"type":18,"value":336}," f32",{"type":13,"tag":45,"props":338,"children":339},{"style":63},[340],{"type":18,"value":223},{"type":13,"tag":45,"props":342,"children":343},{"class":47,"line":151},[344],{"type":13,"tag":45,"props":345,"children":346},{"style":63},[347],{"type":18,"value":348},"}\n",{"type":13,"tag":350,"props":351,"children":352},"ul",{},[353,374,393,404,431,455],{"type":13,"tag":354,"props":355,"children":356},"li",{},[357,363,365,372],{"type":13,"tag":21,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":362},"sType",{"type":18,"value":364}," is a ",{"type":13,"tag":366,"props":367,"children":369},"a",{"href":368},"/man/VkStructureType",[370],{"type":18,"value":371},"VkStructureType",{"type":18,"value":373}," value identifying this structure.",{"type":13,"tag":354,"props":375,"children":376},{},[377,383,385,391],{"type":13,"tag":21,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":382},"pNext",{"type":18,"value":384}," is ",{"type":13,"tag":21,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":390},"NULL",{"type":18,"value":392}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":354,"props":394,"children":395},{},[396,402],{"type":13,"tag":21,"props":397,"children":399},{"className":398},[],[400],{"type":18,"value":401},"flags",{"type":18,"value":403}," is reserved for future use.",{"type":13,"tag":354,"props":405,"children":406},{},[407,413,415,421,423,429],{"type":13,"tag":21,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":412},"queueFamilyIndex",{"type":18,"value":414}," is an unsigned integer indicating the index of\nthe queue family in which to create the queues on this device.\nThis index corresponds to the index of an element of the\n",{"type":13,"tag":21,"props":416,"children":418},{"className":417},[],[419],{"type":18,"value":420},"pQueueFamilyProperties",{"type":18,"value":422}," array that was returned by\n",{"type":13,"tag":21,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":428},"vkGetPhysicalDeviceQueueFamilyProperties",{"type":18,"value":430},".",{"type":13,"tag":354,"props":432,"children":433},{},[434,440,442,447,449,454],{"type":13,"tag":21,"props":435,"children":437},{"className":436},[],[438],{"type":18,"value":439},"queueCount",{"type":18,"value":441}," is an unsigned integer specifying the number of queues\nto create in the queue family indicated by ",{"type":13,"tag":21,"props":443,"children":445},{"className":444},[],[446],{"type":18,"value":412},{"type":18,"value":448},", and\nwith the behavior specified by ",{"type":13,"tag":21,"props":450,"children":452},{"className":451},[],[453],{"type":18,"value":401},{"type":18,"value":430},{"type":13,"tag":354,"props":456,"children":457},{},[458,464,466,471,473,479],{"type":13,"tag":21,"props":459,"children":461},{"className":460},[],[462],{"type":18,"value":463},"pQueuePriorities",{"type":18,"value":465}," is a pointer to an array of ",{"type":13,"tag":21,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":439},{"type":18,"value":472},"\nnormalized floating-point values, specifying priorities of work that\nwill be submitted to each created queue.\nSee ",{"type":13,"tag":366,"props":474,"children":476},{"href":475},"/chapters/devsandqueues#devsandqueues-priority",[477],{"type":18,"value":478},"Queue Priority",{"type":18,"value":480}," for more information.",{"type":13,"tag":482,"props":483,"children":485},"validity-group",{"name":484},"Valid Usage",[486,521,568,604],{"type":13,"tag":487,"props":488,"children":490},"validity-field",{"name":489},"VUID-VkDeviceQueueCreateInfo-queueFamilyIndex-00381",[491],{"type":13,"tag":14,"props":492,"children":493},{},[494,499,501,506,508,514,516],{"type":13,"tag":21,"props":495,"children":497},{"className":496},[],[498],{"type":18,"value":412},{"type":18,"value":500}," ",{"type":13,"tag":502,"props":503,"children":505},"normative",{"type":504},"must",[],{"type":18,"value":507}," be less than\n",{"type":13,"tag":21,"props":509,"children":511},{"className":510},[],[512],{"type":18,"value":513},"pQueueFamilyPropertyCount",{"type":18,"value":515}," returned by\n",{"type":13,"tag":21,"props":517,"children":519},{"className":518},[],[520],{"type":18,"value":428},{"type":13,"tag":487,"props":522,"children":524},{"name":523},"VUID-VkDeviceQueueCreateInfo-queueCount-00382",[525],{"type":13,"tag":14,"props":526,"children":527},{},[528,533,534,537,539,544,546,552,554,559,561,566],{"type":13,"tag":21,"props":529,"children":531},{"className":530},[],[532],{"type":18,"value":439},{"type":18,"value":500},{"type":13,"tag":502,"props":535,"children":536},{"type":504},[],{"type":18,"value":538}," be less than or equal to the ",{"type":13,"tag":21,"props":540,"children":542},{"className":541},[],[543],{"type":18,"value":439},{"type":18,"value":545},"\nmember of the ",{"type":13,"tag":21,"props":547,"children":549},{"className":548},[],[550],{"type":18,"value":551},"VkQueueFamilyProperties",{"type":18,"value":553}," structure, as returned by\n",{"type":13,"tag":21,"props":555,"children":557},{"className":556},[],[558],{"type":18,"value":428},{"type":18,"value":560}," in the\n",{"type":13,"tag":21,"props":562,"children":564},{"className":563},[],[565],{"type":18,"value":420},{"type":18,"value":567},"[queueFamilyIndex]",{"type":13,"tag":487,"props":569,"children":571},{"name":570},"VUID-VkDeviceQueueCreateInfo-pQueuePriorities-00383",[572],{"type":13,"tag":14,"props":573,"children":574},{},[575,577,582,583,586,588,594,596,602],{"type":18,"value":576},"Each element of ",{"type":13,"tag":21,"props":578,"children":580},{"className":579},[],[581],{"type":18,"value":463},{"type":18,"value":500},{"type":13,"tag":502,"props":584,"children":585},{"type":504},[],{"type":18,"value":587}," be between ",{"type":13,"tag":21,"props":589,"children":591},{"className":590},[],[592],{"type":18,"value":593},"0.0",{"type":18,"value":595}," and ",{"type":13,"tag":21,"props":597,"children":599},{"className":598},[],[600],{"type":18,"value":601},"1.0",{"type":18,"value":603},"\ninclusive",{"type":13,"tag":487,"props":605,"children":607},{"name":606},"VUID-VkDeviceQueueCreateInfo-pNext-09398",[608],{"type":13,"tag":14,"props":609,"children":610},{},[611,613,618,620,626,628,634,635,641,644,646],{"type":18,"value":612},"If the ",{"type":13,"tag":21,"props":614,"children":616},{"className":615},[],[617],{"type":18,"value":382},{"type":18,"value":619}," chain includes a\n",{"type":13,"tag":366,"props":621,"children":623},{"href":622},"/man/VkDeviceQueueShaderCoreControlCreateInfoARM",[624],{"type":18,"value":625},"VkDeviceQueueShaderCoreControlCreateInfoARM",{"type":18,"value":627}," structure then\n",{"type":13,"tag":366,"props":629,"children":631},{"href":630},"/man/VkPhysicalDeviceSchedulingControlsPropertiesARM",[632],{"type":18,"value":633},"VkPhysicalDeviceSchedulingControlsPropertiesARM",{"type":18,"value":213},{"type":13,"tag":21,"props":636,"children":638},{"className":637},[],[639],{"type":18,"value":640},"schedulingControlsFlags",{"type":13,"tag":502,"props":642,"children":643},{"type":504},[],{"type":18,"value":645}," contain\n",{"type":13,"tag":21,"props":647,"children":649},{"className":648},[],[650],{"type":18,"value":651},"VK_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_SHADER_CORE_COUNT_ARM",{"type":13,"tag":482,"props":653,"children":655},{"name":654},"Valid Usage (Implicit)",[656,680,727,753,779,810],{"type":13,"tag":487,"props":657,"children":659},{"name":658},"VUID-VkDeviceQueueCreateInfo-sType-sType",[660],{"type":13,"tag":14,"props":661,"children":662},{},[663,668,669,672,674],{"type":13,"tag":21,"props":664,"children":666},{"className":665},[],[667],{"type":18,"value":362},{"type":18,"value":500},{"type":13,"tag":502,"props":670,"children":671},{"type":504},[],{"type":18,"value":673}," be ",{"type":13,"tag":21,"props":675,"children":677},{"className":676},[],[678],{"type":18,"value":679},"VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO",{"type":13,"tag":487,"props":681,"children":683},{"name":682},"VUID-VkDeviceQueueCreateInfo-pNext-pNext",[684],{"type":13,"tag":14,"props":685,"children":686},{},[687,689,694,696,701,703,706,708,713,715,721,723],{"type":18,"value":688},"Each ",{"type":13,"tag":21,"props":690,"children":692},{"className":691},[],[693],{"type":18,"value":382},{"type":18,"value":695}," member of any structure (including this one) in the ",{"type":13,"tag":21,"props":697,"children":699},{"className":698},[],[700],{"type":18,"value":382},{"type":18,"value":702}," chain ",{"type":13,"tag":502,"props":704,"children":705},{"type":504},[],{"type":18,"value":707}," be either ",{"type":13,"tag":21,"props":709,"children":711},{"className":710},[],[712],{"type":18,"value":390},{"type":18,"value":714}," or a pointer to a valid instance of ",{"type":13,"tag":366,"props":716,"children":718},{"href":717},"/man/VkDeviceQueueGlobalPriorityCreateInfoKHR",[719],{"type":18,"value":720},"VkDeviceQueueGlobalPriorityCreateInfoKHR",{"type":18,"value":722}," or ",{"type":13,"tag":366,"props":724,"children":725},{"href":622},[726],{"type":18,"value":625},{"type":13,"tag":487,"props":728,"children":730},{"name":729},"VUID-VkDeviceQueueCreateInfo-sType-unique",[731],{"type":13,"tag":14,"props":732,"children":733},{},[734,735,740,742,747,748,751],{"type":18,"value":19},{"type":13,"tag":21,"props":736,"children":738},{"className":737},[],[739],{"type":18,"value":362},{"type":18,"value":741}," value of each struct in the ",{"type":13,"tag":21,"props":743,"children":745},{"className":744},[],[746],{"type":18,"value":382},{"type":18,"value":702},{"type":13,"tag":502,"props":749,"children":750},{"type":504},[],{"type":18,"value":752}," be unique",{"type":13,"tag":487,"props":754,"children":756},{"name":755},"VUID-VkDeviceQueueCreateInfo-flags-parameter",[757],{"type":13,"tag":14,"props":758,"children":759},{},[760,765,766,769,771,777],{"type":13,"tag":21,"props":761,"children":763},{"className":762},[],[764],{"type":18,"value":401},{"type":18,"value":500},{"type":13,"tag":502,"props":767,"children":768},{"type":504},[],{"type":18,"value":770}," be a valid combination of ",{"type":13,"tag":366,"props":772,"children":774},{"href":773},"/man/VkDeviceQueueCreateFlagBits",[775],{"type":18,"value":776},"VkDeviceQueueCreateFlagBits",{"type":18,"value":778}," values",{"type":13,"tag":487,"props":780,"children":782},{"name":781},"VUID-VkDeviceQueueCreateInfo-pQueuePriorities-parameter",[783],{"type":13,"tag":14,"props":784,"children":785},{},[786,791,792,795,797,802,803,809],{"type":13,"tag":21,"props":787,"children":789},{"className":788},[],[790],{"type":18,"value":463},{"type":18,"value":500},{"type":13,"tag":502,"props":793,"children":794},{"type":504},[],{"type":18,"value":796}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":798,"children":800},{"className":799},[],[801],{"type":18,"value":439},{"type":18,"value":500},{"type":13,"tag":21,"props":804,"children":806},{"className":805},[],[807],{"type":18,"value":808},"float",{"type":18,"value":778},{"type":13,"tag":487,"props":811,"children":813},{"name":812},"VUID-VkDeviceQueueCreateInfo-queueCount-arraylength",[814],{"type":13,"tag":14,"props":815,"children":816},{},[817,822,823,826,828],{"type":13,"tag":21,"props":818,"children":820},{"className":819},[],[821],{"type":18,"value":439},{"type":18,"value":500},{"type":13,"tag":502,"props":824,"children":825},{"type":504},[],{"type":18,"value":827}," be greater than ",{"type":13,"tag":21,"props":829,"children":831},{"className":830},[],[832],{"type":18,"value":833},"0",{"type":13,"tag":835,"props":836,"children":837},"style",{},[838],{"type":18,"value":839},"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":841},[],"markdown",1725732549345]