[{"data":1,"prerenderedAt":517},["ShallowReactive",2],{"$faYfG_n0d9pqJRiU0P-0Yn_sLBab0AbO8uWOZC70qTl0":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":10,"_type":516,"_id":4},"VkDispatchParametersARM","Structure specifying parameters that affect dispatch commands","VK_ARM_scheduling_controls","structs",[9],"vkCmdSetDispatchParametersARM",{"type":11,"children":12,"toc":514},"root",[13,29,297,357,455,508],{"type":14,"tag":15,"props":16,"children":17},"element","p",{},[18,21,27],{"type":19,"value":20},"text","The ",{"type":14,"tag":22,"props":23,"children":25},"code",{"className":24},[],[26],{"type":19,"value":4},{"type":19,"value":28}," structure is defined as:",{"type":14,"tag":30,"props":31,"children":32},"code-group",{},[33,140],{"type":14,"tag":34,"props":35,"children":41},"pre",{"className":36,"code":37,"filename":38,"language":39,"meta":40,"style":40},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkDispatchParametersARM {\n VkStructureType sType;\n void* pNext;\n uint32_t workGroupBatchSize;\n uint32_t maxQueuedWorkGroupBatches;\n uint32_t maxWarpsPerShaderCore;\n} VkDispatchParametersARM;\n","C","c","",[42],{"type":14,"tag":22,"props":43,"children":44},{"__ignoreMap":40},[45,68,77,91,105,118,131],{"type":14,"tag":46,"props":47,"children":50},"span",{"class":48,"line":49},"line",1,[51,57,62],{"type":14,"tag":46,"props":52,"children":54},{"style":53},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[55],{"type":19,"value":56},"typedef",{"type":14,"tag":46,"props":58,"children":59},{"style":53},[60],{"type":19,"value":61}," struct",{"type":14,"tag":46,"props":63,"children":65},{"style":64},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[66],{"type":19,"value":67}," VkDispatchParametersARM {\n",{"type":14,"tag":46,"props":69,"children":71},{"class":48,"line":70},2,[72],{"type":14,"tag":46,"props":73,"children":74},{"style":64},[75],{"type":19,"value":76}," VkStructureType sType;\n",{"type":14,"tag":46,"props":78,"children":80},{"class":48,"line":79},3,[81,86],{"type":14,"tag":46,"props":82,"children":83},{"style":53},[84],{"type":19,"value":85}," void*",{"type":14,"tag":46,"props":87,"children":88},{"style":64},[89],{"type":19,"value":90}," pNext;\n",{"type":14,"tag":46,"props":92,"children":94},{"class":48,"line":93},4,[95,100],{"type":14,"tag":46,"props":96,"children":97},{"style":53},[98],{"type":19,"value":99}," uint32_t",{"type":14,"tag":46,"props":101,"children":102},{"style":64},[103],{"type":19,"value":104}," workGroupBatchSize;\n",{"type":14,"tag":46,"props":106,"children":108},{"class":48,"line":107},5,[109,113],{"type":14,"tag":46,"props":110,"children":111},{"style":53},[112],{"type":19,"value":99},{"type":14,"tag":46,"props":114,"children":115},{"style":64},[116],{"type":19,"value":117}," maxQueuedWorkGroupBatches;\n",{"type":14,"tag":46,"props":119,"children":121},{"class":48,"line":120},6,[122,126],{"type":14,"tag":46,"props":123,"children":124},{"style":53},[125],{"type":19,"value":99},{"type":14,"tag":46,"props":127,"children":128},{"style":64},[129],{"type":19,"value":130}," maxWarpsPerShaderCore;\n",{"type":14,"tag":46,"props":132,"children":134},{"class":48,"line":133},7,[135],{"type":14,"tag":46,"props":136,"children":137},{"style":64},[138],{"type":19,"value":139},"} VkDispatchParametersARM;\n",{"type":14,"tag":34,"props":141,"children":146},{"className":142,"code":143,"filename":144,"language":145,"meta":40,"style":40},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DispatchParametersARM {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n work_group_batch_size: u32,\n max_queued_work_group_batches: u32,\n max_warps_per_shader_core: u32,\n}\n","Rust","rs",[147],{"type":14,"tag":22,"props":148,"children":149},{"__ignoreMap":40},[150,173,206,228,249,269,289],{"type":14,"tag":46,"props":151,"children":152},{"class":48,"line":49},[153,158,162,168],{"type":14,"tag":46,"props":154,"children":155},{"style":53},[156],{"type":19,"value":157},"pub",{"type":14,"tag":46,"props":159,"children":160},{"style":53},[161],{"type":19,"value":61},{"type":14,"tag":46,"props":163,"children":165},{"style":164},"--shiki-default:#953800;--shiki-dark:#FFA657",[166],{"type":19,"value":167}," DispatchParametersARM",{"type":14,"tag":46,"props":169,"children":170},{"style":64},[171],{"type":19,"value":172}," {\n",{"type":14,"tag":46,"props":174,"children":175},{"class":48,"line":70},[176,181,186,191,196,201],{"type":14,"tag":46,"props":177,"children":178},{"style":64},[179],{"type":19,"value":180}," s_type",{"type":14,"tag":46,"props":182,"children":183},{"style":53},[184],{"type":19,"value":185},":",{"type":14,"tag":46,"props":187,"children":188},{"style":164},[189],{"type":19,"value":190}," vk",{"type":14,"tag":46,"props":192,"children":193},{"style":53},[194],{"type":19,"value":195},"::",{"type":14,"tag":46,"props":197,"children":198},{"style":164},[199],{"type":19,"value":200},"StructureType",{"type":14,"tag":46,"props":202,"children":203},{"style":64},[204],{"type":19,"value":205},",\n",{"type":14,"tag":46,"props":207,"children":208},{"class":48,"line":79},[209,214,218,223],{"type":14,"tag":46,"props":210,"children":211},{"style":64},[212],{"type":19,"value":213}," p_next",{"type":14,"tag":46,"props":215,"children":216},{"style":53},[217],{"type":19,"value":185},{"type":14,"tag":46,"props":219,"children":220},{"style":53},[221],{"type":19,"value":222}," *mut",{"type":14,"tag":46,"props":224,"children":225},{"style":64},[226],{"type":19,"value":227}," c_void,\n",{"type":14,"tag":46,"props":229,"children":230},{"class":48,"line":93},[231,236,240,245],{"type":14,"tag":46,"props":232,"children":233},{"style":64},[234],{"type":19,"value":235}," work_group_batch_size",{"type":14,"tag":46,"props":237,"children":238},{"style":53},[239],{"type":19,"value":185},{"type":14,"tag":46,"props":241,"children":242},{"style":164},[243],{"type":19,"value":244}," u32",{"type":14,"tag":46,"props":246,"children":247},{"style":64},[248],{"type":19,"value":205},{"type":14,"tag":46,"props":250,"children":251},{"class":48,"line":107},[252,257,261,265],{"type":14,"tag":46,"props":253,"children":254},{"style":64},[255],{"type":19,"value":256}," max_queued_work_group_batches",{"type":14,"tag":46,"props":258,"children":259},{"style":53},[260],{"type":19,"value":185},{"type":14,"tag":46,"props":262,"children":263},{"style":164},[264],{"type":19,"value":244},{"type":14,"tag":46,"props":266,"children":267},{"style":64},[268],{"type":19,"value":205},{"type":14,"tag":46,"props":270,"children":271},{"class":48,"line":120},[272,277,281,285],{"type":14,"tag":46,"props":273,"children":274},{"style":64},[275],{"type":19,"value":276}," max_warps_per_shader_core",{"type":14,"tag":46,"props":278,"children":279},{"style":53},[280],{"type":19,"value":185},{"type":14,"tag":46,"props":282,"children":283},{"style":164},[284],{"type":19,"value":244},{"type":14,"tag":46,"props":286,"children":287},{"style":64},[288],{"type":19,"value":205},{"type":14,"tag":46,"props":290,"children":291},{"class":48,"line":133},[292],{"type":14,"tag":46,"props":293,"children":294},{"style":64},[295],{"type":19,"value":296},"}\n",{"type":14,"tag":298,"props":299,"children":300},"ul",{},[301,313,336],{"type":14,"tag":302,"props":303,"children":304},"li",{},[305,311],{"type":14,"tag":22,"props":306,"children":308},{"className":307},[],[309],{"type":19,"value":310},"workGroupBatchSize",{"type":19,"value":312},", if it is not 0, is the number of workgroups in\neach batch distributed to shader cores.\nOtherwise, the implementation selects the number of workgroups in each\nbatch.",{"type":14,"tag":302,"props":314,"children":315},{},[316,322,324,329,331,334],{"type":14,"tag":22,"props":317,"children":319},{"className":318},[],[320],{"type":19,"value":321},"maxQueuedWorkGroupBatches",{"type":19,"value":323},", if it is not 0, is the maximum number\nof workgroup batches that shader cores ",{"type":14,"tag":325,"props":326,"children":328},"normative",{"type":327},"may",[],{"type":19,"value":330}," queue.\nOtherwise, the implementation selects the maximum number of workgroup\nbatches that shader cores ",{"type":14,"tag":325,"props":332,"children":333},{"type":327},[],{"type":19,"value":335}," queue.",{"type":14,"tag":302,"props":337,"children":338},{},[339,345,347,350,352,355],{"type":14,"tag":22,"props":340,"children":342},{"className":341},[],[343],{"type":19,"value":344},"maxWarpsPerShaderCore",{"type":19,"value":346},", if it is not 0, is the maximum number of\nwarps that ",{"type":14,"tag":325,"props":348,"children":349},{"type":327},[],{"type":19,"value":351}," run concurrently on individual shader cores.\nOtherwise, the implementation selects the maximum number of warps that\n",{"type":14,"tag":325,"props":353,"children":354},{"type":327},[],{"type":19,"value":356}," run concurrently on individual shader cores.",{"type":14,"tag":358,"props":359,"children":361},"validity-group",{"name":360},"Valid Usage",[362,397,425],{"type":14,"tag":363,"props":364,"children":366},"validity-field",{"name":365},"VUID-VkDispatchParametersARM-maxWarpsPerShaderCore-12392",[367],{"type":14,"tag":15,"props":368,"children":369},{},[370,375,377,381,383,390,391],{"type":14,"tag":22,"props":371,"children":373},{"className":372},[],[374],{"type":19,"value":344},{"type":19,"value":376}," ",{"type":14,"tag":325,"props":378,"children":380},{"type":379},"must",[],{"type":19,"value":382}," be less than or equal to\n",{"type":14,"tag":384,"props":385,"children":387},"a",{"href":386},"/man/VkPhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM",[388],{"type":19,"value":389},"VkPhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM",{"type":19,"value":195},{"type":14,"tag":22,"props":392,"children":394},{"className":393},[],[395],{"type":19,"value":396},"schedulingControlsMaxWarpCount",{"type":14,"tag":363,"props":398,"children":400},{"name":399},"VUID-VkDispatchParametersARM-maxQueuedWorkGroupBatches-12393",[401],{"type":14,"tag":15,"props":402,"children":403},{},[404,409,410,413,414,418,419],{"type":14,"tag":22,"props":405,"children":407},{"className":406},[],[408],{"type":19,"value":321},{"type":19,"value":376},{"type":14,"tag":325,"props":411,"children":412},{"type":379},[],{"type":19,"value":382},{"type":14,"tag":384,"props":415,"children":416},{"href":386},[417],{"type":19,"value":389},{"type":19,"value":195},{"type":14,"tag":22,"props":420,"children":422},{"className":421},[],[423],{"type":19,"value":424},"schedulingControlsMaxQueuedBatchesCount",{"type":14,"tag":363,"props":426,"children":428},{"name":427},"VUID-VkDispatchParametersARM-workGroupBatchSize-12394",[429],{"type":14,"tag":15,"props":430,"children":431},{},[432,437,438,441,442,448,449],{"type":14,"tag":22,"props":433,"children":435},{"className":434},[],[436],{"type":19,"value":310},{"type":19,"value":376},{"type":14,"tag":325,"props":439,"children":440},{"type":379},[],{"type":19,"value":382},{"type":14,"tag":384,"props":443,"children":445},{"href":444},"/man/VkPhysicalDeviceSchedulingControlsPropertiesARM",[446],{"type":19,"value":447},"VkPhysicalDeviceSchedulingControlsPropertiesARM",{"type":19,"value":195},{"type":14,"tag":22,"props":450,"children":452},{"className":451},[],[453],{"type":19,"value":454},"schedulingControlsMaxWorkGroupBatchSize",{"type":14,"tag":358,"props":456,"children":458},{"name":457},"Valid Usage (Implicit)",[459,484],{"type":14,"tag":363,"props":460,"children":462},{"name":461},"VUID-VkDispatchParametersARM-sType-sType",[463],{"type":14,"tag":15,"props":464,"children":465},{},[466,472,473,476,478],{"type":14,"tag":22,"props":467,"children":469},{"className":468},[],[470],{"type":19,"value":471},"sType",{"type":19,"value":376},{"type":14,"tag":325,"props":474,"children":475},{"type":379},[],{"type":19,"value":477}," be ",{"type":14,"tag":22,"props":479,"children":481},{"className":480},[],[482],{"type":19,"value":483},"VK_STRUCTURE_TYPE_DISPATCH_PARAMETERS_ARM",{"type":14,"tag":363,"props":485,"children":487},{"name":486},"VUID-VkDispatchParametersARM-pNext-pNext",[488],{"type":14,"tag":15,"props":489,"children":490},{},[491,497,498,501,502],{"type":14,"tag":22,"props":492,"children":494},{"className":493},[],[495],{"type":19,"value":496},"pNext",{"type":19,"value":376},{"type":14,"tag":325,"props":499,"children":500},{"type":379},[],{"type":19,"value":477},{"type":14,"tag":22,"props":503,"children":505},{"className":504},[],[506],{"type":19,"value":507},"NULL",{"type":14,"tag":509,"props":510,"children":511},"style",{},[512],{"type":19,"value":513},"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":40,"searchDepth":70,"depth":70,"links":515},[],"markdown",1775207512077]