Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mesa
Path: blob/21.2-virgl/src/freedreno/computerator/examples/invocationid.asm
4570 views
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
8
mov.u32u32 r0.y, r0.x
9
(rpt5)nop
10
stib.b.untyped.1d.u32.1.imm r0.x, r0.y, 0
11
end
12
nop
13
14
15