[{"data":1,"prerenderedAt":406},["ShallowReactive",2],{"LBdjt7nr02":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":405,"_id":4},"VkDeviceQueueShaderCoreControlCreateInfoARM","Control the number of shader cores used by queues","VK_ARM_scheduling_controls","structs",[],{"type":10,"children":11,"toc":403},"root",[12,52,64,266,319,331,369,397],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,33,35,41,43,50],{"type":18,"value":19},"text","The number of shader cores used by a queue ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be controlled by adding a\n",{"type":13,"tag":28,"props":29,"children":31},"code",{"className":30},[],[32],{"type":18,"value":4},{"type":18,"value":34}," structure to the\n",{"type":13,"tag":28,"props":36,"children":38},{"className":37},[],[39],{"type":18,"value":40},"pNext",{"type":18,"value":42}," chain of ",{"type":13,"tag":44,"props":45,"children":47},"a",{"href":46},"/man/VkDeviceQueueCreateInfo",[48],{"type":18,"value":49},"VkDeviceQueueCreateInfo",{"type":18,"value":51}," structures.",{"type":13,"tag":14,"props":53,"children":54},{},[55,57,62],{"type":18,"value":56},"The ",{"type":13,"tag":28,"props":58,"children":60},{"className":59},[],[61],{"type":18,"value":4},{"type":18,"value":63}," structure is defined\nas:",{"type":13,"tag":65,"props":66,"children":67},"code-group",{},[68,149],{"type":13,"tag":69,"props":70,"children":76},"pre",{"className":71,"code":72,"filename":73,"language":74,"meta":75,"style":75},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkDeviceQueueShaderCoreControlCreateInfoARM {\n VkStructureType sType;\n void* pNext;\n uint32_t shaderCoreCount;\n} VkDeviceQueueShaderCoreControlCreateInfoARM;\n","C","c","",[77],{"type":13,"tag":28,"props":78,"children":79},{"__ignoreMap":75},[80,103,112,126,140],{"type":13,"tag":81,"props":82,"children":85},"span",{"class":83,"line":84},"line",1,[86,92,97],{"type":13,"tag":81,"props":87,"children":89},{"style":88},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[90],{"type":18,"value":91},"typedef",{"type":13,"tag":81,"props":93,"children":94},{"style":88},[95],{"type":18,"value":96}," struct",{"type":13,"tag":81,"props":98,"children":100},{"style":99},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[101],{"type":18,"value":102}," VkDeviceQueueShaderCoreControlCreateInfoARM {\n",{"type":13,"tag":81,"props":104,"children":106},{"class":83,"line":105},2,[107],{"type":13,"tag":81,"props":108,"children":109},{"style":99},[110],{"type":18,"value":111}," VkStructureType sType;\n",{"type":13,"tag":81,"props":113,"children":115},{"class":83,"line":114},3,[116,121],{"type":13,"tag":81,"props":117,"children":118},{"style":88},[119],{"type":18,"value":120}," void*",{"type":13,"tag":81,"props":122,"children":123},{"style":99},[124],{"type":18,"value":125}," pNext;\n",{"type":13,"tag":81,"props":127,"children":129},{"class":83,"line":128},4,[130,135],{"type":13,"tag":81,"props":131,"children":132},{"style":88},[133],{"type":18,"value":134}," uint32_t",{"type":13,"tag":81,"props":136,"children":137},{"style":99},[138],{"type":18,"value":139}," shaderCoreCount;\n",{"type":13,"tag":81,"props":141,"children":143},{"class":83,"line":142},5,[144],{"type":13,"tag":81,"props":145,"children":146},{"style":99},[147],{"type":18,"value":148},"} VkDeviceQueueShaderCoreControlCreateInfoARM;\n",{"type":13,"tag":69,"props":150,"children":155},{"className":151,"code":152,"filename":153,"language":154,"meta":75,"style":75},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DeviceQueueShaderCoreControlCreateInfoARM {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n shader_core_count: u32,\n}\n","Rust","rs",[156],{"type":13,"tag":28,"props":157,"children":158},{"__ignoreMap":75},[159,182,215,237,258],{"type":13,"tag":81,"props":160,"children":161},{"class":83,"line":84},[162,167,171,177],{"type":13,"tag":81,"props":163,"children":164},{"style":88},[165],{"type":18,"value":166},"pub",{"type":13,"tag":81,"props":168,"children":169},{"style":88},[170],{"type":18,"value":96},{"type":13,"tag":81,"props":172,"children":174},{"style":173},"--shiki-default:#953800;--shiki-dark:#FFA657",[175],{"type":18,"value":176}," DeviceQueueShaderCoreControlCreateInfoARM",{"type":13,"tag":81,"props":178,"children":179},{"style":99},[180],{"type":18,"value":181}," {\n",{"type":13,"tag":81,"props":183,"children":184},{"class":83,"line":105},[185,190,195,200,205,210],{"type":13,"tag":81,"props":186,"children":187},{"style":99},[188],{"type":18,"value":189}," s_type",{"type":13,"tag":81,"props":191,"children":192},{"style":88},[193],{"type":18,"value":194},":",{"type":13,"tag":81,"props":196,"children":197},{"style":173},[198],{"type":18,"value":199}," vk",{"type":13,"tag":81,"props":201,"children":202},{"style":88},[203],{"type":18,"value":204},"::",{"type":13,"tag":81,"props":206,"children":207},{"style":173},[208],{"type":18,"value":209},"StructureType",{"type":13,"tag":81,"props":211,"children":212},{"style":99},[213],{"type":18,"value":214},",\n",{"type":13,"tag":81,"props":216,"children":217},{"class":83,"line":114},[218,223,227,232],{"type":13,"tag":81,"props":219,"children":220},{"style":99},[221],{"type":18,"value":222}," p_next",{"type":13,"tag":81,"props":224,"children":225},{"style":88},[226],{"type":18,"value":194},{"type":13,"tag":81,"props":228,"children":229},{"style":88},[230],{"type":18,"value":231}," *mut",{"type":13,"tag":81,"props":233,"children":234},{"style":99},[235],{"type":18,"value":236}," c_void,\n",{"type":13,"tag":81,"props":238,"children":239},{"class":83,"line":128},[240,245,249,254],{"type":13,"tag":81,"props":241,"children":242},{"style":99},[243],{"type":18,"value":244}," shader_core_count",{"type":13,"tag":81,"props":246,"children":247},{"style":88},[248],{"type":18,"value":194},{"type":13,"tag":81,"props":250,"children":251},{"style":173},[252],{"type":18,"value":253}," u32",{"type":13,"tag":81,"props":255,"children":256},{"style":99},[257],{"type":18,"value":214},{"type":13,"tag":81,"props":259,"children":260},{"class":83,"line":142},[261],{"type":13,"tag":81,"props":262,"children":263},{"style":99},[264],{"type":18,"value":265},"}\n",{"type":13,"tag":267,"props":268,"children":269},"ul",{},[270,290,308],{"type":13,"tag":271,"props":272,"children":273},"li",{},[274,280,282,288],{"type":13,"tag":28,"props":275,"children":277},{"className":276},[],[278],{"type":18,"value":279},"sType",{"type":18,"value":281}," is a ",{"type":13,"tag":44,"props":283,"children":285},{"href":284},"/man/VkStructureType",[286],{"type":18,"value":287},"VkStructureType",{"type":18,"value":289}," value identifying this structure.",{"type":13,"tag":271,"props":291,"children":292},{},[293,298,300,306],{"type":13,"tag":28,"props":294,"children":296},{"className":295},[],[297],{"type":18,"value":40},{"type":18,"value":299}," is ",{"type":13,"tag":28,"props":301,"children":303},{"className":302},[],[304],{"type":18,"value":305},"NULL",{"type":18,"value":307}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":271,"props":309,"children":310},{},[311,317],{"type":13,"tag":28,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"shaderCoreCount",{"type":18,"value":318}," is the number of shader cores this queue uses.",{"type":13,"tag":14,"props":320,"children":321},{},[322,324,329],{"type":18,"value":323},"Queues created without specifying\n",{"type":13,"tag":28,"props":325,"children":327},{"className":326},[],[328],{"type":18,"value":4},{"type":18,"value":330}," will default to using all\nthe shader cores available.",{"type":13,"tag":332,"props":333,"children":335},"validity-group",{"name":334},"Valid Usage",[336],{"type":13,"tag":337,"props":338,"children":340},"validity-field",{"name":339},"VUID-VkDeviceQueueShaderCoreControlCreateInfoARM-shaderCoreCount-09399",[341],{"type":13,"tag":14,"props":342,"children":343},{},[344,349,351,355,357,363,364],{"type":13,"tag":28,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":316},{"type":18,"value":350}," ",{"type":13,"tag":21,"props":352,"children":354},{"type":353},"must",[],{"type":18,"value":356}," be greater than 0 and less than or equal to\nthe total number of shader cores as reported via\n",{"type":13,"tag":44,"props":358,"children":360},{"href":359},"/man/VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM",[361],{"type":18,"value":362},"VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM",{"type":18,"value":204},{"type":13,"tag":28,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":316},{"type":13,"tag":332,"props":370,"children":372},{"name":371},"Valid Usage (Implicit)",[373],{"type":13,"tag":337,"props":374,"children":376},{"name":375},"VUID-VkDeviceQueueShaderCoreControlCreateInfoARM-sType-sType",[377],{"type":13,"tag":14,"props":378,"children":379},{},[380,385,386,389,391],{"type":13,"tag":28,"props":381,"children":383},{"className":382},[],[384],{"type":18,"value":279},{"type":18,"value":350},{"type":13,"tag":21,"props":387,"children":388},{"type":353},[],{"type":18,"value":390}," be ",{"type":13,"tag":28,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":396},"VK_STRUCTURE_TYPE_DEVICE_QUEUE_SHADER_CORE_CONTROL_CREATE_INFO_ARM",{"type":13,"tag":398,"props":399,"children":400},"style",{},[401],{"type":18,"value":402},"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":75,"searchDepth":105,"depth":105,"links":404},[],"markdown",1725732549414]