[{"data":1,"prerenderedAt":134},["ShallowReactive",2],{"eoondmNGpm":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":133,"_id":4},"ShaderIndexAMDX","Index assigned to the shader within the workgraph","builtins",[],{"type":9,"children":10,"toc":129},"root",[11,24,61],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"shaderindexamdx",[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,46,52,54,59],{"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 index of the shader specified when it was\ncompiled, either via\n",{"type":12,"tag":38,"props":39,"children":41},"a",{"href":40},"/man/VkPipelineShaderStageNodeCreateInfoAMDX",[42],{"type":23,"value":43},"VkPipelineShaderStageNodeCreateInfoAMDX",{"type":23,"value":45},"::",{"type":12,"tag":18,"props":47,"children":49},{"className":48},[],[50],{"type":23,"value":51},"index",{"type":23,"value":53}," or by the\n",{"type":12,"tag":18,"props":55,"children":57},{"className":56},[],[58],{"type":23,"value":4},{"type":23,"value":60}," execution mode.",{"type":12,"tag":62,"props":63,"children":65},"validity-group",{"name":64},"Valid Usage",[66,110],{"type":12,"tag":67,"props":68,"children":70},"validity-field",{"name":69},"VUID-ShaderIndexAMDX-ShaderIndexAMDX-09175",[71],{"type":12,"tag":25,"props":72,"children":73},{},[74,76,81,83,88,90,96,97,103,104],{"type":23,"value":75},"The variable decorated with ",{"type":12,"tag":18,"props":77,"children":79},{"className":78},[],[80],{"type":23,"value":4},{"type":23,"value":82}," ",{"type":12,"tag":84,"props":85,"children":87},"normative",{"type":86},"must",[],{"type":23,"value":89}," be declared using\nthe ",{"type":12,"tag":18,"props":91,"children":93},{"className":92},[],[94],{"type":23,"value":95},"Input",{"type":23,"value":82},{"type":12,"tag":18,"props":98,"children":100},{"className":99},[],[101],{"type":23,"value":102},"Storage",{"type":23,"value":82},{"type":12,"tag":18,"props":105,"children":107},{"className":106},[],[108],{"type":23,"value":109},"Class",{"type":12,"tag":67,"props":111,"children":113},{"name":112},"VUID-ShaderIndexAMDX-ShaderIndexAMDX-09176",[114],{"type":12,"tag":25,"props":115,"children":116},{},[117,118,123,124,127],{"type":23,"value":75},{"type":12,"tag":18,"props":119,"children":121},{"className":120},[],[122],{"type":23,"value":4},{"type":23,"value":82},{"type":12,"tag":84,"props":125,"children":126},{"type":86},[],{"type":23,"value":128}," be declared as a\nscalar 32-bit integer value",{"title":130,"searchDepth":131,"depth":131,"links":132},"",2,[],"markdown",1729612426991]