[{"data":1,"prerenderedAt":686},["ShallowReactive",2],{"UT7xJcSenU":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":685,"_id":4},"VkFragmentShadingRateCombinerOpKHR","Control how fragment shading rates are combined","VK_KHR_fragment_shading_rate","enums",[],{"type":10,"children":11,"toc":683},"root",[12,28,444,601,629,672,677],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The equation used for each combiner operation is defined by\n",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27},":",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,189],{"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 enum VkFragmentShadingRateCombinerOpKHR {\n VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR = 0,\n VK_FRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_KHR = 1,\n VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MIN_KHR = 2,\n VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MAX_KHR = 3,\n VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHR = 4,\n} VkFragmentShadingRateCombinerOpKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,92,114,136,158,180],{"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}," enum",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkFragmentShadingRateCombinerOpKHR {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71,76,81,87],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR ",{"type":13,"tag":45,"props":77,"children":78},{"style":52},[79],{"type":18,"value":80},"=",{"type":13,"tag":45,"props":82,"children":84},{"style":83},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[85],{"type":18,"value":86}," 0",{"type":13,"tag":45,"props":88,"children":89},{"style":63},[90],{"type":18,"value":91},",\n",{"type":13,"tag":45,"props":93,"children":95},{"class":47,"line":94},3,[96,101,105,110],{"type":13,"tag":45,"props":97,"children":98},{"style":63},[99],{"type":18,"value":100}," VK_FRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_KHR ",{"type":13,"tag":45,"props":102,"children":103},{"style":52},[104],{"type":18,"value":80},{"type":13,"tag":45,"props":106,"children":107},{"style":83},[108],{"type":18,"value":109}," 1",{"type":13,"tag":45,"props":111,"children":112},{"style":63},[113],{"type":18,"value":91},{"type":13,"tag":45,"props":115,"children":117},{"class":47,"line":116},4,[118,123,127,132],{"type":13,"tag":45,"props":119,"children":120},{"style":63},[121],{"type":18,"value":122}," VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MIN_KHR ",{"type":13,"tag":45,"props":124,"children":125},{"style":52},[126],{"type":18,"value":80},{"type":13,"tag":45,"props":128,"children":129},{"style":83},[130],{"type":18,"value":131}," 2",{"type":13,"tag":45,"props":133,"children":134},{"style":63},[135],{"type":18,"value":91},{"type":13,"tag":45,"props":137,"children":139},{"class":47,"line":138},5,[140,145,149,154],{"type":13,"tag":45,"props":141,"children":142},{"style":63},[143],{"type":18,"value":144}," VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MAX_KHR ",{"type":13,"tag":45,"props":146,"children":147},{"style":52},[148],{"type":18,"value":80},{"type":13,"tag":45,"props":150,"children":151},{"style":83},[152],{"type":18,"value":153}," 3",{"type":13,"tag":45,"props":155,"children":156},{"style":63},[157],{"type":18,"value":91},{"type":13,"tag":45,"props":159,"children":161},{"class":47,"line":160},6,[162,167,171,176],{"type":13,"tag":45,"props":163,"children":164},{"style":63},[165],{"type":18,"value":166}," VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHR ",{"type":13,"tag":45,"props":168,"children":169},{"style":52},[170],{"type":18,"value":80},{"type":13,"tag":45,"props":172,"children":173},{"style":83},[174],{"type":18,"value":175}," 4",{"type":13,"tag":45,"props":177,"children":178},{"style":63},[179],{"type":18,"value":91},{"type":13,"tag":45,"props":181,"children":183},{"class":47,"line":182},7,[184],{"type":13,"tag":45,"props":185,"children":186},{"style":63},[187],{"type":18,"value":188},"} VkFragmentShadingRateCombinerOpKHR;\n",{"type":13,"tag":33,"props":190,"children":195},{"className":191,"code":192,"filename":193,"language":194,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct FragmentShadingRateCombinerOpKHR(u32);\nimpl FragmentShadingRateCombinerOpKHR {\n pub const KEEP: Self = 0;\n pub const REPLACE: Self = 1;\n pub const MIN: Self = 2;\n pub const MAX: Self = 3;\n pub const MUL: Self = 4;\n}\n","Rust","rs",[196],{"type":13,"tag":21,"props":197,"children":198},{"__ignoreMap":39},[199,233,250,291,327,363,399,435],{"type":13,"tag":45,"props":200,"children":201},{"class":47,"line":48},[202,207,212,218,223,228],{"type":13,"tag":45,"props":203,"children":204},{"style":52},[205],{"type":18,"value":206},"pub",{"type":13,"tag":45,"props":208,"children":209},{"style":52},[210],{"type":18,"value":211}," struct",{"type":13,"tag":45,"props":213,"children":215},{"style":214},"--shiki-default:#953800;--shiki-dark:#FFA657",[216],{"type":18,"value":217}," FragmentShadingRateCombinerOpKHR",{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":222},"(",{"type":13,"tag":45,"props":224,"children":225},{"style":214},[226],{"type":18,"value":227},"u32",{"type":13,"tag":45,"props":229,"children":230},{"style":63},[231],{"type":18,"value":232},");\n",{"type":13,"tag":45,"props":234,"children":235},{"class":47,"line":69},[236,241,245],{"type":13,"tag":45,"props":237,"children":238},{"style":52},[239],{"type":18,"value":240},"impl",{"type":13,"tag":45,"props":242,"children":243},{"style":214},[244],{"type":18,"value":217},{"type":13,"tag":45,"props":246,"children":247},{"style":63},[248],{"type":18,"value":249}," {\n",{"type":13,"tag":45,"props":251,"children":252},{"class":47,"line":94},[253,258,263,268,272,277,282,286],{"type":13,"tag":45,"props":254,"children":255},{"style":52},[256],{"type":18,"value":257}," pub",{"type":13,"tag":45,"props":259,"children":260},{"style":52},[261],{"type":18,"value":262}," const",{"type":13,"tag":45,"props":264,"children":265},{"style":83},[266],{"type":18,"value":267}," KEEP",{"type":13,"tag":45,"props":269,"children":270},{"style":52},[271],{"type":18,"value":27},{"type":13,"tag":45,"props":273,"children":274},{"style":83},[275],{"type":18,"value":276}," Self",{"type":13,"tag":45,"props":278,"children":279},{"style":52},[280],{"type":18,"value":281}," =",{"type":13,"tag":45,"props":283,"children":284},{"style":83},[285],{"type":18,"value":86},{"type":13,"tag":45,"props":287,"children":288},{"style":63},[289],{"type":18,"value":290},";\n",{"type":13,"tag":45,"props":292,"children":293},{"class":47,"line":116},[294,298,302,307,311,315,319,323],{"type":13,"tag":45,"props":295,"children":296},{"style":52},[297],{"type":18,"value":257},{"type":13,"tag":45,"props":299,"children":300},{"style":52},[301],{"type":18,"value":262},{"type":13,"tag":45,"props":303,"children":304},{"style":83},[305],{"type":18,"value":306}," REPLACE",{"type":13,"tag":45,"props":308,"children":309},{"style":52},[310],{"type":18,"value":27},{"type":13,"tag":45,"props":312,"children":313},{"style":83},[314],{"type":18,"value":276},{"type":13,"tag":45,"props":316,"children":317},{"style":52},[318],{"type":18,"value":281},{"type":13,"tag":45,"props":320,"children":321},{"style":83},[322],{"type":18,"value":109},{"type":13,"tag":45,"props":324,"children":325},{"style":63},[326],{"type":18,"value":290},{"type":13,"tag":45,"props":328,"children":329},{"class":47,"line":138},[330,334,338,343,347,351,355,359],{"type":13,"tag":45,"props":331,"children":332},{"style":52},[333],{"type":18,"value":257},{"type":13,"tag":45,"props":335,"children":336},{"style":52},[337],{"type":18,"value":262},{"type":13,"tag":45,"props":339,"children":340},{"style":83},[341],{"type":18,"value":342}," MIN",{"type":13,"tag":45,"props":344,"children":345},{"style":52},[346],{"type":18,"value":27},{"type":13,"tag":45,"props":348,"children":349},{"style":83},[350],{"type":18,"value":276},{"type":13,"tag":45,"props":352,"children":353},{"style":52},[354],{"type":18,"value":281},{"type":13,"tag":45,"props":356,"children":357},{"style":83},[358],{"type":18,"value":131},{"type":13,"tag":45,"props":360,"children":361},{"style":63},[362],{"type":18,"value":290},{"type":13,"tag":45,"props":364,"children":365},{"class":47,"line":160},[366,370,374,379,383,387,391,395],{"type":13,"tag":45,"props":367,"children":368},{"style":52},[369],{"type":18,"value":257},{"type":13,"tag":45,"props":371,"children":372},{"style":52},[373],{"type":18,"value":262},{"type":13,"tag":45,"props":375,"children":376},{"style":83},[377],{"type":18,"value":378}," MAX",{"type":13,"tag":45,"props":380,"children":381},{"style":52},[382],{"type":18,"value":27},{"type":13,"tag":45,"props":384,"children":385},{"style":83},[386],{"type":18,"value":276},{"type":13,"tag":45,"props":388,"children":389},{"style":52},[390],{"type":18,"value":281},{"type":13,"tag":45,"props":392,"children":393},{"style":83},[394],{"type":18,"value":153},{"type":13,"tag":45,"props":396,"children":397},{"style":63},[398],{"type":18,"value":290},{"type":13,"tag":45,"props":400,"children":401},{"class":47,"line":182},[402,406,410,415,419,423,427,431],{"type":13,"tag":45,"props":403,"children":404},{"style":52},[405],{"type":18,"value":257},{"type":13,"tag":45,"props":407,"children":408},{"style":52},[409],{"type":18,"value":262},{"type":13,"tag":45,"props":411,"children":412},{"style":83},[413],{"type":18,"value":414}," MUL",{"type":13,"tag":45,"props":416,"children":417},{"style":52},[418],{"type":18,"value":27},{"type":13,"tag":45,"props":420,"children":421},{"style":83},[422],{"type":18,"value":276},{"type":13,"tag":45,"props":424,"children":425},{"style":52},[426],{"type":18,"value":281},{"type":13,"tag":45,"props":428,"children":429},{"style":83},[430],{"type":18,"value":175},{"type":13,"tag":45,"props":432,"children":433},{"style":63},[434],{"type":18,"value":290},{"type":13,"tag":45,"props":436,"children":438},{"class":47,"line":437},8,[439],{"type":13,"tag":45,"props":440,"children":441},{"style":63},[442],{"type":18,"value":443},"}\n",{"type":13,"tag":445,"props":446,"children":447},"ul",{},[448,480,507,539,570],{"type":13,"tag":449,"props":450,"children":451},"li",{},[452,458,460,466,468,472,474,478],{"type":13,"tag":21,"props":453,"children":455},{"className":454},[],[456],{"type":18,"value":457},"VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR",{"type":18,"value":459}," specifies a combiner\noperation of combine(A",{"type":13,"tag":461,"props":462,"children":463},"sub",{},[464],{"type":18,"value":465},"xy",{"type":18,"value":467},",B",{"type":13,"tag":461,"props":469,"children":470},{},[471],{"type":18,"value":465},{"type":18,"value":473},") = A",{"type":13,"tag":461,"props":475,"children":476},{},[477],{"type":18,"value":465},{"type":18,"value":479},".",{"type":13,"tag":449,"props":481,"children":482},{},[483,489,491,495,496,500,502,506],{"type":13,"tag":21,"props":484,"children":486},{"className":485},[],[487],{"type":18,"value":488},"VK_FRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_KHR",{"type":18,"value":490}," specifies a\ncombiner operation of combine(A",{"type":13,"tag":461,"props":492,"children":493},{},[494],{"type":18,"value":465},{"type":18,"value":467},{"type":13,"tag":461,"props":497,"children":498},{},[499],{"type":18,"value":465},{"type":18,"value":501},") = B",{"type":13,"tag":461,"props":503,"children":504},{},[505],{"type":18,"value":465},{"type":18,"value":479},{"type":13,"tag":449,"props":508,"children":509},{},[510,516,517,521,522,526,528,532,533,537],{"type":13,"tag":21,"props":511,"children":513},{"className":512},[],[514],{"type":18,"value":515},"VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MIN_KHR",{"type":18,"value":459},{"type":13,"tag":461,"props":518,"children":519},{},[520],{"type":18,"value":465},{"type":18,"value":467},{"type":13,"tag":461,"props":523,"children":524},{},[525],{"type":18,"value":465},{"type":18,"value":527},") = min(A",{"type":13,"tag":461,"props":529,"children":530},{},[531],{"type":18,"value":465},{"type":18,"value":467},{"type":13,"tag":461,"props":534,"children":535},{},[536],{"type":18,"value":465},{"type":18,"value":538},").",{"type":13,"tag":449,"props":540,"children":541},{},[542,548,549,553,554,558,560,564,565,569],{"type":13,"tag":21,"props":543,"children":545},{"className":544},[],[546],{"type":18,"value":547},"VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MAX_KHR",{"type":18,"value":459},{"type":13,"tag":461,"props":550,"children":551},{},[552],{"type":18,"value":465},{"type":18,"value":467},{"type":13,"tag":461,"props":555,"children":556},{},[557],{"type":18,"value":465},{"type":18,"value":559},") = max(A",{"type":13,"tag":461,"props":561,"children":562},{},[563],{"type":18,"value":465},{"type":18,"value":467},{"type":13,"tag":461,"props":566,"children":567},{},[568],{"type":18,"value":465},{"type":18,"value":538},{"type":13,"tag":449,"props":571,"children":572},{},[573,579,580,584,585,589,590,594,596,600],{"type":13,"tag":21,"props":574,"children":576},{"className":575},[],[577],{"type":18,"value":578},"VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHR",{"type":18,"value":459},{"type":13,"tag":461,"props":581,"children":582},{},[583],{"type":18,"value":465},{"type":18,"value":467},{"type":13,"tag":461,"props":586,"children":587},{},[588],{"type":18,"value":465},{"type":18,"value":473},{"type":13,"tag":461,"props":591,"children":592},{},[593],{"type":18,"value":465},{"type":18,"value":595},"*B",{"type":13,"tag":461,"props":597,"children":598},{},[599],{"type":18,"value":465},{"type":18,"value":479},{"type":13,"tag":14,"props":602,"children":603},{},[604,606,610,611,615,617,621,623,627],{"type":18,"value":605},"where combine(A",{"type":13,"tag":461,"props":607,"children":608},{},[609],{"type":18,"value":465},{"type":18,"value":467},{"type":13,"tag":461,"props":612,"children":613},{},[614],{"type":18,"value":465},{"type":18,"value":616},") is the combine operation, and A",{"type":13,"tag":461,"props":618,"children":619},{},[620],{"type":18,"value":465},{"type":18,"value":622},"\nand B",{"type":13,"tag":461,"props":624,"children":625},{},[626],{"type":18,"value":465},{"type":18,"value":628}," are the inputs to the operation.",{"type":13,"tag":14,"props":630,"children":631},{},[632,634,645,647,653,655,660,662,670],{"type":18,"value":633},"If ",{"type":13,"tag":635,"props":636,"children":638},"a",{"href":637},"/man/VkPhysicalDeviceFragmentShadingRatePropertiesKHR#limits-fragmentShadingRateStrictMultiplyCombiner",[639],{"type":13,"tag":21,"props":640,"children":642},{"className":641},[],[643],{"type":18,"value":644},"fragmentShadingRateStrictMultiplyCombiner",{"type":18,"value":646}," is ",{"type":13,"tag":21,"props":648,"children":650},{"className":649},[],[651],{"type":18,"value":652},"VK_FALSE",{"type":18,"value":654},", using\n",{"type":13,"tag":21,"props":656,"children":658},{"className":657},[],[659],{"type":18,"value":578},{"type":18,"value":661}," with values of 1 for both\nA and B in the same dimension results in the value 2 being produced for that\ndimension.\nSee the definition of ",{"type":13,"tag":635,"props":663,"children":664},{"href":637},[665],{"type":13,"tag":21,"props":666,"children":668},{"className":667},[],[669],{"type":18,"value":644},{"type":18,"value":671}," for more information.",{"type":13,"tag":14,"props":673,"children":674},{},[675],{"type":18,"value":676},"These operations are performed in a component-wise fashion.",{"type":13,"tag":678,"props":679,"children":680},"style",{},[681],{"type":18,"value":682},"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":684},[],"markdown",1725732554093]