[{"data":1,"prerenderedAt":747},["ShallowReactive",2],{"dgiJhxJxpT":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":746,"_id":4},"VkGraphicsShaderGroupCreateInfoNV","Structure specifying override parameters for each shader group","VK_NV_device_generated_commands","structs",[],{"type":10,"children":11,"toc":744},"root",[12,28,401,519,630,738],{"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 provides the state\noverrides for each shader group.\nEach shader group behaves like a pipeline that was created from its state as\nwell as the remaining parent’s state.\nIt is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,185],{"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 VkGraphicsShaderGroupCreateInfoNV {\n VkStructureType sType;\n const void* pNext;\n uint32_t stageCount;\n const VkPipelineShaderStageCreateInfo* pStages;\n const VkPipelineVertexInputStateCreateInfo* pVertexInputState;\n const VkPipelineTessellationStateCreateInfo* pTessellationState;\n} VkGraphicsShaderGroupCreateInfoNV;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109,132,154,176],{"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}," VkGraphicsShaderGroupCreateInfoNV {\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}," uint32_t",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," stageCount;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113,117,122,127],{"type":13,"tag":45,"props":114,"children":115},{"style":52},[116],{"type":18,"value":84},{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," VkPipelineShaderStageCreateInfo",{"type":13,"tag":45,"props":123,"children":124},{"style":52},[125],{"type":18,"value":126},"*",{"type":13,"tag":45,"props":128,"children":129},{"style":63},[130],{"type":18,"value":131}," pStages;\n",{"type":13,"tag":45,"props":133,"children":135},{"class":47,"line":134},6,[136,140,145,149],{"type":13,"tag":45,"props":137,"children":138},{"style":52},[139],{"type":18,"value":84},{"type":13,"tag":45,"props":141,"children":142},{"style":63},[143],{"type":18,"value":144}," VkPipelineVertexInputStateCreateInfo",{"type":13,"tag":45,"props":146,"children":147},{"style":52},[148],{"type":18,"value":126},{"type":13,"tag":45,"props":150,"children":151},{"style":63},[152],{"type":18,"value":153}," pVertexInputState;\n",{"type":13,"tag":45,"props":155,"children":157},{"class":47,"line":156},7,[158,162,167,171],{"type":13,"tag":45,"props":159,"children":160},{"style":52},[161],{"type":18,"value":84},{"type":13,"tag":45,"props":163,"children":164},{"style":63},[165],{"type":18,"value":166}," VkPipelineTessellationStateCreateInfo",{"type":13,"tag":45,"props":168,"children":169},{"style":52},[170],{"type":18,"value":126},{"type":13,"tag":45,"props":172,"children":173},{"style":63},[174],{"type":18,"value":175}," pTessellationState;\n",{"type":13,"tag":45,"props":177,"children":179},{"class":47,"line":178},8,[180],{"type":13,"tag":45,"props":181,"children":182},{"style":63},[183],{"type":18,"value":184},"} VkGraphicsShaderGroupCreateInfoNV;\n",{"type":13,"tag":33,"props":186,"children":191},{"className":187,"code":188,"filename":189,"language":190,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct GraphicsShaderGroupCreateInfoNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n stage_count: u32,\n p_stages: *const vk::PipelineShaderStageCreateInfo,\n p_vertex_input_state: *const vk::PipelineVertexInputStateCreateInfo,\n p_tessellation_state: *const vk::PipelineTessellationStateCreateInfo,\n}\n","Rust","rs",[192],{"type":13,"tag":21,"props":193,"children":194},{"__ignoreMap":39},[195,218,251,273,294,327,360,393],{"type":13,"tag":45,"props":196,"children":197},{"class":47,"line":48},[198,203,207,213],{"type":13,"tag":45,"props":199,"children":200},{"style":52},[201],{"type":18,"value":202},"pub",{"type":13,"tag":45,"props":204,"children":205},{"style":52},[206],{"type":18,"value":60},{"type":13,"tag":45,"props":208,"children":210},{"style":209},"--shiki-default:#953800;--shiki-dark:#FFA657",[211],{"type":18,"value":212}," GraphicsShaderGroupCreateInfoNV",{"type":13,"tag":45,"props":214,"children":215},{"style":63},[216],{"type":18,"value":217}," {\n",{"type":13,"tag":45,"props":219,"children":220},{"class":47,"line":69},[221,226,231,236,241,246],{"type":13,"tag":45,"props":222,"children":223},{"style":63},[224],{"type":18,"value":225}," s_type",{"type":13,"tag":45,"props":227,"children":228},{"style":52},[229],{"type":18,"value":230},":",{"type":13,"tag":45,"props":232,"children":233},{"style":209},[234],{"type":18,"value":235}," vk",{"type":13,"tag":45,"props":237,"children":238},{"style":52},[239],{"type":18,"value":240},"::",{"type":13,"tag":45,"props":242,"children":243},{"style":209},[244],{"type":18,"value":245},"StructureType",{"type":13,"tag":45,"props":247,"children":248},{"style":63},[249],{"type":18,"value":250},",\n",{"type":13,"tag":45,"props":252,"children":253},{"class":47,"line":78},[254,259,263,268],{"type":13,"tag":45,"props":255,"children":256},{"style":63},[257],{"type":18,"value":258}," p_next",{"type":13,"tag":45,"props":260,"children":261},{"style":52},[262],{"type":18,"value":230},{"type":13,"tag":45,"props":264,"children":265},{"style":52},[266],{"type":18,"value":267}," *const",{"type":13,"tag":45,"props":269,"children":270},{"style":63},[271],{"type":18,"value":272}," c_void,\n",{"type":13,"tag":45,"props":274,"children":275},{"class":47,"line":97},[276,281,285,290],{"type":13,"tag":45,"props":277,"children":278},{"style":63},[279],{"type":18,"value":280}," stage_count",{"type":13,"tag":45,"props":282,"children":283},{"style":52},[284],{"type":18,"value":230},{"type":13,"tag":45,"props":286,"children":287},{"style":209},[288],{"type":18,"value":289}," u32",{"type":13,"tag":45,"props":291,"children":292},{"style":63},[293],{"type":18,"value":250},{"type":13,"tag":45,"props":295,"children":296},{"class":47,"line":111},[297,302,306,310,314,318,323],{"type":13,"tag":45,"props":298,"children":299},{"style":63},[300],{"type":18,"value":301}," p_stages",{"type":13,"tag":45,"props":303,"children":304},{"style":52},[305],{"type":18,"value":230},{"type":13,"tag":45,"props":307,"children":308},{"style":52},[309],{"type":18,"value":267},{"type":13,"tag":45,"props":311,"children":312},{"style":209},[313],{"type":18,"value":235},{"type":13,"tag":45,"props":315,"children":316},{"style":52},[317],{"type":18,"value":240},{"type":13,"tag":45,"props":319,"children":320},{"style":209},[321],{"type":18,"value":322},"PipelineShaderStageCreateInfo",{"type":13,"tag":45,"props":324,"children":325},{"style":63},[326],{"type":18,"value":250},{"type":13,"tag":45,"props":328,"children":329},{"class":47,"line":134},[330,335,339,343,347,351,356],{"type":13,"tag":45,"props":331,"children":332},{"style":63},[333],{"type":18,"value":334}," p_vertex_input_state",{"type":13,"tag":45,"props":336,"children":337},{"style":52},[338],{"type":18,"value":230},{"type":13,"tag":45,"props":340,"children":341},{"style":52},[342],{"type":18,"value":267},{"type":13,"tag":45,"props":344,"children":345},{"style":209},[346],{"type":18,"value":235},{"type":13,"tag":45,"props":348,"children":349},{"style":52},[350],{"type":18,"value":240},{"type":13,"tag":45,"props":352,"children":353},{"style":209},[354],{"type":18,"value":355},"PipelineVertexInputStateCreateInfo",{"type":13,"tag":45,"props":357,"children":358},{"style":63},[359],{"type":18,"value":250},{"type":13,"tag":45,"props":361,"children":362},{"class":47,"line":156},[363,368,372,376,380,384,389],{"type":13,"tag":45,"props":364,"children":365},{"style":63},[366],{"type":18,"value":367}," p_tessellation_state",{"type":13,"tag":45,"props":369,"children":370},{"style":52},[371],{"type":18,"value":230},{"type":13,"tag":45,"props":373,"children":374},{"style":52},[375],{"type":18,"value":267},{"type":13,"tag":45,"props":377,"children":378},{"style":209},[379],{"type":18,"value":235},{"type":13,"tag":45,"props":381,"children":382},{"style":52},[383],{"type":18,"value":240},{"type":13,"tag":45,"props":385,"children":386},{"style":209},[387],{"type":18,"value":388},"PipelineTessellationStateCreateInfo",{"type":13,"tag":45,"props":390,"children":391},{"style":63},[392],{"type":18,"value":250},{"type":13,"tag":45,"props":394,"children":395},{"class":47,"line":178},[396],{"type":13,"tag":45,"props":397,"children":398},{"style":63},[399],{"type":18,"value":400},"}\n",{"type":13,"tag":402,"props":403,"children":404},"ul",{},[405,426,445,464,482,501],{"type":13,"tag":406,"props":407,"children":408},"li",{},[409,415,417,424],{"type":13,"tag":21,"props":410,"children":412},{"className":411},[],[413],{"type":18,"value":414},"sType",{"type":18,"value":416}," is a ",{"type":13,"tag":418,"props":419,"children":421},"a",{"href":420},"/man/VkStructureType",[422],{"type":18,"value":423},"VkStructureType",{"type":18,"value":425}," value identifying this structure.",{"type":13,"tag":406,"props":427,"children":428},{},[429,435,437,443],{"type":13,"tag":21,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":434},"pNext",{"type":18,"value":436}," is ",{"type":13,"tag":21,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":442},"NULL",{"type":18,"value":444}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":406,"props":446,"children":447},{},[448,454,456,462],{"type":13,"tag":21,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":453},"stageCount",{"type":18,"value":455}," is the number of entries in the ",{"type":13,"tag":21,"props":457,"children":459},{"className":458},[],[460],{"type":18,"value":461},"pStages",{"type":18,"value":463}," array.",{"type":13,"tag":406,"props":465,"children":466},{},[467,472,474,480],{"type":13,"tag":21,"props":468,"children":470},{"className":469},[],[471],{"type":18,"value":461},{"type":18,"value":473}," is a pointer to an array\n",{"type":13,"tag":418,"props":475,"children":477},{"href":476},"/man/VkPipelineShaderStageCreateInfo",[478],{"type":18,"value":479},"VkPipelineShaderStageCreateInfo",{"type":18,"value":481}," structures specifying the set of\nthe shader stages to be included in this shader group.",{"type":13,"tag":406,"props":483,"children":484},{},[485,491,493,499],{"type":13,"tag":21,"props":486,"children":488},{"className":487},[],[489],{"type":18,"value":490},"pVertexInputState",{"type":18,"value":492}," is a pointer to a\n",{"type":13,"tag":418,"props":494,"children":496},{"href":495},"/man/VkPipelineVertexInputStateCreateInfo",[497],{"type":18,"value":498},"VkPipelineVertexInputStateCreateInfo",{"type":18,"value":500}," structure.",{"type":13,"tag":406,"props":502,"children":503},{},[504,510,511,517],{"type":13,"tag":21,"props":505,"children":507},{"className":506},[],[508],{"type":18,"value":509},"pTessellationState",{"type":18,"value":492},{"type":13,"tag":418,"props":512,"children":514},{"href":513},"/man/VkPipelineTessellationStateCreateInfo",[515],{"type":18,"value":516},"VkPipelineTessellationStateCreateInfo",{"type":18,"value":518}," structure, and is ignored if\nthe shader group does not include a tessellation control shader stage\nand tessellation evaluation shader stage.",{"type":13,"tag":520,"props":521,"children":523},"validity-group",{"name":522},"Valid Usage",[524,555,580,605],{"type":13,"tag":525,"props":526,"children":528},"validity-field",{"name":527},"VUID-VkGraphicsShaderGroupCreateInfoNV-stageCount-02888",[529],{"type":13,"tag":14,"props":530,"children":531},{},[532,534,539,541,547,548,553],{"type":18,"value":533},"For ",{"type":13,"tag":21,"props":535,"children":537},{"className":536},[],[538],{"type":18,"value":453},{"type":18,"value":540},", the same restrictions as in\n",{"type":13,"tag":418,"props":542,"children":544},{"href":543},"/man/VkGraphicsPipelineCreateInfo",[545],{"type":18,"value":546},"VkGraphicsPipelineCreateInfo",{"type":18,"value":240},{"type":13,"tag":21,"props":549,"children":551},{"className":550},[],[552],{"type":18,"value":453},{"type":18,"value":554}," apply",{"type":13,"tag":525,"props":556,"children":558},{"name":557},"VUID-VkGraphicsShaderGroupCreateInfoNV-pStages-02889",[559],{"type":13,"tag":14,"props":560,"children":561},{},[562,563,568,569,573,574,579],{"type":18,"value":533},{"type":13,"tag":21,"props":564,"children":566},{"className":565},[],[567],{"type":18,"value":461},{"type":18,"value":540},{"type":13,"tag":418,"props":570,"children":571},{"href":543},[572],{"type":18,"value":546},{"type":18,"value":240},{"type":13,"tag":21,"props":575,"children":577},{"className":576},[],[578],{"type":18,"value":461},{"type":18,"value":554},{"type":13,"tag":525,"props":581,"children":583},{"name":582},"VUID-VkGraphicsShaderGroupCreateInfoNV-pVertexInputState-02890",[584],{"type":13,"tag":14,"props":585,"children":586},{},[587,588,593,594,598,599,604],{"type":18,"value":533},{"type":13,"tag":21,"props":589,"children":591},{"className":590},[],[592],{"type":18,"value":490},{"type":18,"value":540},{"type":13,"tag":418,"props":595,"children":596},{"href":543},[597],{"type":18,"value":546},{"type":18,"value":240},{"type":13,"tag":21,"props":600,"children":602},{"className":601},[],[603],{"type":18,"value":490},{"type":18,"value":554},{"type":13,"tag":525,"props":606,"children":608},{"name":607},"VUID-VkGraphicsShaderGroupCreateInfoNV-pTessellationState-02891",[609],{"type":13,"tag":14,"props":610,"children":611},{},[612,613,618,619,623,624,629],{"type":18,"value":533},{"type":13,"tag":21,"props":614,"children":616},{"className":615},[],[617],{"type":18,"value":509},{"type":18,"value":540},{"type":13,"tag":418,"props":620,"children":621},{"href":543},[622],{"type":18,"value":546},{"type":18,"value":240},{"type":13,"tag":21,"props":625,"children":627},{"className":626},[],[628],{"type":18,"value":509},{"type":18,"value":554},{"type":13,"tag":520,"props":631,"children":633},{"name":632},"Valid Usage (Implicit)",[634,661,683,714],{"type":13,"tag":525,"props":635,"children":637},{"name":636},"VUID-VkGraphicsShaderGroupCreateInfoNV-sType-sType",[638],{"type":13,"tag":14,"props":639,"children":640},{},[641,646,648,653,655],{"type":13,"tag":21,"props":642,"children":644},{"className":643},[],[645],{"type":18,"value":414},{"type":18,"value":647}," ",{"type":13,"tag":649,"props":650,"children":652},"normative",{"type":651},"must",[],{"type":18,"value":654}," be ",{"type":13,"tag":21,"props":656,"children":658},{"className":657},[],[659],{"type":18,"value":660},"VK_STRUCTURE_TYPE_GRAPHICS_SHADER_GROUP_CREATE_INFO_NV",{"type":13,"tag":525,"props":662,"children":664},{"name":663},"VUID-VkGraphicsShaderGroupCreateInfoNV-pNext-pNext",[665],{"type":13,"tag":14,"props":666,"children":667},{},[668,673,674,677,678],{"type":13,"tag":21,"props":669,"children":671},{"className":670},[],[672],{"type":18,"value":434},{"type":18,"value":647},{"type":13,"tag":649,"props":675,"children":676},{"type":651},[],{"type":18,"value":654},{"type":13,"tag":21,"props":679,"children":681},{"className":680},[],[682],{"type":18,"value":442},{"type":13,"tag":525,"props":684,"children":686},{"name":685},"VUID-VkGraphicsShaderGroupCreateInfoNV-pStages-parameter",[687],{"type":13,"tag":14,"props":688,"children":689},{},[690,695,696,699,701,706,708,712],{"type":13,"tag":21,"props":691,"children":693},{"className":692},[],[694],{"type":18,"value":461},{"type":18,"value":647},{"type":13,"tag":649,"props":697,"children":698},{"type":651},[],{"type":18,"value":700}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":702,"children":704},{"className":703},[],[705],{"type":18,"value":453},{"type":18,"value":707}," valid ",{"type":13,"tag":418,"props":709,"children":710},{"href":476},[711],{"type":18,"value":479},{"type":18,"value":713}," structures",{"type":13,"tag":525,"props":715,"children":717},{"name":716},"VUID-VkGraphicsShaderGroupCreateInfoNV-stageCount-arraylength",[718],{"type":13,"tag":14,"props":719,"children":720},{},[721,726,727,730,732],{"type":13,"tag":21,"props":722,"children":724},{"className":723},[],[725],{"type":18,"value":453},{"type":18,"value":647},{"type":13,"tag":649,"props":728,"children":729},{"type":651},[],{"type":18,"value":731}," be greater than ",{"type":13,"tag":21,"props":733,"children":735},{"className":734},[],[736],{"type":18,"value":737},"0",{"type":13,"tag":739,"props":740,"children":741},"style",{},[742],{"type":18,"value":743},"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":745},[],"markdown",1729612450613]