[{"data":1,"prerenderedAt":160},["ShallowReactive",2],{"ZgJR7ejaBX":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":159,"_id":4},"ShadingRateKHR","Shading rate of a fragment","builtins",[],{"type":9,"children":10,"toc":155},"root",[11,24,46],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"shadingratekhr",[17],{"type":12,"tag":18,"props":19,"children":21},"code",{"className":20},[],[22],{"type":23,"value":4},"text",{"type":12,"tag":25,"props":26,"children":27},"p",{},[28,30,35,37,44],{"type":23,"value":29},"Decorating a variable with the ",{"type":12,"tag":18,"props":31,"children":33},{"className":32},[],[34],{"type":23,"value":4},{"type":23,"value":36}," built-in decoration will\nmake that variable contain the ",{"type":12,"tag":38,"props":39,"children":41},"a",{"href":40},"/chapters/primsrast#primsrast-fragment-shading-rate",[42],{"type":23,"value":43},"fragment\nshading rate",{"type":23,"value":45}," for the current fragment invocation.",{"type":12,"tag":47,"props":48,"children":50},"validity-group",{"name":49},"Valid Usage",[51,96,136],{"type":12,"tag":52,"props":53,"children":55},"validity-field",{"name":54},"VUID-ShadingRateKHR-ShadingRateKHR-04490",[56],{"type":12,"tag":25,"props":57,"children":58},{},[59,61,66,68,73,75,81,83,89,90],{"type":23,"value":60},"The ",{"type":12,"tag":18,"props":62,"children":64},{"className":63},[],[65],{"type":23,"value":4},{"type":23,"value":67}," decoration ",{"type":12,"tag":69,"props":70,"children":72},"normative",{"type":71},"must",[],{"type":23,"value":74}," be used only within the\n",{"type":12,"tag":18,"props":76,"children":78},{"className":77},[],[79],{"type":23,"value":80},"Fragment",{"type":23,"value":82}," ",{"type":12,"tag":18,"props":84,"children":86},{"className":85},[],[87],{"type":23,"value":88},"Execution",{"type":23,"value":82},{"type":12,"tag":18,"props":91,"children":93},{"className":92},[],[94],{"type":23,"value":95},"Model",{"type":12,"tag":52,"props":97,"children":99},{"name":98},"VUID-ShadingRateKHR-ShadingRateKHR-04491",[100],{"type":12,"tag":25,"props":101,"children":102},{},[103,105,110,111,114,116,122,123,129,130],{"type":23,"value":104},"The variable decorated with ",{"type":12,"tag":18,"props":106,"children":108},{"className":107},[],[109],{"type":23,"value":4},{"type":23,"value":82},{"type":12,"tag":69,"props":112,"children":113},{"type":71},[],{"type":23,"value":115}," be declared using\nthe ",{"type":12,"tag":18,"props":117,"children":119},{"className":118},[],[120],{"type":23,"value":121},"Input",{"type":23,"value":82},{"type":12,"tag":18,"props":124,"children":126},{"className":125},[],[127],{"type":23,"value":128},"Storage",{"type":23,"value":82},{"type":12,"tag":18,"props":131,"children":133},{"className":132},[],[134],{"type":23,"value":135},"Class",{"type":12,"tag":52,"props":137,"children":139},{"name":138},"VUID-ShadingRateKHR-ShadingRateKHR-04492",[140],{"type":12,"tag":25,"props":141,"children":142},{},[143,144,149,150,153],{"type":23,"value":104},{"type":12,"tag":18,"props":145,"children":147},{"className":146},[],[148],{"type":23,"value":4},{"type":23,"value":82},{"type":12,"tag":69,"props":151,"children":152},{"type":71},[],{"type":23,"value":154}," be declared as a\nscalar 32-bit integer value",{"title":156,"searchDepth":157,"depth":157,"links":158},"",2,[],"markdown",1725732533863]