[{"data":1,"prerenderedAt":558},["ShallowReactive",2],{"chUZrt3Vnh":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"supported_queue_types":11,"tasks":13,"type":15,"xrefs":16,"body":17,"_type":557,"_id":4},"vkCmdSetExtraPrimitiveOverestimationSizeEXT","Specify the conservative rasterization extra primitive overestimation size dynamically for a command buffer","VK_EXT_extended_dynamic_state3, VK_EXT_shader_object",[8,9],"primary","secondary","both",[12],"graphics",[14],"state","protos",[],{"type":18,"children":19,"toc":555},"root",[20,46,218,250,307,403,407,503,549],{"type":21,"tag":22,"props":23,"children":24},"element","p",{},[25,28,35,37,44],{"type":26,"value":27},"text","To ",{"type":21,"tag":29,"props":30,"children":32},"a",{"href":31},"/chapters/pipelines#pipelines-dynamic-state",[33],{"type":26,"value":34},"dynamically set",{"type":26,"value":36}," the\n",{"type":21,"tag":38,"props":39,"children":41},"code",{"className":40},[],[42],{"type":26,"value":43},"extraPrimitiveOverestimationSize",{"type":26,"value":45},", call:",{"type":21,"tag":47,"props":48,"children":49},"code-group",{},[50,125],{"type":21,"tag":51,"props":52,"children":58},"pre",{"className":53,"code":54,"filename":55,"language":56,"meta":57,"style":57},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdSetExtraPrimitiveOverestimationSizeEXT(\n VkCommandBuffer commandBuffer,\n float extraPrimitiveOverestimationSize);\n","C","c","",[59],{"type":21,"tag":38,"props":60,"children":61},{"__ignoreMap":57},[62,86,106],{"type":21,"tag":63,"props":64,"children":67},"span",{"class":65,"line":66},"line",1,[68,74,80],{"type":21,"tag":63,"props":69,"children":71},{"style":70},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[72],{"type":26,"value":73},"void",{"type":21,"tag":63,"props":75,"children":77},{"style":76},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[78],{"type":26,"value":79}," vkCmdSetExtraPrimitiveOverestimationSizeEXT",{"type":21,"tag":63,"props":81,"children":83},{"style":82},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[84],{"type":26,"value":85},"(\n",{"type":21,"tag":63,"props":87,"children":89},{"class":65,"line":88},2,[90,95,101],{"type":21,"tag":63,"props":91,"children":92},{"style":82},[93],{"type":26,"value":94}," VkCommandBuffer ",{"type":21,"tag":63,"props":96,"children":98},{"style":97},"--shiki-default:#953800;--shiki-dark:#FFA657",[99],{"type":26,"value":100},"commandBuffer",{"type":21,"tag":63,"props":102,"children":103},{"style":82},[104],{"type":26,"value":105},",\n",{"type":21,"tag":63,"props":107,"children":109},{"class":65,"line":108},3,[110,115,120],{"type":21,"tag":63,"props":111,"children":112},{"style":70},[113],{"type":26,"value":114}," float",{"type":21,"tag":63,"props":116,"children":117},{"style":97},[118],{"type":26,"value":119}," extraPrimitiveOverestimationSize",{"type":21,"tag":63,"props":121,"children":122},{"style":82},[123],{"type":26,"value":124},");\n",{"type":21,"tag":51,"props":126,"children":131},{"className":127,"code":128,"filename":129,"language":130,"meta":57,"style":57},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_set_extra_primitive_overestimation_size_ext(\n command_buffer: vk::CommandBuffer,\n extra_primitive_overestimation_size: f32,\n);\n","Rust","rs",[132],{"type":21,"tag":38,"props":133,"children":134},{"__ignoreMap":57},[135,157,189,210],{"type":21,"tag":63,"props":136,"children":137},{"class":65,"line":66},[138,143,148,153],{"type":21,"tag":63,"props":139,"children":140},{"style":70},[141],{"type":26,"value":142},"pub",{"type":21,"tag":63,"props":144,"children":145},{"style":70},[146],{"type":26,"value":147}," fn",{"type":21,"tag":63,"props":149,"children":150},{"style":76},[151],{"type":26,"value":152}," cmd_set_extra_primitive_overestimation_size_ext",{"type":21,"tag":63,"props":154,"children":155},{"style":82},[156],{"type":26,"value":85},{"type":21,"tag":63,"props":158,"children":159},{"class":65,"line":88},[160,165,170,175,180,185],{"type":21,"tag":63,"props":161,"children":162},{"style":82},[163],{"type":26,"value":164}," command_buffer",{"type":21,"tag":63,"props":166,"children":167},{"style":70},[168],{"type":26,"value":169},":",{"type":21,"tag":63,"props":171,"children":172},{"style":97},[173],{"type":26,"value":174}," vk",{"type":21,"tag":63,"props":176,"children":177},{"style":70},[178],{"type":26,"value":179},"::",{"type":21,"tag":63,"props":181,"children":182},{"style":97},[183],{"type":26,"value":184},"CommandBuffer",{"type":21,"tag":63,"props":186,"children":187},{"style":82},[188],{"type":26,"value":105},{"type":21,"tag":63,"props":190,"children":191},{"class":65,"line":108},[192,197,201,206],{"type":21,"tag":63,"props":193,"children":194},{"style":82},[195],{"type":26,"value":196}," extra_primitive_overestimation_size",{"type":21,"tag":63,"props":198,"children":199},{"style":70},[200],{"type":26,"value":169},{"type":21,"tag":63,"props":202,"children":203},{"style":97},[204],{"type":26,"value":205}," f32",{"type":21,"tag":63,"props":207,"children":208},{"style":82},[209],{"type":26,"value":105},{"type":21,"tag":63,"props":211,"children":213},{"class":65,"line":212},4,[214],{"type":21,"tag":63,"props":215,"children":216},{"style":82},[217],{"type":26,"value":124},{"type":21,"tag":219,"props":220,"children":221},"ul",{},[222,233],{"type":21,"tag":223,"props":224,"children":225},"li",{},[226,231],{"type":21,"tag":38,"props":227,"children":229},{"className":228},[],[230],{"type":26,"value":100},{"type":26,"value":232}," is the command buffer into which the command will be\nrecorded.",{"type":21,"tag":223,"props":234,"children":235},{},[236,241,243,248],{"type":21,"tag":38,"props":237,"children":239},{"className":238},[],[240],{"type":26,"value":43},{"type":26,"value":242}," specifies the\n",{"type":21,"tag":38,"props":244,"children":246},{"className":245},[],[247],{"type":26,"value":43},{"type":26,"value":249},".",{"type":21,"tag":22,"props":251,"children":252},{},[253,255,260,262,268,270,276,278,284,285,291,293,299,300,305],{"type":26,"value":254},"This command sets the ",{"type":21,"tag":38,"props":256,"children":258},{"className":257},[],[259],{"type":26,"value":43},{"type":26,"value":261}," for subsequent\ndrawing commands\nwhen drawing using ",{"type":21,"tag":29,"props":263,"children":265},{"href":264},"/chapters/shaders#shaders-objects",[266],{"type":26,"value":267},"shader objects",{"type":26,"value":269},", or\nwhen the graphics pipeline is created with\n",{"type":21,"tag":38,"props":271,"children":273},{"className":272},[],[274],{"type":26,"value":275},"VK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXT",{"type":26,"value":277}," set in\n",{"type":21,"tag":29,"props":279,"children":281},{"href":280},"/man/VkPipelineDynamicStateCreateInfo",[282],{"type":26,"value":283},"VkPipelineDynamicStateCreateInfo",{"type":26,"value":179},{"type":21,"tag":38,"props":286,"children":288},{"className":287},[],[289],{"type":26,"value":290},"pDynamicStates",{"type":26,"value":292},".\nOtherwise, this state is specified by the\n",{"type":21,"tag":29,"props":294,"children":296},{"href":295},"/man/VkPipelineRasterizationConservativeStateCreateInfoEXT",[297],{"type":26,"value":298},"VkPipelineRasterizationConservativeStateCreateInfoEXT",{"type":26,"value":179},{"type":21,"tag":38,"props":301,"children":303},{"className":302},[],[304],{"type":26,"value":43},{"type":26,"value":306},"\nvalue used to create the currently active pipeline.",{"type":21,"tag":308,"props":309,"children":311},"validity-group",{"name":310},"Valid Usage",[312],{"type":21,"tag":313,"props":314,"children":316},"validity-field",{"name":315},"VUID-vkCmdSetExtraPrimitiveOverestimationSizeEXT-None-09423",[317,341,361],{"type":21,"tag":22,"props":318,"children":319},{},[320,322,327,329,339],{"type":26,"value":321},"At least one of the following ",{"type":21,"tag":323,"props":324,"children":326},"normative",{"type":325},"must",[],{"type":26,"value":328}," be true:- The ",{"type":21,"tag":29,"props":330,"children":332},{"href":331},"/man/VkPhysicalDeviceExtendedDynamicState3FeaturesEXT#features-extendedDynamicState3ExtraPrimitiveOverestimationSize",[333],{"type":21,"tag":38,"props":334,"children":336},{"className":335},[],[337],{"type":26,"value":338},"extendedDynamicState3ExtraPrimitiveOverestimationSize",{"type":26,"value":340}," feature is\nenabled",{"type":21,"tag":219,"props":342,"children":343},{},[344],{"type":21,"tag":223,"props":345,"children":346},{},[347,349,359],{"type":26,"value":348},"The ",{"type":21,"tag":29,"props":350,"children":352},{"href":351},"/man/VkPhysicalDeviceShaderObjectFeaturesEXT#features-shaderObject",[353],{"type":21,"tag":38,"props":354,"children":356},{"className":355},[],[357],{"type":26,"value":358},"shaderObject",{"type":26,"value":360}," feature is enabled\n::",{"type":21,"tag":313,"props":362,"children":364},{"name":363},"VUID-vkCmdSetExtraPrimitiveOverestimationSizeEXT-extraPrimitiveOverestimationSize-07428",[365],{"type":21,"tag":22,"props":366,"children":367},{},[368,373,375,378,380,386,388,394,395,401],{"type":21,"tag":38,"props":369,"children":371},{"className":370},[],[372],{"type":26,"value":43},{"type":26,"value":374}," ",{"type":21,"tag":323,"props":376,"children":377},{"type":325},[],{"type":26,"value":379}," be in the range of ",{"type":21,"tag":38,"props":381,"children":383},{"className":382},[],[384],{"type":26,"value":385},"0.0",{"type":26,"value":387}," to\n",{"type":21,"tag":38,"props":389,"children":391},{"className":390},[],[392],{"type":26,"value":393},"VkPhysicalDeviceConservativeRasterizationPropertiesEXT",{"type":26,"value":179},{"type":21,"tag":38,"props":396,"children":398},{"className":397},[],[399],{"type":26,"value":400},"maxExtraPrimitiveOverestimationSize",{"type":26,"value":402},"\ninclusive",{"type":21,"tag":22,"props":404,"children":405},{},[406],{"type":26,"value":179},{"type":21,"tag":308,"props":408,"children":410},{"name":409},"Valid Usage (Implicit)",[411,437,461,489],{"type":21,"tag":313,"props":412,"children":414},{"name":413},"VUID-vkCmdSetExtraPrimitiveOverestimationSizeEXT-commandBuffer-parameter",[415],{"type":21,"tag":22,"props":416,"children":417},{},[418,423,424,427,429,435],{"type":21,"tag":38,"props":419,"children":421},{"className":420},[],[422],{"type":26,"value":100},{"type":26,"value":374},{"type":21,"tag":323,"props":425,"children":426},{"type":325},[],{"type":26,"value":428}," be a valid ",{"type":21,"tag":29,"props":430,"children":432},{"href":431},"/man/VkCommandBuffer",[433],{"type":26,"value":434},"VkCommandBuffer",{"type":26,"value":436}," handle",{"type":21,"tag":313,"props":438,"children":440},{"name":439},"VUID-vkCmdSetExtraPrimitiveOverestimationSizeEXT-commandBuffer-recording",[441],{"type":21,"tag":22,"props":442,"children":443},{},[444,449,450,453,455],{"type":21,"tag":38,"props":445,"children":447},{"className":446},[],[448],{"type":26,"value":100},{"type":26,"value":374},{"type":21,"tag":323,"props":451,"children":452},{"type":325},[],{"type":26,"value":454}," be in the ",{"type":21,"tag":29,"props":456,"children":458},{"href":457},"/chapters/commandbuffers#commandbuffers-lifecycle",[459],{"type":26,"value":460},"recording state",{"type":21,"tag":313,"props":462,"children":464},{"name":463},"VUID-vkCmdSetExtraPrimitiveOverestimationSizeEXT-commandBuffer-cmdpool",[465],{"type":21,"tag":22,"props":466,"children":467},{},[468,469,475,477,482,484,487],{"type":26,"value":348},{"type":21,"tag":38,"props":470,"children":472},{"className":471},[],[473],{"type":26,"value":474},"VkCommandPool",{"type":26,"value":476}," that ",{"type":21,"tag":38,"props":478,"children":480},{"className":479},[],[481],{"type":26,"value":100},{"type":26,"value":483}," was allocated from ",{"type":21,"tag":323,"props":485,"children":486},{"type":325},[],{"type":26,"value":488}," support graphics operations",{"type":21,"tag":313,"props":490,"children":492},{"name":491},"VUID-vkCmdSetExtraPrimitiveOverestimationSizeEXT-videocoding",[493],{"type":21,"tag":22,"props":494,"children":495},{},[496,498,501],{"type":26,"value":497},"This command ",{"type":21,"tag":323,"props":499,"children":500},{"type":325},[],{"type":26,"value":502}," only be called outside of a video coding scope",{"type":21,"tag":504,"props":505,"children":507},"validity-box",{"name":506},"Host Synchronization",[508],{"type":21,"tag":219,"props":509,"children":510},{},[511,527],{"type":21,"tag":223,"props":512,"children":513},{},[514,516,521,522,525],{"type":26,"value":515},"Host access to ",{"type":21,"tag":38,"props":517,"children":519},{"className":518},[],[520],{"type":26,"value":100},{"type":26,"value":374},{"type":21,"tag":323,"props":523,"children":524},{"type":325},[],{"type":26,"value":526}," be externally synchronized",{"type":21,"tag":223,"props":528,"children":529},{},[530,532,537,538,543,544,547],{"type":26,"value":531},"Host access to the ",{"type":21,"tag":38,"props":533,"children":535},{"className":534},[],[536],{"type":26,"value":474},{"type":26,"value":476},{"type":21,"tag":38,"props":539,"children":541},{"className":540},[],[542],{"type":26,"value":100},{"type":26,"value":483},{"type":21,"tag":323,"props":545,"children":546},{"type":325},[],{"type":26,"value":548}," be externally synchronized\n::",{"type":21,"tag":550,"props":551,"children":552},"style",{},[553],{"type":26,"value":554},"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":57,"searchDepth":88,"depth":88,"links":556},[],"markdown",1729612505333]