[{"data":1,"prerenderedAt":609},["ShallowReactive",2],{"Tlmh6NoDnV":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":608,"_id":4},"VkPipelineFragmentShadingRateEnumStateCreateInfoNV","Structure specifying parameters controlling the fragment shading rate using rate enums","VK_NV_fragment_shading_rate_enums","structs",[],{"type":10,"children":11,"toc":606},"root",[12,28,355,491,518,567,600],{"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,153],{"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 VkPipelineFragmentShadingRateEnumStateCreateInfoNV {\n VkStructureType sType;\n const void* pNext;\n VkFragmentShadingRateTypeNV shadingRateType;\n VkFragmentShadingRateNV shadingRate;\n VkFragmentShadingRateCombinerOpKHR combinerOps[2];\n} VkPipelineFragmentShadingRateEnumStateCreateInfoNV;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113,144],{"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}," VkPipelineFragmentShadingRateEnumStateCreateInfoNV {\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],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkFragmentShadingRateTypeNV shadingRateType;\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}," VkFragmentShadingRateNV shadingRate;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117,122,128,133,139],{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," VkFragmentShadingRateCombinerOpKHR ",{"type":13,"tag":45,"props":123,"children":125},{"style":124},"--shiki-default:#953800;--shiki-dark:#FFA657",[126],{"type":18,"value":127},"combinerOps",{"type":13,"tag":45,"props":129,"children":130},{"style":63},[131],{"type":18,"value":132},"[",{"type":13,"tag":45,"props":134,"children":136},{"style":135},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[137],{"type":18,"value":138},"2",{"type":13,"tag":45,"props":140,"children":141},{"style":63},[142],{"type":18,"value":143},"];\n",{"type":13,"tag":45,"props":145,"children":147},{"class":47,"line":146},7,[148],{"type":13,"tag":45,"props":149,"children":150},{"style":63},[151],{"type":18,"value":152},"} VkPipelineFragmentShadingRateEnumStateCreateInfoNV;\n",{"type":13,"tag":33,"props":154,"children":159},{"className":155,"code":156,"filename":157,"language":158,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PipelineFragmentShadingRateEnumStateCreateInfoNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n shading_rate_type: vk::FragmentShadingRateTypeNV,\n shading_rate: vk::FragmentShadingRateNV,\n combiner_ops: *const [vk::FragmentShadingRateCombinerOpKHR ; 2],\n}\n","Rust","rs",[160],{"type":13,"tag":21,"props":161,"children":162},{"__ignoreMap":39},[163,185,218,240,269,298,347],{"type":13,"tag":45,"props":164,"children":165},{"class":47,"line":48},[166,171,175,180],{"type":13,"tag":45,"props":167,"children":168},{"style":52},[169],{"type":18,"value":170},"pub",{"type":13,"tag":45,"props":172,"children":173},{"style":52},[174],{"type":18,"value":60},{"type":13,"tag":45,"props":176,"children":177},{"style":124},[178],{"type":18,"value":179}," PipelineFragmentShadingRateEnumStateCreateInfoNV",{"type":13,"tag":45,"props":181,"children":182},{"style":63},[183],{"type":18,"value":184}," {\n",{"type":13,"tag":45,"props":186,"children":187},{"class":47,"line":69},[188,193,198,203,208,213],{"type":13,"tag":45,"props":189,"children":190},{"style":63},[191],{"type":18,"value":192}," s_type",{"type":13,"tag":45,"props":194,"children":195},{"style":52},[196],{"type":18,"value":197},":",{"type":13,"tag":45,"props":199,"children":200},{"style":124},[201],{"type":18,"value":202}," vk",{"type":13,"tag":45,"props":204,"children":205},{"style":52},[206],{"type":18,"value":207},"::",{"type":13,"tag":45,"props":209,"children":210},{"style":124},[211],{"type":18,"value":212},"StructureType",{"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":78},[221,226,230,235],{"type":13,"tag":45,"props":222,"children":223},{"style":63},[224],{"type":18,"value":225}," p_next",{"type":13,"tag":45,"props":227,"children":228},{"style":52},[229],{"type":18,"value":197},{"type":13,"tag":45,"props":231,"children":232},{"style":52},[233],{"type":18,"value":234}," *const",{"type":13,"tag":45,"props":236,"children":237},{"style":63},[238],{"type":18,"value":239}," c_void,\n",{"type":13,"tag":45,"props":241,"children":242},{"class":47,"line":97},[243,248,252,256,260,265],{"type":13,"tag":45,"props":244,"children":245},{"style":63},[246],{"type":18,"value":247}," shading_rate_type",{"type":13,"tag":45,"props":249,"children":250},{"style":52},[251],{"type":18,"value":197},{"type":13,"tag":45,"props":253,"children":254},{"style":124},[255],{"type":18,"value":202},{"type":13,"tag":45,"props":257,"children":258},{"style":52},[259],{"type":18,"value":207},{"type":13,"tag":45,"props":261,"children":262},{"style":124},[263],{"type":18,"value":264},"FragmentShadingRateTypeNV",{"type":13,"tag":45,"props":266,"children":267},{"style":63},[268],{"type":18,"value":217},{"type":13,"tag":45,"props":270,"children":271},{"class":47,"line":106},[272,277,281,285,289,294],{"type":13,"tag":45,"props":273,"children":274},{"style":63},[275],{"type":18,"value":276}," shading_rate",{"type":13,"tag":45,"props":278,"children":279},{"style":52},[280],{"type":18,"value":197},{"type":13,"tag":45,"props":282,"children":283},{"style":124},[284],{"type":18,"value":202},{"type":13,"tag":45,"props":286,"children":287},{"style":52},[288],{"type":18,"value":207},{"type":13,"tag":45,"props":290,"children":291},{"style":124},[292],{"type":18,"value":293},"FragmentShadingRateNV",{"type":13,"tag":45,"props":295,"children":296},{"style":63},[297],{"type":18,"value":217},{"type":13,"tag":45,"props":299,"children":300},{"class":47,"line":115},[301,306,310,314,319,324,328,333,338,342],{"type":13,"tag":45,"props":302,"children":303},{"style":63},[304],{"type":18,"value":305}," combiner_ops",{"type":13,"tag":45,"props":307,"children":308},{"style":52},[309],{"type":18,"value":197},{"type":13,"tag":45,"props":311,"children":312},{"style":52},[313],{"type":18,"value":234},{"type":13,"tag":45,"props":315,"children":316},{"style":63},[317],{"type":18,"value":318}," [",{"type":13,"tag":45,"props":320,"children":321},{"style":124},[322],{"type":18,"value":323},"vk",{"type":13,"tag":45,"props":325,"children":326},{"style":52},[327],{"type":18,"value":207},{"type":13,"tag":45,"props":329,"children":330},{"style":124},[331],{"type":18,"value":332},"FragmentShadingRateCombinerOpKHR",{"type":13,"tag":45,"props":334,"children":335},{"style":63},[336],{"type":18,"value":337}," ; ",{"type":13,"tag":45,"props":339,"children":340},{"style":135},[341],{"type":18,"value":138},{"type":13,"tag":45,"props":343,"children":344},{"style":63},[345],{"type":18,"value":346},"],\n",{"type":13,"tag":45,"props":348,"children":349},{"class":47,"line":146},[350],{"type":13,"tag":45,"props":351,"children":352},{"style":63},[353],{"type":18,"value":354},"}\n",{"type":13,"tag":356,"props":357,"children":358},"ul",{},[359,380,399,426,442],{"type":13,"tag":360,"props":361,"children":362},"li",{},[363,369,371,378],{"type":13,"tag":21,"props":364,"children":366},{"className":365},[],[367],{"type":18,"value":368},"sType",{"type":18,"value":370}," is a ",{"type":13,"tag":372,"props":373,"children":375},"a",{"href":374},"/man/VkStructureType",[376],{"type":18,"value":377},"VkStructureType",{"type":18,"value":379}," value identifying this structure.",{"type":13,"tag":360,"props":381,"children":382},{},[383,389,391,397],{"type":13,"tag":21,"props":384,"children":386},{"className":385},[],[387],{"type":18,"value":388},"pNext",{"type":18,"value":390}," is ",{"type":13,"tag":21,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":396},"NULL",{"type":18,"value":398}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":360,"props":400,"children":401},{},[402,408,410,416,418,424],{"type":13,"tag":21,"props":403,"children":405},{"className":404},[],[406],{"type":18,"value":407},"shadingRateType",{"type":18,"value":409}," specifies a ",{"type":13,"tag":372,"props":411,"children":413},{"href":412},"/man/VkFragmentShadingRateTypeNV",[414],{"type":18,"value":415},"VkFragmentShadingRateTypeNV",{"type":18,"value":417},"\nvalue indicating whether fragment shading rates are specified using\nfragment sizes or ",{"type":13,"tag":372,"props":419,"children":421},{"href":420},"/man/VkFragmentShadingRateNV",[422],{"type":18,"value":423},"VkFragmentShadingRateNV",{"type":18,"value":425}," enums.",{"type":13,"tag":360,"props":427,"children":428},{},[429,435,436,440],{"type":13,"tag":21,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":434},"shadingRate",{"type":18,"value":409},{"type":13,"tag":372,"props":437,"children":438},{"href":420},[439],{"type":18,"value":423},{"type":18,"value":441}," value\nindicating the pipeline fragment shading rate.",{"type":13,"tag":360,"props":443,"children":444},{},[445,450,452,458,460,466,467,473,475,481,483,489],{"type":13,"tag":21,"props":446,"children":448},{"className":447},[],[449],{"type":18,"value":127},{"type":18,"value":451}," specifies ",{"type":13,"tag":372,"props":453,"children":455},{"href":454},"/man/VkFragmentShadingRateCombinerOpKHR",[456],{"type":18,"value":457},"VkFragmentShadingRateCombinerOpKHR",{"type":18,"value":459},"\nvalues determining how the\n",{"type":13,"tag":372,"props":461,"children":463},{"href":462},"/chapters/primsrast#primsrast-fragment-shading-rate-pipeline",[464],{"type":18,"value":465},"pipeline",{"type":18,"value":217},{"type":13,"tag":372,"props":468,"children":470},{"href":469},"/chapters/primsrast#primsrast-fragment-shading-rate-primitive",[471],{"type":18,"value":472},"primitive",{"type":18,"value":474},", and\n",{"type":13,"tag":372,"props":476,"children":478},{"href":477},"/chapters/primsrast#primsrast-fragment-shading-rate-attachment",[479],{"type":18,"value":480},"attachment shading rates",{"type":18,"value":482},"\nare ",{"type":13,"tag":372,"props":484,"children":486},{"href":485},"/chapters/primsrast#primsrast-fragment-shading-rate-combining",[487],{"type":18,"value":488},"combined",{"type":18,"value":490}," for fragments\ngenerated by drawing commands using the created pipeline.",{"type":13,"tag":14,"props":492,"children":493},{},[494,496,501,503,509,511,516],{"type":18,"value":495},"If the ",{"type":13,"tag":21,"props":497,"children":499},{"className":498},[],[500],{"type":18,"value":388},{"type":18,"value":502}," chain of ",{"type":13,"tag":372,"props":504,"children":506},{"href":505},"/man/VkGraphicsPipelineCreateInfo",[507],{"type":18,"value":508},"VkGraphicsPipelineCreateInfo",{"type":18,"value":510}," includes a\n",{"type":13,"tag":21,"props":512,"children":514},{"className":513},[],[515],{"type":18,"value":4},{"type":18,"value":517}," structure, then\nthat structure includes parameters controlling the pipeline fragment shading\nrate.",{"type":13,"tag":14,"props":519,"children":520},{},[521,523,528,530,536,537,542,544,550,552,557,559,565],{"type":18,"value":522},"If this structure is not present, ",{"type":13,"tag":21,"props":524,"children":526},{"className":525},[],[527],{"type":18,"value":407},{"type":18,"value":529}," is considered to be\nequal to ",{"type":13,"tag":21,"props":531,"children":533},{"className":532},[],[534],{"type":18,"value":535},"VK_FRAGMENT_SHADING_RATE_TYPE_FRAGMENT_SIZE_NV",{"type":18,"value":217},{"type":13,"tag":21,"props":538,"children":540},{"className":539},[],[541],{"type":18,"value":434},{"type":18,"value":543}," is considered to be equal to\n",{"type":13,"tag":21,"props":545,"children":547},{"className":546},[],[548],{"type":18,"value":549},"VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV",{"type":18,"value":551},", and both elements\nof ",{"type":13,"tag":21,"props":553,"children":555},{"className":554},[],[556],{"type":18,"value":127},{"type":18,"value":558}," are considered to be equal to\n",{"type":13,"tag":21,"props":560,"children":562},{"className":561},[],[563],{"type":18,"value":564},"VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR",{"type":18,"value":566},".",{"type":13,"tag":568,"props":569,"children":571},"validity-group",{"name":570},"Valid Usage (Implicit)",[572],{"type":13,"tag":573,"props":574,"children":576},"validity-field",{"name":575},"VUID-VkPipelineFragmentShadingRateEnumStateCreateInfoNV-sType-sType",[577],{"type":13,"tag":14,"props":578,"children":579},{},[580,585,587,592,594],{"type":13,"tag":21,"props":581,"children":583},{"className":582},[],[584],{"type":18,"value":368},{"type":18,"value":586}," ",{"type":13,"tag":588,"props":589,"children":591},"normative",{"type":590},"must",[],{"type":18,"value":593}," be ",{"type":13,"tag":21,"props":595,"children":597},{"className":596},[],[598],{"type":18,"value":599},"VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_ENUM_STATE_CREATE_INFO_NV",{"type":13,"tag":601,"props":602,"children":603},"style",{},[604],{"type":18,"value":605},"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":607},[],"markdown",1725732578500]