[{"data":1,"prerenderedAt":118},["ShallowReactive",2],{"rSlSrnCOfm":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":117,"_id":4},"SMIDNV","SM ID on which a shader invocation is running","builtins",[],{"type":9,"children":10,"toc":113},"root",[11,24,45],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"smidnv",[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,43],{"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 make\nthat variable contain the ID of the SM on which the current shader\ninvocation is running.\nThis variable is in the range [0, ",{"type":12,"tag":18,"props":38,"children":40},{"className":39},[],[41],{"type":23,"value":42},"SMCountNV",{"type":23,"value":44},"-1].",{"type":12,"tag":46,"props":47,"children":49},"validity-group",{"name":48},"Valid Usage",[50,94],{"type":12,"tag":51,"props":52,"children":54},"validity-field",{"name":53},"VUID-SMIDNV-SMIDNV-04365",[55],{"type":12,"tag":25,"props":56,"children":57},{},[58,60,65,67,72,74,80,81,87,88],{"type":23,"value":59},"The variable decorated with ",{"type":12,"tag":18,"props":61,"children":63},{"className":62},[],[64],{"type":23,"value":4},{"type":23,"value":66}," ",{"type":12,"tag":68,"props":69,"children":71},"normative",{"type":70},"must",[],{"type":23,"value":73}," be declared using the\n",{"type":12,"tag":18,"props":75,"children":77},{"className":76},[],[78],{"type":23,"value":79},"Input",{"type":23,"value":66},{"type":12,"tag":18,"props":82,"children":84},{"className":83},[],[85],{"type":23,"value":86},"Storage",{"type":23,"value":66},{"type":12,"tag":18,"props":89,"children":91},{"className":90},[],[92],{"type":23,"value":93},"Class",{"type":12,"tag":51,"props":95,"children":97},{"name":96},"VUID-SMIDNV-SMIDNV-04366",[98],{"type":12,"tag":25,"props":99,"children":100},{},[101,102,107,108,111],{"type":23,"value":59},{"type":12,"tag":18,"props":103,"children":105},{"className":104},[],[106],{"type":23,"value":4},{"type":23,"value":66},{"type":12,"tag":68,"props":109,"children":110},{"type":70},[],{"type":23,"value":112}," be declared as a scalar\n32-bit integer value",{"title":114,"searchDepth":115,"depth":115,"links":116},"",2,[],"markdown",1729612426907]