[{"data":1,"prerenderedAt":160},["ShallowReactive",2],{"Mdkmu3H50G":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":159,"_id":4},"BaryCoordNoPerspCentroidAMD","Barycentric coordinates of a fragment centroid in screen-space","builtins",[],{"type":9,"children":10,"toc":155},"root",[11,24,49],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"barycoordnoperspcentroidamd",[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,42,44,47],{"type":23,"value":29},"The ",{"type":12,"tag":18,"props":31,"children":33},{"className":32},[],[34],{"type":23,"value":4},{"type":23,"value":36}," decoration ",{"type":12,"tag":38,"props":39,"children":41},"normative",{"type":40},"can",[],{"type":23,"value":43}," be used to decorate a\nfragment shader input variable.\nThis variable will contain the (I,J) pair of the barycentric coordinates\ncorresponding to the fragment evaluated using linear interpolation at the\ncentroid.\nThe K coordinate of the barycentric coordinates ",{"type":12,"tag":38,"props":45,"children":46},{"type":40},[],{"type":23,"value":48}," be derived given the\nidentity I + J + K = 1.0.",{"type":12,"tag":50,"props":51,"children":53},"validity-group",{"name":52},"Valid Usage",[54,96,136],{"type":12,"tag":55,"props":56,"children":58},"validity-field",{"name":57},"VUID-BaryCoordNoPerspCentroidAMD-BaryCoordNoPerspCentroidAMD-04163",[59],{"type":12,"tag":25,"props":60,"children":61},{},[62,63,68,69,73,75,81,83,89,90],{"type":23,"value":29},{"type":12,"tag":18,"props":64,"children":66},{"className":65},[],[67],{"type":23,"value":4},{"type":23,"value":36},{"type":12,"tag":38,"props":70,"children":72},{"type":71},"must",[],{"type":23,"value":74}," be used only\nwithin the ",{"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":55,"props":97,"children":99},{"name":98},"VUID-BaryCoordNoPerspCentroidAMD-BaryCoordNoPerspCentroidAMD-04164",[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":38,"props":112,"children":113},{"type":71},[],{"type":23,"value":115}," be\ndeclared using the ",{"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":55,"props":137,"children":139},{"name":138},"VUID-BaryCoordNoPerspCentroidAMD-BaryCoordNoPerspCentroidAMD-04165",[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":38,"props":151,"children":152},{"type":71},[],{"type":23,"value":154}," be\ndeclared as a three-component vector of 32-bit floating-point values",{"title":156,"searchDepth":157,"depth":157,"links":158},"",2,[],"markdown",1725732524563]