[{"data":1,"prerenderedAt":465},["ShallowReactive",2],{"$fVp_komommMZ9KNIAPA3iBlF-gCS1AM1YNlNOpfeWaxc":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":464,"_id":4},"VkComputeOccupancyPriorityParametersNV","Structure specifying compute occupancy priority parameters","VK_NV_compute_occupancy_priority","structs",[],{"type":10,"children":11,"toc":462},"root",[12,28,268,334,406,456],{"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,131],{"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 VkComputeOccupancyPriorityParametersNV {\n VkStructureType sType;\n const void* pNext;\n float occupancyPriority;\n float occupancyThrottling;\n} VkComputeOccupancyPriorityParametersNV;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109,122],{"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}," VkComputeOccupancyPriorityParametersNV {\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,104],{"type":13,"tag":45,"props":100,"children":101},{"style":52},[102],{"type":18,"value":103}," float",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," occupancyPriority;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113,117],{"type":13,"tag":45,"props":114,"children":115},{"style":52},[116],{"type":18,"value":103},{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," occupancyThrottling;\n",{"type":13,"tag":45,"props":123,"children":125},{"class":47,"line":124},6,[126],{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130},"} VkComputeOccupancyPriorityParametersNV;\n",{"type":13,"tag":33,"props":132,"children":137},{"className":133,"code":134,"filename":135,"language":136,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ComputeOccupancyPriorityParametersNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n occupancy_priority: f32,\n occupancy_throttling: f32,\n}\n","Rust","rs",[138],{"type":13,"tag":21,"props":139,"children":140},{"__ignoreMap":39},[141,164,197,219,240,260],{"type":13,"tag":45,"props":142,"children":143},{"class":47,"line":48},[144,149,153,159],{"type":13,"tag":45,"props":145,"children":146},{"style":52},[147],{"type":18,"value":148},"pub",{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":60},{"type":13,"tag":45,"props":154,"children":156},{"style":155},"--shiki-default:#953800;--shiki-dark:#FFA657",[157],{"type":18,"value":158}," ComputeOccupancyPriorityParametersNV",{"type":13,"tag":45,"props":160,"children":161},{"style":63},[162],{"type":18,"value":163}," {\n",{"type":13,"tag":45,"props":165,"children":166},{"class":47,"line":69},[167,172,177,182,187,192],{"type":13,"tag":45,"props":168,"children":169},{"style":63},[170],{"type":18,"value":171}," s_type",{"type":13,"tag":45,"props":173,"children":174},{"style":52},[175],{"type":18,"value":176},":",{"type":13,"tag":45,"props":178,"children":179},{"style":155},[180],{"type":18,"value":181}," vk",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":186},"::",{"type":13,"tag":45,"props":188,"children":189},{"style":155},[190],{"type":18,"value":191},"StructureType",{"type":13,"tag":45,"props":193,"children":194},{"style":63},[195],{"type":18,"value":196},",\n",{"type":13,"tag":45,"props":198,"children":199},{"class":47,"line":78},[200,205,209,214],{"type":13,"tag":45,"props":201,"children":202},{"style":63},[203],{"type":18,"value":204}," p_next",{"type":13,"tag":45,"props":206,"children":207},{"style":52},[208],{"type":18,"value":176},{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":213}," *const",{"type":13,"tag":45,"props":215,"children":216},{"style":63},[217],{"type":18,"value":218}," c_void,\n",{"type":13,"tag":45,"props":220,"children":221},{"class":47,"line":97},[222,227,231,236],{"type":13,"tag":45,"props":223,"children":224},{"style":63},[225],{"type":18,"value":226}," occupancy_priority",{"type":13,"tag":45,"props":228,"children":229},{"style":52},[230],{"type":18,"value":176},{"type":13,"tag":45,"props":232,"children":233},{"style":155},[234],{"type":18,"value":235}," f32",{"type":13,"tag":45,"props":237,"children":238},{"style":63},[239],{"type":18,"value":196},{"type":13,"tag":45,"props":241,"children":242},{"class":47,"line":111},[243,248,252,256],{"type":13,"tag":45,"props":244,"children":245},{"style":63},[246],{"type":18,"value":247}," occupancy_throttling",{"type":13,"tag":45,"props":249,"children":250},{"style":52},[251],{"type":18,"value":176},{"type":13,"tag":45,"props":253,"children":254},{"style":155},[255],{"type":18,"value":235},{"type":13,"tag":45,"props":257,"children":258},{"style":63},[259],{"type":18,"value":196},{"type":13,"tag":45,"props":261,"children":262},{"class":47,"line":124},[263],{"type":13,"tag":45,"props":264,"children":265},{"style":63},[266],{"type":18,"value":267},"}\n",{"type":13,"tag":269,"props":270,"children":271},"ul",{},[272,293,312,323],{"type":13,"tag":273,"props":274,"children":275},"li",{},[276,282,284,291],{"type":13,"tag":21,"props":277,"children":279},{"className":278},[],[280],{"type":18,"value":281},"sType",{"type":18,"value":283}," is a ",{"type":13,"tag":285,"props":286,"children":288},"a",{"href":287},"/man/VkStructureType",[289],{"type":18,"value":290},"VkStructureType",{"type":18,"value":292}," value identifying this structure.",{"type":13,"tag":273,"props":294,"children":295},{},[296,302,304,310],{"type":13,"tag":21,"props":297,"children":299},{"className":298},[],[300],{"type":18,"value":301},"pNext",{"type":18,"value":303}," is ",{"type":13,"tag":21,"props":305,"children":307},{"className":306},[],[308],{"type":18,"value":309},"NULL",{"type":18,"value":311}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":273,"props":313,"children":314},{},[315,321],{"type":13,"tag":21,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":320},"occupancyPriority",{"type":18,"value":322}," is a value specifying the occupancy priority for\nsubsequent compute workloads, with a valid range of [0.0, 1.0].\nA value of 0.0 represents the lowest priority, while a value of 1.0 is\nthe maximum priority.\nDefault priority is specified by a value of 0.5.",{"type":13,"tag":273,"props":324,"children":325},{},[326,332],{"type":13,"tag":21,"props":327,"children":329},{"className":328},[],[330],{"type":18,"value":331},"occupancyThrottling",{"type":18,"value":333}," is a value specifying the level of occupancy\nthrottling applied to subsequent workloads, with a valid range of [0.0,\n1.0].\nA value of 0.0 (the default) means no throttling is applied, allowing\nworkloads to use the full available compute capacity.\nNon-zero values represent increasing levels of throttling, with higher\nvalues resulting in more restrictive occupancy limits.\nA value of 1.0 represents the maximum level of throttling supported by\nthe implementation.",{"type":13,"tag":335,"props":336,"children":338},"validity-group",{"name":337},"Valid Usage",[339,377],{"type":13,"tag":340,"props":341,"children":343},"validity-field",{"name":342},"VUID-VkComputeOccupancyPriorityParametersNV-occupancyPriority-12298",[344],{"type":13,"tag":14,"props":345,"children":346},{},[347,352,354,359,361,367,369,375],{"type":13,"tag":21,"props":348,"children":350},{"className":349},[],[351],{"type":18,"value":320},{"type":18,"value":353}," ",{"type":13,"tag":355,"props":356,"children":358},"normative",{"type":357},"must",[],{"type":18,"value":360}," be between ",{"type":13,"tag":21,"props":362,"children":364},{"className":363},[],[365],{"type":18,"value":366},"0",{"type":18,"value":368}," and ",{"type":13,"tag":21,"props":370,"children":372},{"className":371},[],[373],{"type":18,"value":374},"1",{"type":18,"value":376},", inclusive",{"type":13,"tag":340,"props":378,"children":380},{"name":379},"VUID-VkComputeOccupancyPriorityParametersNV-occupancyThrottling-12299",[381],{"type":13,"tag":14,"props":382,"children":383},{},[384,389,390,393,394,399,400,405],{"type":13,"tag":21,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":331},{"type":18,"value":353},{"type":13,"tag":355,"props":391,"children":392},{"type":357},[],{"type":18,"value":360},{"type":13,"tag":21,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":366},{"type":18,"value":368},{"type":13,"tag":21,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":374},{"type":18,"value":376},{"type":13,"tag":335,"props":407,"children":409},{"name":408},"Valid Usage (Implicit)",[410,434],{"type":13,"tag":340,"props":411,"children":413},{"name":412},"VUID-VkComputeOccupancyPriorityParametersNV-sType-sType",[414],{"type":13,"tag":14,"props":415,"children":416},{},[417,422,423,426,428],{"type":13,"tag":21,"props":418,"children":420},{"className":419},[],[421],{"type":18,"value":281},{"type":18,"value":353},{"type":13,"tag":355,"props":424,"children":425},{"type":357},[],{"type":18,"value":427}," be ",{"type":13,"tag":21,"props":429,"children":431},{"className":430},[],[432],{"type":18,"value":433},"VK_STRUCTURE_TYPE_COMPUTE_OCCUPANCY_PRIORITY_PARAMETERS_NV",{"type":13,"tag":340,"props":435,"children":437},{"name":436},"VUID-VkComputeOccupancyPriorityParametersNV-pNext-pNext",[438],{"type":13,"tag":14,"props":439,"children":440},{},[441,446,447,450,451],{"type":13,"tag":21,"props":442,"children":444},{"className":443},[],[445],{"type":18,"value":301},{"type":18,"value":353},{"type":13,"tag":355,"props":448,"children":449},{"type":357},[],{"type":18,"value":427},{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":309},{"type":13,"tag":457,"props":458,"children":459},"style",{},[460],{"type":18,"value":461},"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":463},[],"markdown",1773121567568]