[{"data":1,"prerenderedAt":576},["ShallowReactive",2],{"e6z9OXWi2Z":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":575,"_id":4},"vkCmdSetRasterizationStreamEXT","Specify the rasterization stream 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":573},"root",[20,46,218,250,307,425,521,567],{"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},"rasterizationStream",{"type":26,"value":45}," state, 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 vkCmdSetRasterizationStreamEXT(\n VkCommandBuffer commandBuffer,\n uint32_t rasterizationStream);\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}," vkCmdSetRasterizationStreamEXT",{"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}," uint32_t",{"type":21,"tag":63,"props":116,"children":117},{"style":97},[118],{"type":26,"value":119}," rasterizationStream",{"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_rasterization_stream_ext(\n command_buffer: vk::CommandBuffer,\n rasterization_stream: u32,\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_rasterization_stream_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}," rasterization_stream",{"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}," u32",{"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 ",{"type":21,"tag":38,"props":244,"children":246},{"className":245},[],[247],{"type":26,"value":43},{"type":26,"value":249}," state.",{"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}," state for subsequent drawing\ncommands\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_RASTERIZATION_STREAM_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/VkPipelineRasterizationStateStreamCreateInfoEXT",[297],{"type":26,"value":298},"VkPipelineRasterizationStateStreamCreateInfoEXT",{"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,329,355,387],{"type":21,"tag":313,"props":314,"children":316},"validity-field",{"name":315},"VUID-vkCmdSetRasterizationStreamEXT-None-09423",[317],{"type":21,"tag":22,"props":318,"children":319},{},[320,322,327],{"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:",{"type":21,"tag":313,"props":330,"children":332},{"name":331},"VUID-vkCmdSetRasterizationStreamEXT-transformFeedback-07411",[333],{"type":21,"tag":22,"props":334,"children":335},{},[336,338,348,350,353],{"type":26,"value":337},"The ",{"type":21,"tag":29,"props":339,"children":341},{"href":340},"/man/VkPhysicalDeviceTransformFeedbackFeaturesEXT#features-transformFeedback",[342],{"type":21,"tag":38,"props":343,"children":345},{"className":344},[],[346],{"type":26,"value":347},"transformFeedback",{"type":26,"value":349}," feature\n",{"type":21,"tag":323,"props":351,"children":352},{"type":325},[],{"type":26,"value":354}," be enabled",{"type":21,"tag":313,"props":356,"children":358},{"name":357},"VUID-vkCmdSetRasterizationStreamEXT-rasterizationStream-07412",[359],{"type":21,"tag":22,"props":360,"children":361},{},[362,367,369,372,374,380,381],{"type":21,"tag":38,"props":363,"children":365},{"className":364},[],[366],{"type":26,"value":43},{"type":26,"value":368}," ",{"type":21,"tag":323,"props":370,"children":371},{"type":325},[],{"type":26,"value":373}," be less than\n",{"type":21,"tag":29,"props":375,"children":377},{"href":376},"/man/VkPhysicalDeviceTransformFeedbackPropertiesEXT",[378],{"type":26,"value":379},"VkPhysicalDeviceTransformFeedbackPropertiesEXT",{"type":26,"value":179},{"type":21,"tag":38,"props":382,"children":384},{"className":383},[],[385],{"type":26,"value":386},"maxTransformFeedbackStreams",{"type":21,"tag":313,"props":388,"children":390},{"name":389},"VUID-vkCmdSetRasterizationStreamEXT-rasterizationStream-07413",[391],{"type":21,"tag":22,"props":392,"children":393},{},[394,399,400,403,405,410,411,417,419],{"type":21,"tag":38,"props":395,"children":397},{"className":396},[],[398],{"type":26,"value":43},{"type":26,"value":368},{"type":21,"tag":323,"props":401,"children":402},{"type":325},[],{"type":26,"value":404}," be zero if\n",{"type":21,"tag":38,"props":406,"children":408},{"className":407},[],[409],{"type":26,"value":379},{"type":26,"value":179},{"type":21,"tag":38,"props":412,"children":414},{"className":413},[],[415],{"type":26,"value":416},"transformFeedbackRasterizationStreamSelect",{"type":26,"value":418},"\nis ",{"type":21,"tag":38,"props":420,"children":422},{"className":421},[],[423],{"type":26,"value":424},"VK_FALSE",{"type":21,"tag":308,"props":426,"children":428},{"name":427},"Valid Usage (Implicit)",[429,455,479,507],{"type":21,"tag":313,"props":430,"children":432},{"name":431},"VUID-vkCmdSetRasterizationStreamEXT-commandBuffer-parameter",[433],{"type":21,"tag":22,"props":434,"children":435},{},[436,441,442,445,447,453],{"type":21,"tag":38,"props":437,"children":439},{"className":438},[],[440],{"type":26,"value":100},{"type":26,"value":368},{"type":21,"tag":323,"props":443,"children":444},{"type":325},[],{"type":26,"value":446}," be a valid ",{"type":21,"tag":29,"props":448,"children":450},{"href":449},"/man/VkCommandBuffer",[451],{"type":26,"value":452},"VkCommandBuffer",{"type":26,"value":454}," handle",{"type":21,"tag":313,"props":456,"children":458},{"name":457},"VUID-vkCmdSetRasterizationStreamEXT-commandBuffer-recording",[459],{"type":21,"tag":22,"props":460,"children":461},{},[462,467,468,471,473],{"type":21,"tag":38,"props":463,"children":465},{"className":464},[],[466],{"type":26,"value":100},{"type":26,"value":368},{"type":21,"tag":323,"props":469,"children":470},{"type":325},[],{"type":26,"value":472}," be in the ",{"type":21,"tag":29,"props":474,"children":476},{"href":475},"/chapters/commandbuffers#commandbuffers-lifecycle",[477],{"type":26,"value":478},"recording state",{"type":21,"tag":313,"props":480,"children":482},{"name":481},"VUID-vkCmdSetRasterizationStreamEXT-commandBuffer-cmdpool",[483],{"type":21,"tag":22,"props":484,"children":485},{},[486,487,493,495,500,502,505],{"type":26,"value":337},{"type":21,"tag":38,"props":488,"children":490},{"className":489},[],[491],{"type":26,"value":492},"VkCommandPool",{"type":26,"value":494}," that ",{"type":21,"tag":38,"props":496,"children":498},{"className":497},[],[499],{"type":26,"value":100},{"type":26,"value":501}," was allocated from ",{"type":21,"tag":323,"props":503,"children":504},{"type":325},[],{"type":26,"value":506}," support graphics operations",{"type":21,"tag":313,"props":508,"children":510},{"name":509},"VUID-vkCmdSetRasterizationStreamEXT-videocoding",[511],{"type":21,"tag":22,"props":512,"children":513},{},[514,516,519],{"type":26,"value":515},"This command ",{"type":21,"tag":323,"props":517,"children":518},{"type":325},[],{"type":26,"value":520}," only be called outside of a video coding scope",{"type":21,"tag":522,"props":523,"children":525},"validity-box",{"name":524},"Host Synchronization",[526],{"type":21,"tag":219,"props":527,"children":528},{},[529,545],{"type":21,"tag":223,"props":530,"children":531},{},[532,534,539,540,543],{"type":26,"value":533},"Host access to ",{"type":21,"tag":38,"props":535,"children":537},{"className":536},[],[538],{"type":26,"value":100},{"type":26,"value":368},{"type":21,"tag":323,"props":541,"children":542},{"type":325},[],{"type":26,"value":544}," be externally synchronized",{"type":21,"tag":223,"props":546,"children":547},{},[548,550,555,556,561,562,565],{"type":26,"value":549},"Host access to the ",{"type":21,"tag":38,"props":551,"children":553},{"className":552},[],[554],{"type":26,"value":492},{"type":26,"value":494},{"type":21,"tag":38,"props":557,"children":559},{"className":558},[],[560],{"type":26,"value":100},{"type":26,"value":501},{"type":21,"tag":323,"props":563,"children":564},{"type":325},[],{"type":26,"value":566}," be externally synchronized\n::",{"type":21,"tag":568,"props":569,"children":570},"style",{},[571],{"type":26,"value":572},"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":574},[],"markdown",1725732609762]