[{"data":1,"prerenderedAt":183},["ShallowReactive",2],{"HPecsOFhBI":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":182,"_id":4},"NumSubgroups","Number of subgroups in a workgroup","builtins",[],{"type":9,"children":10,"toc":178},"root",[11,24,37],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"numsubgroups",[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],{"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 number of subgroups in the local workgroup.",{"type":12,"tag":38,"props":39,"children":41},"validity-group",{"name":40},"Valid Usage",[42,119,159],{"type":12,"tag":43,"props":44,"children":46},"validity-field",{"name":45},"VUID-NumSubgroups-NumSubgroups-04293",[47,102],{"type":12,"tag":25,"props":48,"children":49},{},[50,52,57,59,64,66,72,74,80,81,87,88,94,96],{"type":23,"value":51},"The ",{"type":12,"tag":18,"props":53,"children":55},{"className":54},[],[56],{"type":23,"value":4},{"type":23,"value":58}," decoration ",{"type":12,"tag":60,"props":61,"children":63},"normative",{"type":62},"must",[],{"type":23,"value":65}," be used only within the\n",{"type":12,"tag":18,"props":67,"children":69},{"className":68},[],[70],{"type":23,"value":71},"GLCompute",{"type":23,"value":73},", ",{"type":12,"tag":18,"props":75,"children":77},{"className":76},[],[78],{"type":23,"value":79},"MeshEXT",{"type":23,"value":73},{"type":12,"tag":18,"props":82,"children":84},{"className":83},[],[85],{"type":23,"value":86},"TaskEXT",{"type":23,"value":73},{"type":12,"tag":18,"props":89,"children":91},{"className":90},[],[92],{"type":23,"value":93},"MeshNV",{"type":23,"value":95},", or ",{"type":12,"tag":18,"props":97,"children":99},{"className":98},[],[100],{"type":23,"value":101},"TaskNV",{"type":12,"tag":25,"props":103,"children":104},{},[105,111,113],{"type":12,"tag":18,"props":106,"children":108},{"className":107},[],[109],{"type":23,"value":110},"Execution",{"type":23,"value":112}," ",{"type":12,"tag":18,"props":114,"children":116},{"className":115},[],[117],{"type":23,"value":118},"Model",{"type":12,"tag":43,"props":120,"children":122},{"name":121},"VUID-NumSubgroups-NumSubgroups-04294",[123],{"type":12,"tag":25,"props":124,"children":125},{},[126,128,133,134,137,139,145,146,152,153],{"type":23,"value":127},"The variable decorated with ",{"type":12,"tag":18,"props":129,"children":131},{"className":130},[],[132],{"type":23,"value":4},{"type":23,"value":112},{"type":12,"tag":60,"props":135,"children":136},{"type":62},[],{"type":23,"value":138}," be declared using\nthe ",{"type":12,"tag":18,"props":140,"children":142},{"className":141},[],[143],{"type":23,"value":144},"Input",{"type":23,"value":112},{"type":12,"tag":18,"props":147,"children":149},{"className":148},[],[150],{"type":23,"value":151},"Storage",{"type":23,"value":112},{"type":12,"tag":18,"props":154,"children":156},{"className":155},[],[157],{"type":23,"value":158},"Class",{"type":12,"tag":43,"props":160,"children":162},{"name":161},"VUID-NumSubgroups-NumSubgroups-04295",[163],{"type":12,"tag":25,"props":164,"children":165},{},[166,167,172,173,176],{"type":23,"value":127},{"type":12,"tag":18,"props":168,"children":170},{"className":169},[],[171],{"type":23,"value":4},{"type":23,"value":112},{"type":12,"tag":60,"props":174,"children":175},{"type":62},[],{"type":23,"value":177}," be declared as a\nscalar 32-bit integer value",{"title":179,"searchDepth":180,"depth":180,"links":181},"",2,[],"markdown",1729612425605]