[{"data":1,"prerenderedAt":210},["ShallowReactive",2],{"6kdx6qPcCw":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":209,"_id":4},"TileDimensionQCOM","Tile offset of a shader invocation","builtins",[],{"type":9,"children":10,"toc":205},"root",[11,24,44,65,77],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"tiledimensionqcom",[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],{"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 applied to a shader input\nwhich will be filled with the width and height of the active tile.",{"type":12,"tag":25,"props":45,"children":46},{},[47,49,56,58,63],{"type":23,"value":48},"When ",{"type":12,"tag":50,"props":51,"children":53},"a",{"href":52},"/chapters/renderpass#renderpass-tile-shading",[54],{"type":23,"value":55},"per-tile execution model",{"type":23,"value":57}," is enabled, for\nthe current shader invocation x and y components of\n",{"type":12,"tag":18,"props":59,"children":61},{"className":60},[],[62],{"type":23,"value":4},{"type":23,"value":64}," reflect the with and height of the tile corresponding\nto the shader invocation.",{"type":12,"tag":25,"props":66,"children":67},{},[68,70,75],{"type":23,"value":69},"Otherwise, the x and y components of ",{"type":12,"tag":18,"props":71,"children":73},{"className":72},[],[74],{"type":23,"value":4},{"type":23,"value":76}," are\nfilled with (0,0).",{"type":12,"tag":78,"props":79,"children":81},"validity-group",{"name":80},"Valid Usage",[82,146,186],{"type":12,"tag":83,"props":84,"children":86},"validity-field",{"name":85},"VUID-TileDimensionQCOM-TileDimensionQCOM-10629",[87],{"type":12,"tag":25,"props":88,"children":89},{},[90,91,96,97,101,103,109,111,117,118,124,126,132,133,138,139,144],{"type":23,"value":29},{"type":12,"tag":18,"props":92,"children":94},{"className":93},[],[95],{"type":23,"value":4},{"type":23,"value":36},{"type":12,"tag":38,"props":98,"children":100},{"type":99},"must",[],{"type":23,"value":102}," be used only within the\n",{"type":12,"tag":18,"props":104,"children":106},{"className":105},[],[107],{"type":23,"value":108},"Fragment",{"type":23,"value":110}," ",{"type":12,"tag":18,"props":112,"children":114},{"className":113},[],[115],{"type":23,"value":116},"Execution",{"type":23,"value":110},{"type":12,"tag":18,"props":119,"children":121},{"className":120},[],[122],{"type":23,"value":123},"Model",{"type":23,"value":125}," or ",{"type":12,"tag":18,"props":127,"children":129},{"className":128},[],[130],{"type":23,"value":131},"GLCompute",{"type":23,"value":110},{"type":12,"tag":18,"props":134,"children":136},{"className":135},[],[137],{"type":23,"value":116},{"type":23,"value":110},{"type":12,"tag":18,"props":140,"children":142},{"className":141},[],[143],{"type":23,"value":123},{"type":23,"value":145},".",{"type":12,"tag":83,"props":147,"children":149},{"name":148},"VUID-TileDimensionQCOM-TileDimensionQCOM-10630",[150],{"type":12,"tag":25,"props":151,"children":152},{},[153,155,160,161,164,166,172,173,179,180],{"type":23,"value":154},"The variable decorated with ",{"type":12,"tag":18,"props":156,"children":158},{"className":157},[],[159],{"type":23,"value":4},{"type":23,"value":110},{"type":12,"tag":38,"props":162,"children":163},{"type":99},[],{"type":23,"value":165}," be declared\nusing the ",{"type":12,"tag":18,"props":167,"children":169},{"className":168},[],[170],{"type":23,"value":171},"Input",{"type":23,"value":110},{"type":12,"tag":18,"props":174,"children":176},{"className":175},[],[177],{"type":23,"value":178},"Storage",{"type":23,"value":110},{"type":12,"tag":18,"props":181,"children":183},{"className":182},[],[184],{"type":23,"value":185},"Class",{"type":12,"tag":83,"props":187,"children":189},{"name":188},"VUID-TileDimensionQCOM-TileDimensionQCOM-10631",[190],{"type":12,"tag":25,"props":191,"children":192},{},[193,194,199,200,203],{"type":23,"value":154},{"type":12,"tag":18,"props":195,"children":197},{"className":196},[],[198],{"type":23,"value":4},{"type":23,"value":110},{"type":12,"tag":38,"props":201,"children":202},{"type":99},[],{"type":23,"value":204}," be declared as\na two-component vector of 32-bit integer values",{"title":206,"searchDepth":207,"depth":207,"links":208},"",2,[],"markdown",1744876532541]