freedreno/ir3: pass ctx to constant-emit code
authorRob Clark <robclark@freedesktop.org>
Tue, 1 Mar 2016 22:41:52 +0000 (17:41 -0500)
committerRob Clark <robclark@freedesktop.org>
Wed, 2 Mar 2016 00:20:44 +0000 (19:20 -0500)
commitc3f2f8cbe47a51087dcc82826bd939786c812366
tree30678904a395bc14dfe1c32af1369585fade77d3
parent5fd152bae8a765024231a7390ae48752b579a5a9
freedreno/ir3: pass ctx to constant-emit code

Rather than fishing it out of the shader.  This removes the other big
user of shader->pctx.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/freedreno/a4xx/fd4_emit.c
src/gallium/drivers/freedreno/ir3/ir3_shader.c
src/gallium/drivers/freedreno/ir3/ir3_shader.h