xref: /aosp_15_r20/external/mesa3d/src/freedreno/computerator/examples/invocationid.asm (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1@localsize 32, 1, 1
2@buf 32  ; g[0]
3@const(c0.x)  0.0, 0.0, 0.0, 0.0
4@const(c1.x)  1.0, 2.0, 3.0, 4.0
5@wgid(r48.x)        ; r48.xyz
6@invocationid(r0.x) ; r0.xyz
7@numwg(c2.x)        ; c2.xyz
8mov.u32u32 r0.y, r0.x
9(rpt5)nop
10stib.b.untyped.1d.u32.1.imm r0.x, r0.y, 0
11end
12nop
13
14