[{"data":1,"prerenderedAt":168},["ShallowReactive",2],{"cSvkQgleCY":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":167,"_id":4},"HelperInvocation","Indication of whether a fragment shader is a helper invocation","builtins",[],{"type":9,"children":10,"toc":163},"root",[11,24,37,54],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"helperinvocation",[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\nwill make that variable contain whether the current invocation is a helper\ninvocation.\nThis variable is non-zero if the current fragment being shaded is a helper\ninvocation and zero otherwise.\nA helper invocation is an invocation of the shader that is produced to\nsatisfy internal requirements such as the generation of derivatives.",{"type":12,"tag":38,"props":39,"children":40},"note",{},[41],{"type":12,"tag":25,"props":42,"children":43},{},[44,46,52],{"type":23,"value":45},"It is very likely that a helper invocation will have a value of\n",{"type":12,"tag":18,"props":47,"children":49},{"className":48},[],[50],{"type":23,"value":51},"SampleMask",{"type":23,"value":53}," fragment shader input value that is zero.",{"type":12,"tag":55,"props":56,"children":58},"validity-group",{"name":57},"Valid Usage",[59,104,144],{"type":12,"tag":60,"props":61,"children":63},"validity-field",{"name":62},"VUID-HelperInvocation-HelperInvocation-04239",[64],{"type":12,"tag":25,"props":65,"children":66},{},[67,69,74,76,81,83,89,91,97,98],{"type":23,"value":68},"The ",{"type":12,"tag":18,"props":70,"children":72},{"className":71},[],[73],{"type":23,"value":4},{"type":23,"value":75}," decoration ",{"type":12,"tag":77,"props":78,"children":80},"normative",{"type":79},"must",[],{"type":23,"value":82}," be used only within the\n",{"type":12,"tag":18,"props":84,"children":86},{"className":85},[],[87],{"type":23,"value":88},"Fragment",{"type":23,"value":90}," ",{"type":12,"tag":18,"props":92,"children":94},{"className":93},[],[95],{"type":23,"value":96},"Execution",{"type":23,"value":90},{"type":12,"tag":18,"props":99,"children":101},{"className":100},[],[102],{"type":23,"value":103},"Model",{"type":12,"tag":60,"props":105,"children":107},{"name":106},"VUID-HelperInvocation-HelperInvocation-04240",[108],{"type":12,"tag":25,"props":109,"children":110},{},[111,113,118,119,122,124,130,131,137,138],{"type":23,"value":112},"The variable decorated with ",{"type":12,"tag":18,"props":114,"children":116},{"className":115},[],[117],{"type":23,"value":4},{"type":23,"value":90},{"type":12,"tag":77,"props":120,"children":121},{"type":79},[],{"type":23,"value":123}," be declared\nusing the ",{"type":12,"tag":18,"props":125,"children":127},{"className":126},[],[128],{"type":23,"value":129},"Input",{"type":23,"value":90},{"type":12,"tag":18,"props":132,"children":134},{"className":133},[],[135],{"type":23,"value":136},"Storage",{"type":23,"value":90},{"type":12,"tag":18,"props":139,"children":141},{"className":140},[],[142],{"type":23,"value":143},"Class",{"type":12,"tag":60,"props":145,"children":147},{"name":146},"VUID-HelperInvocation-HelperInvocation-04241",[148],{"type":12,"tag":25,"props":149,"children":150},{},[151,152,157,158,161],{"type":23,"value":112},{"type":12,"tag":18,"props":153,"children":155},{"className":154},[],[156],{"type":23,"value":4},{"type":23,"value":90},{"type":12,"tag":77,"props":159,"children":160},{"type":79},[],{"type":23,"value":162}," be declared as a\nboolean value",{"title":164,"searchDepth":165,"depth":165,"links":166},"",2,[],"markdown",1725732531545]