[{"data":1,"prerenderedAt":600},["ShallowReactive",2],{"OM9d9qitfn":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":599,"_id":4},"VkPipelineShaderStageRequiredSubgroupSizeCreateInfo","Structure specifying the required subgroup size of a newly created pipeline shader stage","VK_VERSION_1_3","structs",[],{"type":10,"children":11,"toc":597},"root",[12,28,230,235,300,305,366,428,455,481,563,591],{"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\ndefined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,113],{"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 VkPipelineShaderStageRequiredSubgroupSizeCreateInfo {\n VkStructureType sType;\n void* pNext;\n uint32_t requiredSubgroupSize;\n} VkPipelineShaderStageRequiredSubgroupSizeCreateInfo;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,104],{"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}," VkPipelineShaderStageRequiredSubgroupSizeCreateInfo {\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],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94,99],{"type":13,"tag":45,"props":95,"children":96},{"style":52},[97],{"type":18,"value":98}," uint32_t",{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," requiredSubgroupSize;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112},"} VkPipelineShaderStageRequiredSubgroupSizeCreateInfo;\n",{"type":13,"tag":33,"props":114,"children":119},{"className":115,"code":116,"filename":117,"language":118,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PipelineShaderStageRequiredSubgroupSizeCreateInfo {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n required_subgroup_size: u32,\n}\n","Rust","rs",[120],{"type":13,"tag":21,"props":121,"children":122},{"__ignoreMap":39},[123,146,179,201,222],{"type":13,"tag":45,"props":124,"children":125},{"class":47,"line":48},[126,131,135,141],{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":130},"pub",{"type":13,"tag":45,"props":132,"children":133},{"style":52},[134],{"type":18,"value":60},{"type":13,"tag":45,"props":136,"children":138},{"style":137},"--shiki-default:#953800;--shiki-dark:#FFA657",[139],{"type":18,"value":140}," PipelineShaderStageRequiredSubgroupSizeCreateInfo",{"type":13,"tag":45,"props":142,"children":143},{"style":63},[144],{"type":18,"value":145}," {\n",{"type":13,"tag":45,"props":147,"children":148},{"class":47,"line":69},[149,154,159,164,169,174],{"type":13,"tag":45,"props":150,"children":151},{"style":63},[152],{"type":18,"value":153}," s_type",{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":158},":",{"type":13,"tag":45,"props":160,"children":161},{"style":137},[162],{"type":18,"value":163}," vk",{"type":13,"tag":45,"props":165,"children":166},{"style":52},[167],{"type":18,"value":168},"::",{"type":13,"tag":45,"props":170,"children":171},{"style":137},[172],{"type":18,"value":173},"StructureType",{"type":13,"tag":45,"props":175,"children":176},{"style":63},[177],{"type":18,"value":178},",\n",{"type":13,"tag":45,"props":180,"children":181},{"class":47,"line":78},[182,187,191,196],{"type":13,"tag":45,"props":183,"children":184},{"style":63},[185],{"type":18,"value":186}," p_next",{"type":13,"tag":45,"props":188,"children":189},{"style":52},[190],{"type":18,"value":158},{"type":13,"tag":45,"props":192,"children":193},{"style":52},[194],{"type":18,"value":195}," *mut",{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200}," c_void,\n",{"type":13,"tag":45,"props":202,"children":203},{"class":47,"line":92},[204,209,213,218],{"type":13,"tag":45,"props":205,"children":206},{"style":63},[207],{"type":18,"value":208}," required_subgroup_size",{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":158},{"type":13,"tag":45,"props":214,"children":215},{"style":137},[216],{"type":18,"value":217}," u32",{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":178},{"type":13,"tag":45,"props":223,"children":224},{"class":47,"line":106},[225],{"type":13,"tag":45,"props":226,"children":227},{"style":63},[228],{"type":18,"value":229},"}\n",{"type":13,"tag":14,"props":231,"children":232},{},[233],{"type":18,"value":234},"or the equivalent",{"type":13,"tag":29,"props":236,"children":237},{},[238,257],{"type":13,"tag":33,"props":239,"children":241},{"className":35,"code":240,"filename":37,"language":38,"meta":39,"style":39},"typedef VkPipelineShaderStageRequiredSubgroupSizeCreateInfo VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT;\n",[242],{"type":13,"tag":21,"props":243,"children":244},{"__ignoreMap":39},[245],{"type":13,"tag":45,"props":246,"children":247},{"class":47,"line":48},[248,252],{"type":13,"tag":45,"props":249,"children":250},{"style":52},[251],{"type":18,"value":55},{"type":13,"tag":45,"props":253,"children":254},{"style":63},[255],{"type":18,"value":256}," VkPipelineShaderStageRequiredSubgroupSizeCreateInfo VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT;\n",{"type":13,"tag":33,"props":258,"children":260},{"className":115,"code":259,"filename":117,"language":118,"meta":39,"style":39},"type PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT = vk::PipelineShaderStageRequiredSubgroupSizeCreateInfo;\n",[261],{"type":13,"tag":21,"props":262,"children":263},{"__ignoreMap":39},[264],{"type":13,"tag":45,"props":265,"children":266},{"class":47,"line":48},[267,272,277,282,286,290,295],{"type":13,"tag":45,"props":268,"children":269},{"style":52},[270],{"type":18,"value":271},"type",{"type":13,"tag":45,"props":273,"children":274},{"style":137},[275],{"type":18,"value":276}," PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT",{"type":13,"tag":45,"props":278,"children":279},{"style":52},[280],{"type":18,"value":281}," =",{"type":13,"tag":45,"props":283,"children":284},{"style":137},[285],{"type":18,"value":163},{"type":13,"tag":45,"props":287,"children":288},{"style":52},[289],{"type":18,"value":168},{"type":13,"tag":45,"props":291,"children":292},{"style":137},[293],{"type":18,"value":294},"PipelineShaderStageRequiredSubgroupSizeCreateInfo",{"type":13,"tag":45,"props":296,"children":297},{"style":63},[298],{"type":18,"value":299},";\n",{"type":13,"tag":14,"props":301,"children":302},{},[303],{"type":18,"value":304},"or the equiavlent",{"type":13,"tag":29,"props":306,"children":307},{},[308,327],{"type":13,"tag":33,"props":309,"children":311},{"className":35,"code":310,"filename":37,"language":38,"meta":39,"style":39},"typedef VkPipelineShaderStageRequiredSubgroupSizeCreateInfo VkShaderRequiredSubgroupSizeCreateInfoEXT;\n",[312],{"type":13,"tag":21,"props":313,"children":314},{"__ignoreMap":39},[315],{"type":13,"tag":45,"props":316,"children":317},{"class":47,"line":48},[318,322],{"type":13,"tag":45,"props":319,"children":320},{"style":52},[321],{"type":18,"value":55},{"type":13,"tag":45,"props":323,"children":324},{"style":63},[325],{"type":18,"value":326}," VkPipelineShaderStageRequiredSubgroupSizeCreateInfo VkShaderRequiredSubgroupSizeCreateInfoEXT;\n",{"type":13,"tag":33,"props":328,"children":330},{"className":115,"code":329,"filename":117,"language":118,"meta":39,"style":39},"type ShaderRequiredSubgroupSizeCreateInfoEXT = vk::PipelineShaderStageRequiredSubgroupSizeCreateInfo;\n",[331],{"type":13,"tag":21,"props":332,"children":333},{"__ignoreMap":39},[334],{"type":13,"tag":45,"props":335,"children":336},{"class":47,"line":48},[337,341,346,350,354,358,362],{"type":13,"tag":45,"props":338,"children":339},{"style":52},[340],{"type":18,"value":271},{"type":13,"tag":45,"props":342,"children":343},{"style":137},[344],{"type":18,"value":345}," ShaderRequiredSubgroupSizeCreateInfoEXT",{"type":13,"tag":45,"props":347,"children":348},{"style":52},[349],{"type":18,"value":281},{"type":13,"tag":45,"props":351,"children":352},{"style":137},[353],{"type":18,"value":163},{"type":13,"tag":45,"props":355,"children":356},{"style":52},[357],{"type":18,"value":168},{"type":13,"tag":45,"props":359,"children":360},{"style":137},[361],{"type":18,"value":294},{"type":13,"tag":45,"props":363,"children":364},{"style":63},[365],{"type":18,"value":299},{"type":13,"tag":367,"props":368,"children":369},"ul",{},[370,391,410],{"type":13,"tag":371,"props":372,"children":373},"li",{},[374,380,382,389],{"type":13,"tag":21,"props":375,"children":377},{"className":376},[],[378],{"type":18,"value":379},"sType",{"type":18,"value":381}," is a ",{"type":13,"tag":383,"props":384,"children":386},"a",{"href":385},"/man/VkStructureType",[387],{"type":18,"value":388},"VkStructureType",{"type":18,"value":390}," value identifying this structure.",{"type":13,"tag":371,"props":392,"children":393},{},[394,400,402,408],{"type":13,"tag":21,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":399},"pNext",{"type":18,"value":401}," is ",{"type":13,"tag":21,"props":403,"children":405},{"className":404},[],[406],{"type":18,"value":407},"NULL",{"type":18,"value":409}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":371,"props":411,"children":412},{},[413,418,420,426],{"type":13,"tag":414,"props":415,"children":417},"anchor",{"id":416},"pipelines-required-subgroup-size",[],{"type":18,"value":419}," ",{"type":13,"tag":21,"props":421,"children":423},{"className":422},[],[424],{"type":18,"value":425},"requiredSubgroupSize",{"type":18,"value":427}," is an\nunsigned integer value specifying the required subgroup size for the\nnewly created pipeline shader stage.",{"type":13,"tag":14,"props":429,"children":430},{},[431,433,438,440,445,447,453],{"type":18,"value":432},"If a ",{"type":13,"tag":21,"props":434,"children":436},{"className":435},[],[437],{"type":18,"value":4},{"type":18,"value":439}," structure is\nincluded in the ",{"type":13,"tag":21,"props":441,"children":443},{"className":442},[],[444],{"type":18,"value":399},{"type":18,"value":446}," chain of ",{"type":13,"tag":383,"props":448,"children":450},{"href":449},"/man/VkPipelineShaderStageCreateInfo",[451],{"type":18,"value":452},"VkPipelineShaderStageCreateInfo",{"type":18,"value":454},",\nit specifies that the pipeline shader stage being compiled has a required\nsubgroup size.",{"type":13,"tag":14,"props":456,"children":457},{},[458,459,465,467,472,473,479],{"type":18,"value":432},{"type":13,"tag":21,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":464},"VkShaderRequiredSubgroupSizeCreateInfoEXT",{"type":18,"value":466}," structure is included\nin the ",{"type":13,"tag":21,"props":468,"children":470},{"className":469},[],[471],{"type":18,"value":399},{"type":18,"value":446},{"type":13,"tag":383,"props":474,"children":476},{"href":475},"/man/VkShaderCreateInfoEXT",[477],{"type":18,"value":478},"VkShaderCreateInfoEXT",{"type":18,"value":480},", it specifies that\nthe shader being compiled has a required subgroup size.",{"type":13,"tag":482,"props":483,"children":485},"validity-group",{"name":484},"Valid Usage",[486,507,535],{"type":13,"tag":487,"props":488,"children":490},"validity-field",{"name":489},"VUID-VkPipelineShaderStageRequiredSubgroupSizeCreateInfo-requiredSubgroupSize-02760",[491],{"type":13,"tag":14,"props":492,"children":493},{},[494,499,500,505],{"type":13,"tag":21,"props":495,"children":497},{"className":496},[],[498],{"type":18,"value":425},{"type":18,"value":419},{"type":13,"tag":501,"props":502,"children":504},"normative",{"type":503},"must",[],{"type":18,"value":506}," be a power-of-two integer",{"type":13,"tag":487,"props":508,"children":510},{"name":509},"VUID-VkPipelineShaderStageRequiredSubgroupSizeCreateInfo-requiredSubgroupSize-02761",[511],{"type":13,"tag":14,"props":512,"children":513},{},[514,519,520,523,525],{"type":13,"tag":21,"props":515,"children":517},{"className":516},[],[518],{"type":18,"value":425},{"type":18,"value":419},{"type":13,"tag":501,"props":521,"children":522},{"type":503},[],{"type":18,"value":524}," be greater or equal to\n",{"type":13,"tag":383,"props":526,"children":528},{"href":527},"/man/VkPhysicalDeviceSubgroupSizeControlProperties#limits-minSubgroupSize",[529],{"type":13,"tag":21,"props":530,"children":532},{"className":531},[],[533],{"type":18,"value":534},"minSubgroupSize",{"type":13,"tag":487,"props":536,"children":538},{"name":537},"VUID-VkPipelineShaderStageRequiredSubgroupSizeCreateInfo-requiredSubgroupSize-02762",[539],{"type":13,"tag":14,"props":540,"children":541},{},[542,547,548,551,553],{"type":13,"tag":21,"props":543,"children":545},{"className":544},[],[546],{"type":18,"value":425},{"type":18,"value":419},{"type":13,"tag":501,"props":549,"children":550},{"type":503},[],{"type":18,"value":552}," be less than or equal to\n",{"type":13,"tag":383,"props":554,"children":556},{"href":555},"/man/VkPhysicalDeviceSubgroupSizeControlProperties#limits-maxSubgroupSize",[557],{"type":13,"tag":21,"props":558,"children":560},{"className":559},[],[561],{"type":18,"value":562},"maxSubgroupSize",{"type":13,"tag":482,"props":564,"children":566},{"name":565},"Valid Usage (Implicit)",[567],{"type":13,"tag":487,"props":568,"children":570},{"name":569},"VUID-VkPipelineShaderStageRequiredSubgroupSizeCreateInfo-sType-sType",[571],{"type":13,"tag":14,"props":572,"children":573},{},[574,579,580,583,585],{"type":13,"tag":21,"props":575,"children":577},{"className":576},[],[578],{"type":18,"value":379},{"type":18,"value":419},{"type":13,"tag":501,"props":581,"children":582},{"type":503},[],{"type":18,"value":584}," be ",{"type":13,"tag":21,"props":586,"children":588},{"className":587},[],[589],{"type":18,"value":590},"VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO",{"type":13,"tag":592,"props":593,"children":594},"style",{},[595],{"type":18,"value":596},"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":598},[],"markdown",1725732579649]