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